Package net.sf.gridarta.action
Class DisplayGameObjectNamesAction<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
- java.lang.Object
-
- net.sf.gridarta.action.DisplayGameObjectNamesAction<G,A,R>
-
- All Implemented Interfaces:
EditorAction
public class DisplayGameObjectNamesAction<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> extends java.lang.Object implements EditorAction
-
-
Constructor Summary
Constructors Constructor Description DisplayGameObjectNamesAction(@NotNull ArchetypeChooserModel<G,A,R> archetypeChooserModel, @NotNull DisplayMode<G,A,R> displayMode)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddisplayGameObjectNames()Sets whether game object names are shown.voidsetAction(@NotNull javax.swing.Action action, @NotNull java.lang.String name)Sets theActioninstance for this editor action.
-
-
-
Constructor Detail
-
DisplayGameObjectNamesAction
public DisplayGameObjectNamesAction(@NotNull @NotNull ArchetypeChooserModel<G,A,R> archetypeChooserModel, @NotNull @NotNull DisplayMode<G,A,R> displayMode)Creates a new instance.
-
-
Method Detail
-
displayGameObjectNames
@ActionMethod public void displayGameObjectNames()
Sets whether game object names are shown.
-
setAction
public void setAction(@NotNull @NotNull javax.swing.Action action, @NotNull @NotNull java.lang.String name)Description copied from interface:EditorActionSets theActioninstance for this editor action.- Specified by:
setActionin interfaceEditorAction- Parameters:
action- the action instancename- the name of the action
-
-