public class ZoomAction<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> extends java.lang.Object implements EditorAction
Constructor and Description |
---|
ZoomAction(MapManager<G,A,R> mapManager,
RendererFactory<G,A,R> rendererFactory,
java.awt.Component parent)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
setAction(javax.swing.Action action,
java.lang.String name)
Sets the
Action instance for this editor action. |
void |
zoom()
The action method for "zoom".
|
public ZoomAction(@NotNull MapManager<G,A,R> mapManager, @NotNull RendererFactory<G,A,R> rendererFactory, @NotNull java.awt.Component parent)
@ActionMethod public void zoom()
public void setAction(@NotNull javax.swing.Action action, @NotNull java.lang.String name)
Action
instance for this editor action.setAction
in interface EditorAction
action
- the action instancename
- the name of the action