|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.maryanovsky.map.client.actions.MapAction<T>
public abstract class MapAction<T>
A convenience base class for all map actions. The class is parameterized with the type of gesture event source for the gesture the action is triggered by.
Field Summary | |
---|---|
protected boolean |
isAnimated
Whether whatever transition the action applies should be animated. |
protected MapWidget |
mapWidget
The map widget this action affects. |
Constructor Summary | |
---|---|
MapAction(MapWidget mapWidget)
Creates a new MapAction that will act on the specified map
widget. |
|
MapAction(MapWidget mapWidget,
boolean isAnimated)
Creates a new MapAction that will act on the specified map
widget with possibly animated transitions. |
Method Summary | |
---|---|
abstract HandlerRegistration |
registerWith(T gestureRecognizer)
Registers this action as a handler for the gesture it is triggered by. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final MapWidget mapWidget
protected final boolean isAnimated
Constructor Detail |
---|
public MapAction(MapWidget mapWidget)
MapAction
that will act on the specified map
widget.
public MapAction(MapWidget mapWidget, boolean isAnimated)
MapAction
that will act on the specified map
widget with possibly animated transitions.
Method Detail |
---|
public abstract HandlerRegistration registerWith(T gestureRecognizer)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |