|
Gridarta Editor
|
An EditorAction that selects the game object above the current game object. More...
Inheritance diagram for net.sf.gridarta.action.SelectArchAboveAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >:
Collaboration diagram for net.sf.gridarta.action.SelectArchAboveAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >:Public Member Functions | |
| void | selectArchAbove () |
| Action method for "select arch above". More... | |
| void | setAction (@NotNull final Action action, @NotNull final String name) |
| Sets the Action instance for this editor action. More... | |
Public Member Functions inherited from net.sf.gridarta.action.AbstractMapCursorAction< G, A, R > | |
| void | activeMapViewChanged ( @Nullable final MapView< G, A, R > mapView) |
| This event handler is called when the current map view has changed. More... | |
| void | mapCursorChangedGameObject ( @Nullable final MapSquare< G, A, R > mapSquare, @Nullable final G gameObject) |
| NoopMethodInAbstractClass More... | |
| void | mapCursorChangedMode () |
| This event handler is called when MapCursor changes mode (drag, select). More... | |
| void | mapCursorChangedPos ( @NotNull final Point location) |
| This event handler is called when MapCursor has moved. More... | |
| void | mapCursorChangedSize () |
| NoopMethodInAbstractClass More... | |
| void | mapViewClosing ( @NotNull final MapView< G, A, R > mapView) |
| NoopMethodInAbstractClass More... | |
| void | mapViewCreated ( @NotNull final MapView< G, A, R > mapView) |
| NoopMethodInAbstractClass More... | |
Protected Member Functions | |
| void | updateAction () |
Protected Member Functions inherited from net.sf.gridarta.action.AbstractMapCursorAction< G, A, R > | |
| MapCursor< G, A, R > | getActiveMapCursor () |
| Return the map cursor of the current map view if it is active. More... | |
| MapView< G, A, R > | getActiveMapView () |
| Return the current map view. More... | |
| abstract void | updateAction () |
| Called whenever the current map cursor has changed. More... | |
Private Member Functions | |
| boolean | doSelectArchAbove (final boolean performAction) |
| Executes the "select arch above" action. More... | |
Private Attributes | |
| Action | action |
| The Action associated with this editor action. More... | |
An EditorAction that selects the game object above the current game object.
Definition at line 37 of file SelectArchAboveAction.java.
|
private |
Executes the "select arch above" action.
| performAction | whether the action should be performed |
Definition at line 64 of file SelectArchAboveAction.java.
References net.sf.gridarta.action.AbstractMapCursorAction< G, A, R >.getActiveMapCursor(), and net.sf.gridarta.model.mapcursor.MapCursor< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.selectAbove().
Referenced by net.sf.gridarta.action.SelectArchAboveAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.selectArchAbove(), and net.sf.gridarta.action.SelectArchAboveAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.updateAction().
Here is the call graph for this function:
Here is the caller graph for this function:| void net.sf.gridarta.action.SelectArchAboveAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.selectArchAbove | ( | ) |
Action method for "select arch above".
Definition at line 55 of file SelectArchAboveAction.java.
Here is the call graph for this function:| void net.sf.gridarta.action.SelectArchAboveAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.setAction | ( | @NotNull final Action | action, |
| @NotNull final String | name | ||
| ) |
Sets the Action instance for this editor action.
| action | the action instance |
| name | the name of the action |
Implements net.sf.gridarta.utils.EditorAction.
Definition at line 47 of file SelectArchAboveAction.java.
|
protected |
|
private |
The Action associated with this editor action.
Set to
if no action is associated.
Definition at line 44 of file SelectArchAboveAction.java.