|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
de.fhpotsdam.unfolding.events.MapEvent
public abstract class MapEvent
A MapEvent stores various information about map events, and can be used to broadcast and listen to. The information consist of the event type (such as zoom, pan, etc), a sub-type (such as zoomBy, zoomTo, etc), and the necessary data to actually perform the map event (such as new zoom level value).
See sub classes for implementation details.
| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
MapEvent(java.lang.Object source,
java.lang.String type,
java.lang.String scopeId)
|
|
| Method Summary | |
|---|---|
abstract void |
executeManipulationFor(UnfoldingMap map)
|
java.lang.String |
getScopeId()
Gets the scope of this event. |
java.lang.String |
getSubType()
Returns the sub type of this event. |
java.lang.String |
getType()
Returns the type of this event. |
boolean |
isTweening()
|
void |
setSubType(java.lang.String subType)
Sets the sub type of this event. |
void |
setTweening(boolean tweening)
|
| 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 |
| Constructor Detail |
|---|
public MapEvent(java.lang.Object source,
java.lang.String type,
java.lang.String scopeId)
| Method Detail |
|---|
public java.lang.String getType()
public java.lang.String getSubType()
public void setSubType(java.lang.String subType)
subType - The name of this sub type.public java.lang.String getScopeId()
EventDispatcher.register(MapEventListener, String, String...).
public void setTweening(boolean tweening)
public boolean isTweening()
public abstract void executeManipulationFor(UnfoldingMap map)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||