Package apps.startup
Class ScriptButtonModel
java.lang.Object
jmri.util.startup.AbstractStartupModel
apps.startup.ScriptButtonModel
- All Implemented Interfaces:
StartupModel
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class jmri.util.startup.AbstractStartupModel
addException, getExceptions, getName, isEnabled, isValid, setEnabled, setName
-
Constructor Details
-
ScriptButtonModel
public ScriptButtonModel()
-
-
Method Details
-
getScript
-
setScript
-
toString
- Overrides:
toStringin classAbstractStartupModel
-
performAction
Description copied from interface:StartupModelPerform the startup action. The caller is responsible to ensure that this startup model is enabled before calling this method.- Throws:
JmriException- if there is an exception thrown initializing the startup item; the original exception should be available asThrowable.getCause()
-