| Changes to /trunk/org.javabuilders.swing/samples/org/javabuilders/swing/samples/TestFrame.yaml |
r0 vs. r755
Edit
|
r755
|
| /trunk/org.javabuilders.swing/samples/org/javabuilders/swing/samples/TestFrame.yaml | /trunk/org.javabuilders.swing/samples/org/javabuilders/swing/samples/TestFrame.yaml r755 | ||
| 1 | JFrame: | ||
|---|---|---|---|
| 2 | title: frame.title | ||
| 3 | content: | ||
| 4 | - JPanel: | ||
| 5 | content: | ||
| 6 | - JBSeparator: {name: sepName, text: header.name} | ||
| 7 | - JLabel: {name: fNameLabel, text: label.firstName} | ||
| 8 | - JTextField: {name: fNameField, onFocus: onFirstNameFocus, onFocusLost: onFirstNameFocusLost} | ||
| 9 | - JLabel: {name: lNameLabel, text: label.lastName} | ||
| 10 | - JTextField: {name: lNameField, onKeyPressed: onLastNameKeyPressed, onKeyReleased: onLastNameKeyReleased} | ||
| 11 | - JLabel: {name: titleLabel, text: label.title} | ||
| 12 | - JTextField: {name: titleField, onKeyTyped: onTitleKeyTyped} | ||
| 13 | - JLabel: {name: dfLabel, text: label.displayFormat} | ||
| 14 | - JComboBox: {name: dfCombo} | ||
| 15 | - JLabel: {name: nickLabel, text: label.nickname} | ||
| 16 | - JTextField: {name: nickField, onMouseClicked: onMouseClicked, onMouseDoubleClicked: onMouseDoubleClicked, onMouseRightClicked: onMouseRightClicked} | ||
| 17 | - JBSeparator: {name: sepList, text: header.list} | ||
| 18 | - JLabel: {name: labelEmail, text: label.email} | ||
| 19 | - JTextField: {name: fieldEmail} | ||
| 20 | - JList: {name: textArea} | ||
| 21 | - JButton: {name: addButton, text: button.add, actionCommand: add } | ||
| 22 | - JButton: {name: deleteButton, text: button.delete, actionCommand: delete} | ||
| 23 | - JButton: {name: editButton, text: button.edit, onAction: edit} | ||
| 24 | - JButton: {name: advancedButton, text: button.advanced, actionCommand: advanced} | ||
| 25 | - JButton: {name: okButton, text: button.ok, onAction: save} | ||
| 26 | - JButton: {name: cancelButton, text: button.cancel, onAction: cancel} | ||
| 27 | - JLabel: {name: statusLabel, text: " "} | ||
| 28 | layout: | | ||
| 29 | [pref] [grow] [grow] [pref] | ||
| 30 | sepName+* | ||
| 31 | >fNameLabel fNameField=1 >lNameLabel lNameField+2=1 | ||
| 32 | >titleLabel titleField=1 >nickLabel nickField+2=1 | ||
| 33 | >dfLabel dfCombo+* | ||
| 34 | sepList+* | ||
| 35 | >labelEmail fieldEmail+3 addButton+1+4=3 | ||
| 36 | textArea+4+3 editButton=3 [grow] | ||
| 37 | deleteButton=3 | ||
| 38 | advancedButton=3 | ||
| 39 | >okButton+*=2,cancelButton=2 | ||
| 40 | statusLabel+* | ||