|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GraphicMouseEvent
Provides a common abstraction for the various event objects pertaining
to mouse events on a Graphic.
MouseEvent, which is not used by some toolkit like SWT.| Field Summary | |
|---|---|
static int |
MOUSE_CLICKED
Flag for mouse clicked. |
static int |
MOUSE_DWELLED
Flag for mouse dwelled. |
static int |
MOUSE_PRESSED
Flag for mouse pressed. |
static int |
MOUSE_RELEASED
Flag for mouse released. |
| Method Summary | |
|---|---|
int |
getID()
Get the ID flag for this event. |
MouseEvent |
getMouseEvent()
Returns the MouseEvent that this event references. |
| Methods inherited from interface GraphicEvent |
|---|
consume, getGraphic, isConsumed |
| Field Detail |
|---|
static final int MOUSE_CLICKED
static final int MOUSE_DWELLED
static final int MOUSE_PRESSED
static final int MOUSE_RELEASED
| Method Detail |
|---|
int getID()
AWTEvent.getID(),
unless the semantic is not supported by MouseEvent,
e.g. MOUSE_DWELLED.
MouseEvent constants!
This is because MOUSE_CLICKED value is different from
MouseEvent.MOUSE_CLICKED value, etc.MouseEvent getMouseEvent()
MouseEvent that this event references.
MouseEvent referenced by this event.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||