Package apps.startup
Class CreateButtonModelFactory
java.lang.Object
jmri.util.startup.AbstractActionModelFactory
apps.startup.CreateButtonModelFactory
- All Implemented Interfaces:
JmriServiceProviderInterface,StartupModelFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the message text for the dialog created inAbstractActionModelFactory.editModel(StartupModel, java.awt.Component).Class<? extends StartupModel>Get theClassthat is generated by this factory.newModel()Create a new instance of the model.Methods inherited from class jmri.util.startup.AbstractActionModelFactory
editModel, getActionText, getDescription, initialize
-
Constructor Details
-
CreateButtonModelFactory
public CreateButtonModelFactory()
-
-
Method Details
-
getModelClass
Description copied from interface:StartupModelFactoryGet theClassthat is generated by this factory. The Class must be a subclass ofStartupModel.- Returns:
- The class this factory generates.
-
newModel
Description copied from interface:StartupModelFactoryCreate a new instance of the model.- Returns:
- the new instance
-
getEditModelMessage
Description copied from class:AbstractActionModelFactoryGet the message text for the dialog created inAbstractActionModelFactory.editModel(StartupModel, java.awt.Component).- Specified by:
getEditModelMessagein classAbstractActionModelFactory- Returns:
- the message text
-