Class SwitchboardEditorActionFactory
- java.lang.Object
-
- jmri.jmrit.display.switchboardEditor.SwitchboardEditorActionFactory
-
- All Implemented Interfaces:
EditorActionFactory
,JmriServiceProviderInterface
public final class SwitchboardEditorActionFactory extends java.lang.Object implements EditorActionFactory
-
-
Constructor Summary
Constructors Constructor Description SwitchboardEditorActionFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.AbstractAction
createAction()
Create a new action that should create a newEditor
.java.lang.String
getTitle()
Get the title used for the action returned byEditorActionFactory.createAction()
.
-
-
-
Constructor Detail
-
SwitchboardEditorActionFactory
public SwitchboardEditorActionFactory()
-
-
Method Detail
-
createAction
public javax.swing.AbstractAction createAction()
Description copied from interface:EditorActionFactory
Create a new action that should create a newEditor
.- Specified by:
createAction
in interfaceEditorActionFactory
- Returns:
- the action
-
getTitle
@Nonnull public java.lang.String getTitle()
Description copied from interface:EditorActionFactory
Get the title used for the action returned byEditorActionFactory.createAction()
.- Specified by:
getTitle
in interfaceEditorActionFactory
- Returns:
- the title
-
-