|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openbp.cockpit.modeler.figures.VisualElementEvent
public class VisualElementEvent
Event that may happen to a visual element.
| Field Summary | |
|---|---|
static java.lang.String |
CURSOR_ENTERED
Event: Cursor entered the element |
static java.lang.String |
CURSOR_LEFT
Event: Cursor left the element |
static java.lang.String |
DESELECTED
Event: Element was deselected |
static java.lang.String |
DOUBLE_CLICK
Event: Element was double-clicked |
DrawingEditorPlugin |
editor
Current editor |
java.awt.event.MouseEvent |
mouseEvent
Mouse event that caused this event or null |
static java.lang.String |
SELECTED
Event: Element was selected |
static java.lang.String |
SET_DND_PARTICIPANT
Event: Element is participating in a drag and drop operation |
java.lang.String |
type
Event type (one of the constants of this class) |
static java.lang.String |
UNSET_DND_PARTICIPANT
Event: Element is not participating in a drag and drop operation any more |
static java.lang.String |
UPDATE_STATE
Event: State should be updated |
int |
x
X Document coordinate this event refers to or -1 |
int |
y
Y Document coordinate this event refers to or -1 |
| Constructor Summary | |
|---|---|
VisualElementEvent(java.lang.String type,
DrawingEditorPlugin editor)
Constructor. |
|
VisualElementEvent(java.lang.String type,
DrawingEditorPlugin editor,
java.awt.event.MouseEvent mouseEvent,
int x,
int y)
Constructor for mouse-related events. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CURSOR_ENTERED
public static final java.lang.String CURSOR_LEFT
public static final java.lang.String SELECTED
public static final java.lang.String DESELECTED
public static final java.lang.String UPDATE_STATE
public static final java.lang.String SET_DND_PARTICIPANT
public static final java.lang.String UNSET_DND_PARTICIPANT
public static final java.lang.String DOUBLE_CLICK
public java.lang.String type
public java.awt.event.MouseEvent mouseEvent
public int x
public int y
public DrawingEditorPlugin editor
| Constructor Detail |
|---|
public VisualElementEvent(java.lang.String type,
DrawingEditorPlugin editor)
type - Event type (one of the constants of this class)editor - Current editor
public VisualElementEvent(java.lang.String type,
DrawingEditorPlugin editor,
java.awt.event.MouseEvent mouseEvent,
int x,
int y)
type - Event type (one of the constants of this class)editor - Current editormouseEvent - Mouse event that caused this event or nullx - X Document coordinate this event refers to or -1y - Y Document coordinate this event refers to or -1
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||