public class WindowAction<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
extends javax.swing.AbstractAction
Constructor and Description |
---|
WindowAction(MapDesktop<G,A,R> mapDesktop,
MapView<G,A,R> mapView,
MapManager<G,A,R> mapManager)
Create a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
java.lang.Object |
clone() |
void |
setIndex(int index)
Set the index of this action so this Action knows what Mnemonic and
Accelerator to use.
|
public final void setIndex(int index)
index
- index (with 1 for first entry)public void actionPerformed(@NotNull java.awt.event.ActionEvent e)
@NotNull public java.lang.Object clone()
clone
in class javax.swing.AbstractAction