Package jmri.jmrit.display
Interface EditorActionFactory
-
- All Superinterfaces:
JmriServiceProviderInterface
- All Known Implementing Classes:
ControlPanelEditorActionFactory,LayoutEditorActionFactory,PanelEditorActionFactory,SwitchboardEditorActionFactory
public interface EditorActionFactory extends JmriServiceProviderInterface
Factory for creatingAbstractActions that create newEditors.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.swing.AbstractActioncreateAction()Create a new action that should create a newEditor.java.lang.StringgetTitle()Get the title used for the action returned bycreateAction().
-
-
-
Method Detail
-
createAction
@Nonnull javax.swing.AbstractAction createAction()
Create a new action that should create a newEditor.- Returns:
- the action
-
getTitle
@Nonnull java.lang.String getTitle()
Get the title used for the action returned bycreateAction().- Returns:
- the title
-
-