|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAbstractModalTool
net.refractions.udig.tool.info.InfoTool
public class InfoTool
InfoTool is Map Tool used to grab identity information about what is on the screen.
InfoTool makes use its ModalTool superclass to access RenderManager; getInfo is a first class request supported by the API. You can however trace through this code as an example for creating your own tools.
Workflow:
Field Summary | |
---|---|
static java.lang.String |
CATEGORY_ID
|
static java.lang.String |
ID
ID of the current tool. |
Constructor Summary | |
---|---|
InfoTool()
Creates an LayerPointInfo Tool. |
Method Summary | |
---|---|
void |
dispose()
|
void |
feedback(MapMouseEvent e)
Provides user feedback |
void |
mouseDragged(MapMouseEvent e)
|
void |
mousePressed(MapMouseEvent e)
|
void |
mouseReleased(MapMouseEvent e)
What's this then? |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ID
public static final java.lang.String CATEGORY_ID
Constructor Detail |
---|
public InfoTool()
Method Detail |
---|
public void mousePressed(MapMouseEvent e)
public void mouseDragged(MapMouseEvent e)
public void feedback(MapMouseEvent e)
e
- public void mouseReleased(MapMouseEvent e)
See class description for intended workflow.
net.refractions.udig.project.ui.tool.AbstractTool#mouseReleased(MapMouseEvent)
public void dispose()
net.refractions.udig.project.ui.tool.Tool#dispose()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |