public class PolyDeleteNodeState extends State
Modifier and Type | Field and Description |
---|---|
protected EditableOMGraphic |
graphic |
Constructor and Description |
---|
PolyDeleteNodeState(EditableOMPoly eomg) |
Modifier and Type | Method and Description |
---|---|
boolean |
mouseDragged(java.awt.event.MouseEvent e)
Invoked when a mouse button is pressed on a component and then
dragged.
|
boolean |
mouseMoved(java.awt.event.MouseEvent e)
Invoked when the mouse button has been moved on a component
(with no buttons down).
|
boolean |
mouseReleased(java.awt.event.MouseEvent e)
In this state, we need to change states only if the graphic, or anyplace
off the graphic is pressed down on.
|
actionPerformed, adjustmentValueChanged, componentAdded, componentHidden, componentMoved, componentRemoved, componentResized, componentShown, focusGained, focusLost, getMapMouseListenerResponse, getMouseModeServiceList, itemStateChanged, keyPressed, keyReleased, keyTyped, mouseClicked, mouseEntered, mouseExited, mouseMoved, mousePressed, setMapMouseListenerResponse, textValueChanged, windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpened
protected EditableOMGraphic graphic
public PolyDeleteNodeState(EditableOMPoly eomg)
public boolean mouseReleased(java.awt.event.MouseEvent e)
mouseReleased
in interface MapMouseListener
mouseReleased
in class State
e
- MouseEventpublic boolean mouseMoved(java.awt.event.MouseEvent e)
MapMouseListener
mouseMoved
in interface MapMouseListener
mouseMoved
in class State
e
- MouseEventpublic boolean mouseDragged(java.awt.event.MouseEvent e)
MapMouseListener
mouseDragged
in interface MapMouseListener
mouseDragged
in class State
e
- MouseEventCopyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details