|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bbn.openmap.omGraphics.event.StandardMapMouseInterpreter
com.bbn.openmap.layer.editor.AbstractEditorTool
public class AbstractEditorTool
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.bbn.openmap.omGraphics.event.StandardMapMouseInterpreter |
|---|
StandardMapMouseInterpreter.GeometryOfInterest, StandardMapMouseInterpreter.MouseTimerListener |
| Field Summary | |
|---|---|
protected java.awt.Container |
face
|
protected boolean |
visible
Used as a placeholder if face is null. |
protected boolean |
wantsEvents
Flag to let it's layer know when it wants control over mouse events. |
| Fields inherited from class com.bbn.openmap.omGraphics.event.StandardMapMouseInterpreter |
|---|
active, clickInterest, consumeEvents, currentMouseEvent, DEBUG, grp, lastToolTip, layer, mouseModeServiceList, mouseTimer, mouseTimerInterval, mouseTimerListener, movementInterest, noTimerOverOMGraphic |
| Constructor Summary | |
|---|---|
protected |
AbstractEditorTool()
Make sure you set the EditorLayer at some point. |
|
AbstractEditorTool(EditorLayer eLayer)
The preferred constructor. |
| Method Summary | |
|---|---|
void |
dispose()
Called when the parent layer detects that it has been removed from the 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. |
void |
findAndInit(java.lang.Object obj)
Part of the interface where the EditorLayer can provide components that are available via the MapHandler/BeanContext. |
void |
findAndUndo(java.lang.Object obj)
Part of the interface where the EditorLayer can provide components that are available via the MapHandler/BeanContext. |
java.awt.Container |
getFace()
The tool's interface. |
boolean |
isVisible()
A method that lets the EditorTool respond to queries wondering whether its interface is visible. |
void |
setLayer(OMGraphicHandlerLayer eLayer)
|
void |
setVisible(boolean value)
A method that lets the EditorTool know whether its interface should be visible. |
void |
setWantsEvents(boolean value)
Set whether the tool should want MouseEvents. |
boolean |
wantsEvents()
Whether the Tool is expecting to be fed MouseEvents. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 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 |
| Field Detail |
|---|
protected boolean wantsEvents
protected boolean visible
protected java.awt.Container face
| Constructor Detail |
|---|
protected AbstractEditorTool()
public AbstractEditorTool(EditorLayer eLayer)
| Method Detail |
|---|
public void setLayer(OMGraphicHandlerLayer eLayer)
setLayer in class StandardMapMouseInterpreterpublic void setWantsEvents(boolean value)
public boolean wantsEvents()
wantsEvents in interface EditorToolpublic void findAndInit(java.lang.Object obj)
findAndInit in interface LightMapHandlerChildpublic void findAndUndo(java.lang.Object obj)
findAndUndo in interface LightMapHandlerChild
public void drawingComplete(OMGraphic omg,
OMAction action)
drawingComplete in interface EditorToolpublic void setVisible(boolean value)
setVisible in interface EditorToolpublic boolean isVisible()
isVisible in interface EditorToolpublic java.awt.Container getFace()
getFace in interface EditorToolpublic void dispose()
dispose in interface EditorTool
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||