[591] | 1 | JFrame:
|
---|
| 2 | name: frame
|
---|
| 3 | title: frame.title
|
---|
| 4 | size: 800x600
|
---|
| 5 | minimumSize: 400x300
|
---|
| 6 | locationRelativeTo: null
|
---|
| 7 | defaultCloseOperation: doNothingOnClose
|
---|
[592] | 8 | onWindowOpened: [execDepotUpdate,checkUpdates,focus]
|
---|
[591] | 9 | onWindowClosing: [$confirm,closeFrames,saveLocalData,exit]
|
---|
| 10 | iconImage: img.kdt
|
---|
| 11 | content:
|
---|
| 12 | - Action(name=exitAction, text=menu.exit, toolTipText=menu.exitTooltip, icon=img.exit, onAction=[$confirm,closeFrames,saveLocalData,exit])
|
---|
| 13 | - Action(name=settings, text=menu.settings, toolTipText=menu.settingsTooltip, icon=img.settings, onAction=[showSettings])
|
---|
| 14 | - JMenuBar:
|
---|
| 15 | - JMenu(name=fileMenu, text=menu.file):
|
---|
| 16 | - JMenuItem(action=settings)
|
---|
| 17 | - JMenuItem(action=exitAction)
|
---|
| 18 | - JToolBar(name=tools, floatable=false, orientation=0):
|
---|
| 19 | - JButton(action=exitAction, hideActionText=true)
|
---|
| 20 | - JToolBarSeparator()
|
---|
| 21 | - JButton(action=settings, hideActionText=true)
|
---|
[592] | 22 | - JSplitPane(name=contents, orientation=horizontalSplit, continuousLayout=true):
|
---|
[591] | 23 | - JPanel(name=panMods):
|
---|
| 24 | - JLabel(name=lblModTypes, text=lblModTypes.text)
|
---|
| 25 | - JComboBox(name=cmbModTypes, onAction=modTypeSelection)
|
---|
| 26 | - JScrollPane(name=scrollMods, vScrollBar=always, hScrollBar=never):
|
---|
[592] | 27 | JTable(name=tblMods, visible=false)
|
---|
[591] | 28 | - MigLayout: |
|
---|
| 29 | [grow]
|
---|
| 30 | lblModTypes<,cmbModTypes [min]
|
---|
| 31 | scrollMods [grow]
|
---|
[592] | 32 | - JPanel(name=panInfo):
|
---|
| 33 | - JLabel(name=lblSubmitter, text=lblSubmitter.text)
|
---|
| 34 | - JLabel(name=lblSubmitterVal)
|
---|
| 35 | - JLabel(name=lblCreator, text=lblCreator.text)
|
---|
| 36 | - JLabel(name=lblCreatorVal)
|
---|
| 37 | - JLabel(name=lblId, text=lblId.text)
|
---|
| 38 | - JLabel(name=lblIdVal)
|
---|
| 39 | - JLabel(name=lblFiles, text=lblFiles.text)
|
---|
| 40 | - JLabel(name=lblFilesVal)
|
---|
| 41 | - JLabel(name=lblDescription, text=lblDescription.text)
|
---|
| 42 | - JScrollPane(name=scrollDescription, vScrollBar=always, hScrollBar=asNeeded):
|
---|
| 43 | HTMLLinkLabel(name=lblDescriptionVal)
|
---|
| 44 | - MigLayout: |
|
---|
| 45 | [min] [grow]
|
---|
| 46 | >lblSubmitter lblSubmitterVal [min]
|
---|
| 47 | >lblCreator lblCreatorVal [min]
|
---|
| 48 | >lblId lblIdVal [min]
|
---|
| 49 | >lblFiles lblFilesVal [min]
|
---|
| 50 | >^lblDescription scrollDescription [grow]
|
---|
[591] | 51 | - MigLayout:
|
---|
| 52 | layoutConstraints: wrap 1
|
---|
| 53 | columnConstraints: grow
|
---|
| 54 | rowConstraints: grow
|
---|
| 55 | constraints:
|
---|
| 56 | - tools: dock north
|
---|
| 57 | - contents: grow
|
---|