|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EditorTool
An EditorTool is a component that provides specific functionality to the EditorLayer. The EditorTool is responsible for modifying or creating a set of OMGraphics in a certain way, where the OMGraphics actually represent a specific set of objects on the map, and the actions on the OMGraphics need to be controlled.
| Method Summary | |
|---|---|
void |
dispose()
Called when the EditorLayer is removed from application. |
void |
drawingComplete(OMGraphic omg,
OMAction action)
Method where the EditorLayer lets the tool know that the editing function has come full circle, so the user interface can be adjusted. |
java.awt.Container |
getFace()
The method that allows an EditorTool provide it's GUI. |
boolean |
isVisible()
A method that lets the EditorTool respond to queries wondering whether its interface is visible. |
void |
setVisible(boolean value)
A method that lets the EditorTool know whether its interface should be visible. |
boolean |
wantsEvents()
A method that is checked by the EditorLayer to see if the EditorTool wants to receive mouse events. |
| Methods inherited from interface com.bbn.openmap.omGraphics.event.MapMouseInterpreter |
|---|
getCurrentMouseEvent, getGRP, isActive, leftClick, leftClick, leftClickOff, mouseNotOver, mouseOver, mouseOver, rightClick, rightClick, rightClickOff, setActive, setGRP |
| Methods inherited from interface com.bbn.openmap.event.MapMouseListener |
|---|
getMouseModeServiceList, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseMoved, mousePressed, mouseReleased |
| Methods inherited from interface com.bbn.openmap.LightMapHandlerChild |
|---|
findAndInit, findAndUndo |
| Method Detail |
|---|
void drawingComplete(OMGraphic omg,
OMAction action)
boolean wantsEvents()
void setVisible(boolean value)
boolean isVisible()
java.awt.Container getFace()
void dispose()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||