public interface MapMouseInterpreter extends MapMouseListener
Modifier and Type | Method and Description |
---|---|
java.awt.event.MouseEvent |
getCurrentMouseEvent()
A method for the GestureResponsePolicy to find out what the
last MouseEvent was, in case it needs it to react to the GRP
notifications.
|
GestureResponsePolicy |
getGRP()
Get the GestureResponsePolicy to notify when MouseEvents have
been interpreted.
|
boolean |
isActive()
Check whether the MapMouseInterpreter is responding to events.
|
boolean |
leftClick(java.awt.event.MouseEvent me)
Notification that the background was left-clicked upon.
|
boolean |
leftClick(OMGraphic omg,
java.awt.event.MouseEvent me)
Notification that a particular OMGraphic was left-clicked upon.
|
boolean |
leftClickOff(OMGraphic omg,
java.awt.event.MouseEvent me)
Notification that a particular OMGraphic, previously
left-clicked upon, has been un-clicked.
|
boolean |
mouseNotOver(OMGraphic omg)
Notification that the mouse has moved off of an OMGraphic it
was previously over.
|
boolean |
mouseOver(java.awt.event.MouseEvent me)
Notification that the mouse is being moved over the map at a
certain location, and is not over any OMGraphics.
|
boolean |
mouseOver(OMGraphic omg,
java.awt.event.MouseEvent me)
Notification that the mouse is over a particluar OMGraphic.
|
boolean |
rightClick(java.awt.event.MouseEvent me)
Notification that the background was right-clicked upon.
|
boolean |
rightClick(OMGraphic omg,
java.awt.event.MouseEvent me)
Notification that a particular OMGraphic was right-clicked
upon.
|
boolean |
rightClickOff(OMGraphic omg,
java.awt.event.MouseEvent me)
Notification that a particular OMGraphic, previously
right-clicked upon, has been un-clicked.
|
void |
setActive(boolean active)
Set whether the MapMouseInterpreter responds to mouse events.
|
void |
setGRP(GestureResponsePolicy urp)
Set the GestureResponsePolicy to notify when MouseEvents have
been interpreted.
|
getMouseModeServiceList, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseMoved, mousePressed, mouseReleased
java.awt.event.MouseEvent getCurrentMouseEvent()
boolean leftClick(java.awt.event.MouseEvent me)
boolean leftClick(OMGraphic omg, java.awt.event.MouseEvent me)
boolean leftClickOff(OMGraphic omg, java.awt.event.MouseEvent me)
boolean rightClick(java.awt.event.MouseEvent me)
boolean rightClick(OMGraphic omg, java.awt.event.MouseEvent me)
boolean rightClickOff(OMGraphic omg, java.awt.event.MouseEvent me)
boolean mouseOver(java.awt.event.MouseEvent me)
boolean mouseOver(OMGraphic omg, java.awt.event.MouseEvent me)
boolean mouseNotOver(OMGraphic omg)
void setGRP(GestureResponsePolicy urp)
GestureResponsePolicy getGRP()
boolean isActive()
void setActive(boolean active)
active
- true if it should respond to mouse events.Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details