blob: 73c13c080de90c7de363ed5bc837cd6f5e01f7b4 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to you under the Apache License,
Version 2.0 (the "License"); you may not use this file except in
compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<Form styles="{fill:true}"
xmlns:bxml="http://pivot.apache.org/bxml"
xmlns:content="org.apache.pivot.wtk.content"
xmlns="org.apache.pivot.wtk">
<Form.Section heading="Test Section">
<Label Form.label="ABCD" text="Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an AS IS BASIS..."
styles="{wrapText:true}"/>
</Form.Section>
<Form.Section heading="Test Section">
<Label Form.label="ABCD" text="Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an AS IS BASIS..."
styles="{wrapText:true}"/>
</Form.Section>
<Form.Section heading="Test Section">
<TextInput Form.label="Text Input Field"
Form.Flag="{messageType:'error', message:'Error message'}"
text="Some sample text"/>
<Checkbox Form.label="Checkbox" buttonData="Bell"/>
<LinkButton Form.label="LinkButton" buttonData="Previous"/>
<RadioButton Form.label="RadioButton" buttonData="Crossfade" selected="true"/>
<ListButton Form.label="ListButton" listData="['10e0.csv', '10e1.csv', '10e2.csv', '10e3.csv', '10e4.csv', '10e5.csv']" selectedIndex="0"/>
<PushButton Form.label="PushButton" buttonData="Copy"/>
<Spinner Form.label="Spinner" selectedIndex="0">
<content:NumericSpinnerData lowerBound="0" upperBound="9" increment="1"/>
</Spinner>
<Border Form.label="ListView"
Form.Flag="{messageType:'error', message:'Error message'}">
<ScrollPane horizontalScrollBarPolicy="fill_to_capacity">
<ListView listData="['Item 1', 'Item 2', 'Item 3', 'Item 4', 'Item 5']"/>
</ScrollPane>
</Border>
<FlowPane Form.label="FlowPane"
styles="{horizontalSpacing:4, alignToBaseline:true}">
<TextInput text=""/>
<Label text="(optional)"/>
</FlowPane>
<TablePane Form.label="TablePane"
styles="{padding:{top:8}, horizontalSpacing:12, verticalSpacing:6}">
<columns>
<TablePane.Column/>
<TablePane.Column width="1*"/>
</columns>
<TablePane.Row>
<Label text="Left 1"/>
<Label text="Right 1"/>
</TablePane.Row>
<TablePane.Row>
<Label text="Long Left 2"/>
<Label text="Right 2"/>
</TablePane.Row>
</TablePane>
</Form.Section>
</Form>