|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bbn.openmap.omGraphics.event.EOMGEvent
public class EOMGEvent
The EOMGEvent describes a change in state of an EditableOMGraphic. State, that is, in terms of what the StateMachine is interested in. Whenever a EOMG state changes, the EOMG fires a chance through one of these events so that any interested party can find out what's going on.
Field Summary | |
---|---|
protected java.awt.Cursor |
cursor
The Cursor that should be active after this event is received. |
static int |
EOMG_AUX
This is a state where something different or extra is being done. |
static int |
EOMG_COMPLETE
The state where the editing is complete. |
static int |
EOMG_DEFINED
The Graphic is defined and in a stable state without the grab points active. |
static int |
EOMG_EDIT
The Graphic is defined, in a state of flux. |
static int |
EOMG_SELECTED
The Graphic is defined, in a stable state with the grab points active. |
static int |
EOMG_UNCHANGED
The status of the EditableOMGraphic hasn't changed. |
static int |
EOMG_UNDEFINED
Nothing about the graphic is known or defined. |
static int |
EOMG_UNDO
A state where the current OMGraphic state should be saved for an Undo operation. |
protected java.lang.String |
message
An instructional/error message that should be presented to the user. |
protected java.awt.event.MouseEvent |
mouseEvent
A java MouseEvent that might have caused this EOMGEvent. |
protected EditableOMGraphic |
source
The EOMG in question. |
protected int |
status
The status of the EOMG as this event is sent. |
Constructor Summary | |
---|---|
EOMGEvent()
Deactivation event. |
|
EOMGEvent(EditableOMGraphic source,
java.awt.Cursor cursor,
java.lang.String message,
java.awt.event.MouseEvent me,
int status)
Create an Event. |
Method Summary | |
---|---|
java.awt.Cursor |
getCursor()
|
java.lang.String |
getMessage()
|
java.awt.event.MouseEvent |
getMouseEvent()
|
EditableOMGraphic |
getSource()
|
int |
getStatus()
|
void |
setCursor(java.awt.Cursor cur)
|
void |
setMessage(java.lang.String message)
|
void |
setMouseEvent(java.awt.event.MouseEvent me)
|
void |
setSource(EditableOMGraphic eomg)
|
void |
setStatus(int status)
|
boolean |
shouldDeactivate()
|
boolean |
shouldShowGUI()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int EOMG_UNCHANGED
public static final int EOMG_UNDEFINED
public static final int EOMG_DEFINED
public static final int EOMG_SELECTED
public static final int EOMG_EDIT
public static final int EOMG_AUX
public static final int EOMG_COMPLETE
public static final int EOMG_UNDO
protected EditableOMGraphic source
protected java.awt.Cursor cursor
protected java.lang.String message
protected java.awt.event.MouseEvent mouseEvent
protected int status
Constructor Detail |
---|
public EOMGEvent(EditableOMGraphic source, java.awt.Cursor cursor, java.lang.String message, java.awt.event.MouseEvent me, int status)
public EOMGEvent()
Method Detail |
---|
public void setSource(EditableOMGraphic eomg)
public EditableOMGraphic getSource()
public void setCursor(java.awt.Cursor cur)
public java.awt.Cursor getCursor()
public void setMessage(java.lang.String message)
public java.lang.String getMessage()
public void setMouseEvent(java.awt.event.MouseEvent me)
public java.awt.event.MouseEvent getMouseEvent()
public boolean shouldShowGUI()
public boolean shouldDeactivate()
public int getStatus()
public void setStatus(int status)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |