|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Tool listener are the ones which perform the operations on the map (MapCOntrol). Behavior classes gather information from the java event system and notify the listeners when something relevant happens. Whether an event is relevant or not depends also on the type of tool.
Behavior
Method Summary | |
boolean |
cancelDrawing()
Allows the tool listener to cancel the current drawing process. |
java.awt.Cursor |
getCursor()
Allows the tool listener to set a new cursor while the associated tool is active. |
void |
setMapControl(MapControl mc)
Sets the MapControl object. |
Method Detail |
public java.awt.Cursor getCursor()
public boolean cancelDrawing()
true
when the drawing has been
cancelled (cancel request accepted)public void setMapControl(MapControl mc)
MapControl
object. Listeners will have to do some kind
of request to the map, depending on the tool.
mc
- the MapControl
object to be used by this listener.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |