| /trunk/org.javabuilders.swing/samples/org/javabuilders/swing/samples/MigLayoutPanel1.yaml r546 | /trunk/org.javabuilders.swing/samples/org/javabuilders/swing/samples/MigLayoutPanel1.yaml r642 | ||
| 1 | JPanel: | 1 | JPanel: |
|---|---|---|---|
| 2 | - JSplitPane(name=split1): | 2 | - JSplitPane(name=split1): |
| 3 | - JPanel(name=rulePanel): | 3 | - JPanel(name=rulePanel): |
| 4 | - JLabel(name=nameLabel, text=Name) | 4 | - JLabel(name=nameLabel, text=Name) |
| 5 | - JTextField(name=nameTextField) | 5 | - JTextField(name=nameTextField, text=An example of MigLayout in debug mode) |
| 6 | - JLabel(name=iteratorTypeLabel, text=Iterator Type) | 6 | - JLabel(name=iteratorTypeLabel, text=Iterator Type) |
| 7 | - JTextField(name=iteratorTypeTextField) | 7 | - JTextField(name=iteratorTypeTextField) |
| 8 | - JLabel(name=abstractLabel, text=Abstract) | 8 | - JLabel(name=abstractLabel, text=Abstract) |
| 9 | - JCheckBox(name=abstractCheckBox, text=" ") | 9 | - JCheckBox(name=abstractCheckBox, text=" ") |
| 10 | - JLabel(name=inheritsLabel, text=Inherits) | 10 | - JLabel(name=inheritsLabel, text=Inherits) |
| 11 | - JTextField(name=inheritsTextField) | 11 | - JTextField(name=inheritsTextField) |
| 12 | - JLabel(name=beanLabel, text=Bean) | 12 | - JLabel(name=beanLabel, text=Bean) |
| 13 | - JTextField(name=beanTextField) | 13 | - JTextField(name=beanTextField) |
| 14 | - JBSeparator(name=parentReferences,text=Parent References) | 14 | - JBSeparator(name=parentReferences,text=Parent References) |
| 15 | - JScrollPane(name=scrollPane): JList(name=parentRefList) | 15 | - JScrollPane(name=scrollPane): JList(name=parentRefList) |
| 16 | - JButton(name=addParentButton, text=Add Parent) | 16 | - JButton(name=addParentButton, text=Add Parent) |
| 17 | - JButton(name=deleteParentButton, text=Delete Parent) | 17 | - JButton(name=deleteParentButton, text=Delete Parent) |
| 18 | - JButton(name=moveUpButton, text=Move Up) | 18 | - JButton(name=moveUpButton, text=Move Up) |
| 19 | - JButton(name=moveDownButton, text=Move Down) | 19 | - JButton(name=moveDownButton, text=Move Down) |
| 20 | - JBSeparator(name=childReferences,text=Child References) | 20 | - JBSeparator(name=childReferences,text=Child References) |
| 21 | - JScrollPane(name=childRefScroll): JList(name=childRefList) | 21 | - JScrollPane(name=childRefScroll): JList(name=childRefList) |
| 22 | - JButton(name=addChildButton, text=Add Parent) | 22 | - JButton(name=addChildButton, text=Add Parent) |
| 23 | - JButton(name=deleteChildButton, text=Delete Parent) | 23 | - JButton(name=deleteChildButton, text=Delete Parent) |
| 24 | - JButton(name=moveChildUpButton, text=Move Up) | 24 | - JButton(name=moveChildUpButton, text=Move Up) |
| 25 | - JButton(name=moveChildDownButton, text=Move Down) | 25 | - JButton(name=moveChildDownButton, text=Move Down) |
| 26 | - JButton(name=dependentsButton, text=Dependents) | 26 | - JButton(name=dependentsButton, text=Dependents) |
| 27 | - JButton(name=saveButton, text=Save) | 27 | - JButton(name=saveButton, text=Save) |
| 28 | - JButton(name=cancelButton, text=Cancel) | 28 | - JButton(name=cancelButton, text=Cancel) |
| 29 | - MigLayout: | | 29 | - MigLayout: | |
| 30 | [[debug]] | ||
| 30 | [] [grow] [pref] [grow] | 31 | [] [grow] [pref] [grow] |
| 31 | nameLabel nameTextField+* | 32 | nameLabel nameTextField+* |
| 32 | iteratorTypeLabel iteratorTypeTextField=1 abstractLabel abstractCheckBox | 33 | iteratorTypeLabel iteratorTypeTextField=1 abstractLabel abstractCheckBox |
| 33 | inheritsLabel inheritsTextField=1 beanLabel beanTextField=1 | 34 | inheritsLabel inheritsTextField=1 beanLabel beanTextField=1 |
| 34 | parentReferences+* | 35 | parentReferences+* |
| 35 | scrollPane+* [grow,200px] | 36 | scrollPane+* [grow,200px] |
| 36 | |addParentButton+*=2,deleteParentButton=2,moveUpButton=2,moveDownButton=2 | 37 | |addParentButton+*=2,deleteParentButton=2,moveUpButton=2,moveDownButton=2 |
| 37 | childReferences+* | 38 | childReferences+* |
| 38 | childRefScroll+* [grow,200px] | 39 | childRefScroll+* [grow,200px] |
| 39 | |addChildButton+*=3,deleteChildButton=3,moveChildUpButton=3,moveChildDownButton=3 [] 16lp | 40 | |addChildButton+*=3,deleteChildButton=3,moveChildUpButton=3,moveChildDownButton=3 [] 16lp |
| 40 | |dependentsButton+*,saveButton=4,cancelButton=4 | 41 | |dependentsButton+*=4,saveButton=4,cancelButton=4 |
| 41 | - JPanel(name=sourcePanel): | 42 | - JPanel(name=sourcePanel): |
| 42 | - JLabel(name=sourceLabel,text="YAML source:") | 43 | - JLabel(name=sourceLabel,text="YAML source:") |
| 43 | - JScrollPane(name=scrollSource): JTextArea(name=source,editable=false,font=Monospaced) | 44 | - JScrollPane(name=scrollSource): JTextArea(name=source,editable=false,font=Monospaced) |
| 44 | - MigLayout: | | 45 | - MigLayout: | |
| 45 | [grow] | 46 | [grow] |
| 46 | sourceLabel | 47 | sourceLabel |
| 47 | scrollSource [grow] | 48 | scrollSource [grow] |
| 48 | - MigLayout: | | 49 | - MigLayout: | |
| 49 | [grow] | 50 | [grow] |
| 50 | split1 [grow] | 51 | split1 [grow] |
| 51 | bind: | 52 | bind: |
| 52 | - source.text: this.yaml | 53 | - source.text: this.yaml |