public class ReleaseDragAction<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> extends AbstractMapCursorAction<G,A,R> implements EditorAction
EditorAction that finishes a selection process when the mouse
button is released.| Constructor and Description |
|---|
ReleaseDragAction() |
| Modifier and Type | Method and Description |
|---|---|
void |
releaseDrag()
Action method for "release drag".
|
void |
setAction(javax.swing.Action action,
java.lang.String name)
Sets the
Action instance for this editor action. |
protected void |
updateAction()
Called whenever the current map cursor has changed.
|
activeMapViewChanged, getActiveMapCursor, getActiveMapView, mapCursorChangedGameObject, mapCursorChangedMode, mapCursorChangedPos, mapCursorChangedSize, mapViewClosing, mapViewCreatedpublic void setAction(@NotNull
javax.swing.Action action,
@NotNull
java.lang.String name)
Action instance for this editor action.setAction in interface EditorActionaction - the action instancename - the name of the action@ActionMethod public void releaseDrag()
protected void updateAction()
updateAction in class AbstractMapCursorAction<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>