|
Eclipse Draw2d 3.3 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.util.EventObject
org.eclipse.draw2d.InputEvent
The base class for Draw2d events.
| Field Summary | |
static int |
ALT
|
static int |
ANY_BUTTON
A bitwise OR'ing of BUTTON1, BUTTON2, BUTTON3,
BUTTON4 and BUTTON5 |
static int |
BUTTON1
|
static int |
BUTTON2
|
static int |
BUTTON3
|
static int |
BUTTON4
|
static int |
BUTTON5
|
static int |
CONTROL
|
static int |
SHIFT
|
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
InputEvent(EventDispatcher dispatcher,
IFigure source,
int state)
Constructs a new InputEvent. |
|
| Method Summary | |
void |
consume()
Marks this event as consumed so that it doesn't get passed on to other listeners. |
int |
getState()
Returns the event statemask, which is a bitwise OR'ing of any of the following: ALT, CONTROL, SHIFT, BUTTON1, BUTTON2,
BUTTON3, BUTTON4 and BUTTON5. |
boolean |
isConsumed()
|
| Methods inherited from class java.util.EventObject |
getSource, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int ALT
SWT#ALTpublic static final int CONTROL
SWT#CONTROLpublic static final int SHIFT
SWT#SHIFTpublic static final int BUTTON1
SWT#BUTTON1public static final int BUTTON2
SWT#BUTTON2public static final int BUTTON3
SWT#BUTTON3public static final int BUTTON4
SWT#BUTTON4public static final int BUTTON5
SWT#BUTTON5public static final int ANY_BUTTON
BUTTON1, BUTTON2, BUTTON3,
BUTTON4 and BUTTON5
| Constructor Detail |
public InputEvent(EventDispatcher dispatcher,
IFigure source,
int state)
dispatcher - the event dispatchersource - the source of the eventstate - the state| Method Detail |
public void consume()
public int getState()
ALT, CONTROL, SHIFT, BUTTON1, BUTTON2,
BUTTON3, BUTTON4 and BUTTON5.
public boolean isConsumed()
|
Eclipse Draw2d 3.3 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||