|
Gridarta Editor
|
Action class for selecting this window. More...
Inheritance diagram for net.sf.gridarta.gui.mapdesktop.WindowAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >:
Collaboration diagram for net.sf.gridarta.gui.mapdesktop.WindowAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >:Public Member Functions | |
| void | actionPerformed (@NotNull final ActionEvent e) |
| Object | clone () |
| final void | setIndex (final int index) |
| Set the index of this action so this Action knows what Mnemonic and Accelerator to use. More... | |
| WindowAction (@NotNull final MapDesktop< G, A, R > mapDesktop, @NotNull final MapView< G, A, R > mapView, @NotNull final MapManager< G, A, R > mapManager) | |
| Create a new instance. More... | |
Private Member Functions | |
| void | updateName () |
| Updates the action's name to the current map state. More... | |
Private Attributes | |
| int | index = -1 |
| The index of this action. More... | |
| final MapDesktop< G, A, R > | mapDesktop |
| The map desktop. More... | |
| final MapManager< G, A, R > | mapManager |
| The MapManager to use. More... | |
| final MapManagerListener< G, A, R > | mapManagerListener |
| The MapManagerListener to detect closed maps. More... | |
| final MapModelListener< G, A, R > | mapModelListener |
| The MapModelListener to detect modified maps. More... | |
| final MapView< G, A, R > | mapView |
| The associated map view. More... | |
Static Private Attributes | |
| static final long | serialVersionUID = 1L |
| The serial version UID. More... | |
Action class for selecting this window.
Definition at line 45 of file WindowAction.java.
| net.sf.gridarta.gui.mapdesktop.WindowAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.WindowAction | ( | @NotNull final MapDesktop< G, A, R > | mapDesktop, |
| @NotNull final MapView< G, A, R > | mapView, | ||
| @NotNull final MapManager< G, A, R > | mapManager | ||
| ) |
Create a new instance.
| mapDesktop | the main view |
| mapView | the associated map view |
| mapManager | the map manager to use |
Definition at line 148 of file WindowAction.java.
References net.sf.gridarta.model.mapmanager.MapManager< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.addMapManagerListener(), net.sf.gridarta.gui.mapdesktop.WindowAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.mapDesktop, net.sf.gridarta.gui.mapdesktop.WindowAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.mapManager, net.sf.gridarta.gui.mapdesktop.WindowAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.mapView, and net.sf.gridarta.gui.mapdesktop.WindowAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.setIndex().
Here is the call graph for this function:| void net.sf.gridarta.gui.mapdesktop.WindowAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.actionPerformed | ( | @NotNull final ActionEvent | e | ) |
| Object net.sf.gridarta.gui.mapdesktop.WindowAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.clone | ( | ) |
Definition at line 194 of file WindowAction.java.
| final void net.sf.gridarta.gui.mapdesktop.WindowAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.setIndex | ( | final int | index | ) |
Set the index of this action so this Action knows what Mnemonic and Accelerator to use.
| index | index (with 1 for first entry) |
Definition at line 163 of file WindowAction.java.
References net.sf.gridarta.gui.mapdesktop.WindowAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.index, and net.sf.gridarta.gui.mapdesktop.WindowAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.updateName().
Referenced by net.sf.gridarta.gui.mapdesktop.MapDesktop< G, A, R >.addWindowAction(), and net.sf.gridarta.gui.mapdesktop.WindowAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.WindowAction().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Updates the action's name to the current map state.
Definition at line 178 of file WindowAction.java.
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
The index of this action.
Definition at line 73 of file WindowAction.java.
|
private |
The map desktop.
Definition at line 56 of file WindowAction.java.
|
private |
The MapManager to use.
Definition at line 68 of file WindowAction.java.
|
private |
The MapManagerListener to detect closed maps.
Definition at line 78 of file WindowAction.java.
|
private |
The MapModelListener to detect modified maps.
Definition at line 108 of file WindowAction.java.
|
private |
The associated map view.
Definition at line 62 of file WindowAction.java.
|
staticprivate |
The serial version UID.
Definition at line 50 of file WindowAction.java.