|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.prodevelop.gvsig.mobile.gui.tool.listener.InfoPointListener
This listener is associated with the info-by-point tool. It will iterate over the queriable layers and show a dialog with a simple table showing the results.
PointBehavior
Constructor Summary | |
InfoPointListener(java.awt.Frame infoFrame)
Constructor. |
Method Summary | |
boolean |
cancelDrawing()
This method asks the listener to cancel the current drawing process (currently unsued) |
java.awt.Cursor |
getCursor()
Gets the cursor that should be used while this tool is active. |
void |
point(PointEvent event)
Point event that indicates the screen coordinates where the user has clicked to query for info. |
void |
setMapControl(MapControl mc)
Sets the MapControl object that will be updated by
this listener. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public InfoPointListener(java.awt.Frame infoFrame)
infoFrame
- main frame, needed for graphical purposes, since
every dialog needs a frame to be shown.Method Detail |
public void point(PointEvent event)
point
in interface PointToolListener
event
- the point event that indicates the point of interest.public java.awt.Cursor getCursor()
getCursor
in interface ToolListener
public boolean cancelDrawing()
cancelDrawing
in interface ToolListener
public void setMapControl(MapControl mc)
MapControl
object that will be updated by
this listener.
setMapControl
in interface ToolListener
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 |