public class ToolbarPreferences.Settings extends DefaultTabPreferenceSetting
Modifier and Type | Class and Description |
---|---|
private class |
ToolbarPreferences.Settings.ActionTransferable |
private class |
ToolbarPreferences.Settings.Move |
private class |
ToolbarPreferences.Settings.SelectedListTransferHandler |
Modifier and Type | Field and Description |
---|---|
private ToolbarPreferences.ActionParametersTableModel |
actionParametersModel |
private javax.swing.JPanel |
actionParametersPanel |
private javax.swing.JTable |
actionParametersTable |
private javax.swing.JTree |
actionsTree |
private javax.swing.tree.DefaultTreeModel |
actionsTreeModel |
private javax.swing.JButton |
addButton |
private javax.swing.JButton |
downButton |
private ToolbarPreferences.Settings.Move |
moveAction |
private java.lang.String |
movingComponent |
private javax.swing.JButton |
removeButton |
private javax.swing.DefaultListModel<ToolbarPreferences.ActionDefinition> |
selected |
private javax.swing.JList<ToolbarPreferences.ActionDefinition> |
selectedList |
private javax.swing.JButton |
upButton |
Constructor and Description |
---|
Settings(javax.swing.tree.DefaultMutableTreeNode rootActionsNode)
Constructs a new
Settings . |
Modifier and Type | Method and Description |
---|---|
void |
addGui(PreferenceTabbedPane gui)
Add the GUI elements to the dialog.
|
private javax.swing.JButton |
createButton(java.lang.String name) |
java.lang.String |
getHelpContext()
Returns the help context for this preferences settings tab.
|
boolean |
ok()
Called when OK is pressed to save the setting in the preferences file.
|
private void |
updateEnabledState() |
addSubTab, addSubTab, createPreferenceTabWithScrollPane, getDescription, getIconName, getSubTab, getTabPane, getTitle, getTooltip, registerSubTab, selectSubTab
isExpert, saveBoolean, saveDouble, saveInt
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isExpert
private final ToolbarPreferences.Settings.Move moveAction
private final javax.swing.DefaultListModel<ToolbarPreferences.ActionDefinition> selected
private final javax.swing.JList<ToolbarPreferences.ActionDefinition> selectedList
private final javax.swing.tree.DefaultTreeModel actionsTreeModel
private final javax.swing.JTree actionsTree
private final ToolbarPreferences.ActionParametersTableModel actionParametersModel
private final javax.swing.JTable actionParametersTable
private javax.swing.JPanel actionParametersPanel
private final javax.swing.JButton upButton
private final javax.swing.JButton downButton
private final javax.swing.JButton removeButton
private final javax.swing.JButton addButton
private java.lang.String movingComponent
public Settings(javax.swing.tree.DefaultMutableTreeNode rootActionsNode)
Settings
.rootActionsNode
- root actions nodeprivate javax.swing.JButton createButton(java.lang.String name)
private void updateEnabledState()
public void addGui(PreferenceTabbedPane gui)
PreferenceSetting
gui
- the preferences tab panepublic boolean ok()
PreferenceSetting
true
if restart is requiredpublic java.lang.String getHelpContext()
TabPreferenceSetting
getHelpContext
in interface TabPreferenceSetting
getHelpContext
in class DefaultTabPreferenceSetting