Package apps
Class CreateButtonModel
- java.lang.Object
-
- jmri.util.startup.AbstractActionModel
-
- apps.CreateButtonModel
-
- All Implemented Interfaces:
StartupModel
public class CreateButtonModel extends AbstractActionModel
Creates a button 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:
CreateButtonModelFactory
-
-
Constructor Summary
Constructors Constructor Description CreateButtonModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
performAction(javax.swing.Action action)
-
Methods inherited from class jmri.util.startup.AbstractActionModel
addException, getClassName, getExceptions, getName, getSystemPrefix, isEnabled, isSystemConnectionAction, isValid, performAction, setClassName, setEnabled, setName, setSystemPrefix, toString
-
-
-
-
Constructor Detail
-
CreateButtonModel
public CreateButtonModel()
-
-
Method Detail
-
performAction
protected void performAction(javax.swing.Action action) throws JmriException
- Specified by:
performAction
in classAbstractActionModel
- Throws:
JmriException
-
-