summaryrefslogtreecommitdiffstats
path: root/src/main/java/xml/sampleForm.xml
blob: 3e8479a8dbbd5066e7b01114b7a93e12a3f261b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?xml version="1.0" encoding="UTF-8"?>

<!--
    Document   : sampleForm.xml
    Created on : October 21, 2004, 7:21 PM
    Author     : kitfox
    Description:
        Purpose of the document follows.
-->

<form x="0" y="0" width="640" height="480">
    <radio-group name="stoplight"/>

    <panel>
        <border-layout>
            <north>
                <label text="My Window"/>
            </north>
            <center>
                <panel>
                    <box-layout axis="y-axis">
                        <panel>
                            <flow-layout>
                                <label text="Press this button: "/>
                                <button text="Click Me!" onClick="alert('Hello there')"/>
                            </flow-layout>
                        </panel>
                        <panel>
                            <flow-layout>
                                <radio-button name="red" button-group="stoplight" text="red" selected="true"/>
                                <radio-button name="yellow" button-group="stoplight" text="yellow"/>
                                <radio-button name="green" button-group="stoplight" text="green"/>
                            </flow-layout>
                        </panel>
                    </box-layout>
                </panel>
            </center>
        </border-layout>
    </panel>

</form>