Package jmri.util.prefs
Class JmriPreferencesActionFactory
- java.lang.Object
-
- jmri.util.prefs.JmriPreferencesActionFactory
-
- All Implemented Interfaces:
InstanceManagerAutoDefault
- Direct Known Subclasses:
AppsPreferencesActionFactory
public class JmriPreferencesActionFactory extends java.lang.Object implements InstanceManagerAutoDefault
This class provides a method to create an action that launches preferences. The default implementation provides a no-op action. Applications that have a preferences interface should install a version of this factory in the InstanceManager that provides the desired preferences action.
-
-
Constructor Summary
Constructors Constructor Description JmriPreferencesActionFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JmriAbstractAction
getCategorizedAction(java.lang.String name, java.lang.String category)
JmriAbstractAction
getCategorizedAction(java.lang.String name, java.lang.String category, java.lang.String subCategory)
JmriAbstractAction
getDefaultAction()
JmriAbstractAction
getNamedAction(java.lang.String name)
-
-
-
Constructor Detail
-
JmriPreferencesActionFactory
public JmriPreferencesActionFactory()
-
-
Method Detail
-
getDefaultAction
public JmriAbstractAction getDefaultAction()
-
getNamedAction
public JmriAbstractAction getNamedAction(java.lang.String name)
-
getCategorizedAction
public JmriAbstractAction getCategorizedAction(java.lang.String name, java.lang.String category)
-
getCategorizedAction
public JmriAbstractAction getCategorizedAction(java.lang.String name, java.lang.String category, java.lang.String subCategory)
-
-