|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bbn.openmap.omGraphics.event.StandardMapMouseInterpreter com.bbn.openmap.omGraphics.event.DBLClickSelectMapMouseInterpreter
public class DBLClickSelectMapMouseInterpreter
The DBLClickSelectMapMouseInterpreter is an extension of the StandardMapMouseInterpreter that limits selection to map objects that have been double clicked on, instead of the single click used by default in the super class.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.bbn.openmap.omGraphics.event.StandardMapMouseInterpreter |
---|
StandardMapMouseInterpreter.GeometryOfInterest, StandardMapMouseInterpreter.MouseTimerListener |
Field Summary |
---|
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 | |
---|---|
DBLClickSelectMapMouseInterpreter()
The OMGraphicLayer should be set at some point before use. |
|
DBLClickSelectMapMouseInterpreter(OMGraphicHandlerLayer l)
The standard constructor. |
Method Summary | |
---|---|
boolean |
leftClick(OMGraphic omg,
java.awt.event.MouseEvent e)
Handle a left-click on an OMGraphic. |
boolean |
mousePressed(java.awt.event.MouseEvent e)
Invoked when a mouse button has been pressed on a component. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DBLClickSelectMapMouseInterpreter()
public DBLClickSelectMapMouseInterpreter(OMGraphicHandlerLayer l)
Method Detail |
---|
public boolean mousePressed(java.awt.event.MouseEvent e)
mousePressed
in interface MapMouseListener
mousePressed
in class StandardMapMouseInterpreter
e
- MouseEvent
public boolean leftClick(OMGraphic omg, java.awt.event.MouseEvent e)
leftClick
in interface MapMouseInterpreter
leftClick
in class StandardMapMouseInterpreter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |