de.fhpotsdam.unfolding.events
Class PanMapEvent
java.lang.Object
java.util.EventObject
de.fhpotsdam.unfolding.events.MapEvent
de.fhpotsdam.unfolding.events.PanMapEvent
- All Implemented Interfaces:
- java.io.Serializable
public class PanMapEvent
- extends MapEvent
A map event for all pan events, such as (relative) panBy, (absolute) panTo, or (relative) panLeft, etc.
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
PanMapEvent(java.lang.Object source,
java.lang.String mapId)
|
PanMapEvent(java.lang.Object source,
java.lang.String mapId,
java.lang.String subType)
|
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
log
protected static org.apache.log4j.Logger log
TYPE_PAN
public static final java.lang.String TYPE_PAN
- See Also:
- Constant Field Values
PAN_BY
public static final java.lang.String PAN_BY
- See Also:
- Constant Field Values
PAN_TO
public static final java.lang.String PAN_TO
- See Also:
- Constant Field Values
PAN_LEFT
public static final java.lang.String PAN_LEFT
- See Also:
- Constant Field Values
PAN_RIGHT
public static final java.lang.String PAN_RIGHT
- See Also:
- Constant Field Values
PAN_UP
public static final java.lang.String PAN_UP
- See Also:
- Constant Field Values
PAN_DOWN
public static final java.lang.String PAN_DOWN
- See Also:
- Constant Field Values
fromLocation
protected Location fromLocation
toLocation
protected Location toLocation
PanMapEvent
public PanMapEvent(java.lang.Object source,
java.lang.String mapId)
PanMapEvent
public PanMapEvent(java.lang.Object source,
java.lang.String mapId,
java.lang.String subType)
getFromLocation
protected Location getFromLocation()
setFromLocation
public void setFromLocation(Location fromLocation)
getToLocation
protected Location getToLocation()
setToLocation
public void setToLocation(Location toLocation)
executeManipulationFor
public void executeManipulationFor(UnfoldingMap map)
- Specified by:
executeManipulationFor
in class MapEvent