|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bbn.openmap.util.stateMachine.State
com.bbn.openmap.omGraphics.editable.GraphicUndefinedState
com.bbn.openmap.omGraphics.editable.PolyUndefinedState
public class PolyUndefinedState
| Field Summary |
|---|
| Fields inherited from class com.bbn.openmap.omGraphics.editable.GraphicUndefinedState |
|---|
graphic |
| Fields inherited from class com.bbn.openmap.util.stateMachine.State |
|---|
i18n |
| Constructor Summary | |
|---|---|
PolyUndefinedState(EditableOMPoly eomp)
|
|
| Method Summary | |
|---|---|
boolean |
mouseDragged(java.awt.event.MouseEvent e)
Invoked when a mouse button is pressed on a component and then dragged. |
boolean |
mousePressed(java.awt.event.MouseEvent e)
In this state, we need to draw a poly from scratch. |
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. |
| Methods inherited from class com.bbn.openmap.omGraphics.editable.GraphicUndefinedState |
|---|
mouseMoved |
| Methods inherited from class com.bbn.openmap.util.stateMachine.State |
|---|
actionPerformed, adjustmentValueChanged, componentAdded, componentHidden, componentMoved, componentRemoved, componentResized, componentShown, focusGained, focusLost, getMapMouseListenerResponse, getMouseModeServiceList, itemStateChanged, keyPressed, keyReleased, keyTyped, mouseClicked, mouseEntered, mouseExited, mouseMoved, setMapMouseListenerResponse, textValueChanged, windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpened |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PolyUndefinedState(EditableOMPoly eomp)
| Method Detail |
|---|
public boolean mousePressed(java.awt.event.MouseEvent e)
mousePressed in interface MapMouseListenermousePressed in class GraphicUndefinedStatee - MouseEvent
public boolean mouseReleased(java.awt.event.MouseEvent e)
mouseReleased in interface MapMouseListenermouseReleased in class Statee - MouseEvent
public boolean mouseDragged(java.awt.event.MouseEvent e)
MapMouseListener
mouseDragged in interface MapMouseListenermouseDragged in class Statee - MouseEvent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||