Package jmri.util.startup
Class PerformActionModel
java.lang.Object
jmri.util.startup.AbstractActionModel
jmri.util.startup.PerformActionModel
- All Implemented Interfaces:
StartupModel
Invokes a Swing Action when the program is started.
The list of actions available is defined in the AbstractActionModel
superclass.
This is a separate class, even though it has no additional behavior, so that persistence systems realize the type of data being stored.
This class remains in the apps package for historical reasons related
to preferences storage.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class jmri.util.startup.AbstractActionModel
addException, getClassName, getExceptions, getName, getSystemPrefix, isEnabled, isSystemConnectionAction, isValid, performAction, setClassName, setEnabled, setName, setSystemPrefix, toString
-
Constructor Details
-
PerformActionModel
public PerformActionModel()
-
-
Method Details
-
performAction
- Specified by:
performActionin classAbstractActionModel- Throws:
JmriException
-