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.AbstractActioncreateAction()Create a new action that should create a newEditor.java.lang.StringgetTitle()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:EditorActionFactoryCreate a new action that should create a newEditor.- Specified by:
createActionin interfaceEditorActionFactory- Returns:
- the action
-
getTitle
@Nonnull public java.lang.String getTitle()
Description copied from interface:EditorActionFactoryGet the title used for the action returned byEditorActionFactory.createAction().- Specified by:
getTitlein interfaceEditorActionFactory- Returns:
- the title
-
-