public class EOMGEvent
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
EOMGEvent()
Deactivation event.
|
EOMGEvent(EditableOMGraphic source,
java.awt.Cursor cursor,
java.lang.String message,
java.awt.event.MouseEvent me,
int status)
Create an Event.
|
Modifier and Type | Method and Description |
---|---|
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() |
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
public EOMGEvent(EditableOMGraphic source, java.awt.Cursor cursor, java.lang.String message, java.awt.event.MouseEvent me, int status)
public EOMGEvent()
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)
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details