Package apps.gui3.tabbedpreferences
Class TabbedPreferencesAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- jmri.util.swing.JmriAbstractAction
-
- apps.gui3.tabbedpreferences.TabbedPreferencesAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
- Direct Known Subclasses:
TabbedPreferencesProfileAction
public class TabbedPreferencesAction extends JmriAbstractAction
Action launches the tabbed preferences window. TheTabbedPreferencesFrame
object is requested from the InstanceManager, and if need-be created and initialized in the process of doing that.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.String
preferencesItem
(package private) java.lang.String
preferenceSubCat
-
Fields inherited from class jmri.util.swing.JmriAbstractAction
context, hint, wi
-
-
Constructor Summary
Constructors Constructor Description TabbedPreferencesAction()
TabbedPreferencesAction(java.lang.String s)
TabbedPreferencesAction(java.lang.String s, java.lang.String category)
TabbedPreferencesAction(java.lang.String s, java.lang.String category, java.lang.String subCategory)
Create an action with a specific title.TabbedPreferencesAction(java.lang.String s, javax.swing.Icon i, WindowInterface wi)
TabbedPreferencesAction(java.lang.String s, javax.swing.Icon i, WindowInterface wi, java.lang.String category)
TabbedPreferencesAction(java.lang.String s, WindowInterface wi)
TabbedPreferencesAction(java.lang.String s, WindowInterface wi, java.lang.String category, java.lang.String subCategory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed()
void
actionPerformed(java.awt.event.ActionEvent e)
(package private) java.lang.String
helpTarget()
JmriPanel
makePanel()
(package private) void
setTitle()
-
Methods inherited from class jmri.util.swing.JmriAbstractAction
dispose, setContext, setHint, setName, setParameter, setParameter, setWindowInterface, toString
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Field Detail
-
preferencesItem
java.lang.String preferencesItem
-
preferenceSubCat
java.lang.String preferenceSubCat
-
-
Constructor Detail
-
TabbedPreferencesAction
public TabbedPreferencesAction(java.lang.String s, java.lang.String category, java.lang.String subCategory)
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
public TabbedPreferencesAction(java.lang.String s, java.lang.String category)
-
TabbedPreferencesAction
public TabbedPreferencesAction(java.lang.String s)
-
TabbedPreferencesAction
public TabbedPreferencesAction()
-
TabbedPreferencesAction
public TabbedPreferencesAction(java.lang.String s, WindowInterface wi)
-
TabbedPreferencesAction
public TabbedPreferencesAction(java.lang.String s, javax.swing.Icon i, WindowInterface wi)
-
TabbedPreferencesAction
public TabbedPreferencesAction(java.lang.String s, WindowInterface wi, java.lang.String category, java.lang.String subCategory)
-
TabbedPreferencesAction
public TabbedPreferencesAction(java.lang.String s, javax.swing.Icon i, WindowInterface wi, java.lang.String category)
-
-
Method Detail
-
actionPerformed
public final void actionPerformed()
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interfacejava.awt.event.ActionListener
- Overrides:
actionPerformed
in classJmriAbstractAction
-
setTitle
void setTitle()
-
helpTarget
java.lang.String helpTarget()
-
makePanel
public JmriPanel makePanel()
- Specified by:
makePanel
in classJmriAbstractAction
-
-