blob: 9038156579919be525021e5ed6468e347542781f [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed 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.
-->
<TablePane styles="{padding:6, horizontalSpacing:8, verticalSpacing:8}"
xmlns:bxml="http://pivot.apache.org/bxml"
xmlns="org.apache.pivot.wtk">
<columns>
<TablePane.Column width="-1"/>
<TablePane.Column width="-1"/>
<TablePane.Column width="-1"/>
<TablePane.Column width="-1"/>
</columns>
<TablePane.Row height="-1">
<Label text="float"/>
<TextInput bxml:id="textinputFloatRange"/>
<Label text="valid range: 0.3 .. 2000"/>
<Label bxml:id="invalidLabel"/>
</TablePane.Row>
<TablePane.Row height="-1">
<Label text="int"/>
<TextInput bxml:id="textinputIntRange"/>
<Label text="valid range: 0 .. 100"/>
</TablePane.Row>
<TablePane.Row height="-1">
<Label text="date regex"/>
<TextInput bxml:id="textinputDateRegex"/>
<Label text="valid format: yyyy-mm-dd"/>
</TablePane.Row>
<TablePane.Row height="-1">
<Label text="custom boolean"/>
<TextInput bxml:id="textinputCustomBoolean"/>
<Label text="valid values: true, false"/>
</TablePane.Row>
<TablePane.Row height="-1">
<Label text="not empty text"/>
<TextInput bxml:id="textinputNotEmptyText"/>
<Label text="valid values: any not empty text (note that it will be trimmed)"
styles="{wrapText:true}"
/>
</TablePane.Row>
</TablePane>