Package apps.gui3.tabbedpreferences
Class TabbedPreferencesAction
java.lang.Object
javax.swing.AbstractAction
jmri.util.swing.JmriAbstractAction
apps.gui3.tabbedpreferences.TabbedPreferencesAction
- All Implemented Interfaces:
ActionListener,Serializable,Cloneable,EventListener,Action
- Direct Known Subclasses:
TabbedPreferencesProfileAction
Action launches the tabbed preferences window.
The
TabbedPreferencesFrame object is requested from the InstanceManager, and
if need-be created and initialized in the process of doing that.- See Also:
-
Field Summary
FieldsFields inherited from class jmri.util.swing.JmriAbstractAction
context, hint, wiFields inherited from class javax.swing.AbstractAction
changeSupport, enabledFields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON -
Constructor Summary
ConstructorsConstructorDescriptionTabbedPreferencesAction(String s, String category) TabbedPreferencesAction(String s, String category, String subCategory) Create an action with a specific title.TabbedPreferencesAction(String s, Icon i, WindowInterface wi) TabbedPreferencesAction(String s, Icon i, WindowInterface wi, String category) TabbedPreferencesAction(String s, WindowInterface wi, String category, String subCategory) -
Method Summary
Methods inherited from class jmri.util.swing.JmriAbstractAction
dispose, setContext, setHint, setName, setParameter, setParameter, setWindowInterface, toStringMethods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Field Details
-
preferencesItem
-
preferenceSubCat
-
-
Constructor Details
-
TabbedPreferencesAction
Create an action with a specific title.Note that the argument is the Action title, not the title of the resulting frame. Perhaps this should be changed?
- Parameters:
s- action titlecategory- action categorysubCategory- action sub-category
-
TabbedPreferencesAction
-
TabbedPreferencesAction
-
TabbedPreferencesAction
public TabbedPreferencesAction() -
TabbedPreferencesAction
-
TabbedPreferencesAction
-
TabbedPreferencesAction
-
TabbedPreferencesAction
-
-
Method Details
-
actionPerformed
-
actionPerformed
- Specified by:
actionPerformedin interfaceActionListener- Overrides:
actionPerformedin classJmriAbstractAction
-
setTitle
void setTitle() -
helpTarget
-
makePanel
- Specified by:
makePanelin classJmriAbstractAction
-