Java Reference
In-Depth Information
text:"Programmer"
toggleGroup:
rdoBtns
id:"pgmr"}
RadioButton
{
text:"Manager"
toggleGroup:
rdoBtns
id:"mngr"}
RadioButton
{
text:"Janitor"
toggleGroup:
rdoBtns
id:"gntr"}
]
}
]
}
var
attndRow
= HBox {spacing:7
nodeVPos:VPos.CENTER
content:[
CheckBox
{id:"isattnd" text:"Mark as Attendee"}]
}
var
btnRow
= HBox {
spacing:7
content:[
Button
{
text:"Submit"
action:function(){
// display data
}
}
Button
{text:"Clear"}
]
}
// form panel to display it all
def
panel
= VBox { spacing:5
content: [
nameRow
,
addr1Row
,
addr2Row
,
titleRow
,
attndRow
,
btnRow
]
}