|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectewe.ui.Event
ewe.ui.PenEvent
PenEvent is a pen down, up, move or drag event.
A mouse drag occurs when a mouse button is pressed down and the mouse is moved. A mouse move occurs when the mouse is moved without a button being held down.
| Field Summary | |
static ToolTip |
currentTip
|
static int |
FROM_OTHER_WINDOW
|
static Control |
lastTipFor
|
static int |
MIDDLE_BUTTON
|
int |
modifiers
The state of the modifier keys when the event occured. |
static int |
PEN_DOWN
The event type for a pen or mouse down event. |
static int |
PEN_DRAG
The event type for a pen or mouse drag event. |
static int |
PEN_MOVE
The event type for a pen or mouse move event. |
static int |
PEN_MOVED_OFF
The event type for a pen or mouse move off event. |
static int |
PEN_MOVED_ON
The event type for a pen or mouse move on event. |
static int |
PEN_UP
The event type for a pen or mouse up event. |
static int |
RIGHT_BUTTON
|
static int |
SCROLL_DOWN
|
static int |
SCROLL_UP
|
static int |
TipDelay
This is the tool tip delay time in milliseconds. |
static boolean |
tipIsVisible
|
static int |
TRANSFERRED_PRESS
|
static int |
WANT_PEN_MOVE_TAG
|
static int |
WANT_PEN_MOVED_INSIDE
|
static int |
WANT_PEN_MOVED_ONOFF
|
static int |
WANT_PEN_MOVED_OUTSIDE
|
static int |
WHEN_NOT_ON_TOP_FRAME
|
int |
x
The x location of the event. |
int |
y
The y location of the event. |
| Fields inherited from class ewe.ui.Event |
consumed, events, flags, target, timeStamp, type, window |
| Constructor Summary | |
PenEvent()
|
|
| Method Summary | |
boolean |
lookingFor(Object what)
This should return true if the object is one we are looking for. |
static void |
notWaiting()
This is called by the VM when the WAIT_CURSOR has been removed. |
static boolean |
refreshTip(ISurface surface)
|
static void |
resetCursor()
|
protected static void |
setOptions(Control who,
int toSet,
int toClear)
|
static void |
showTip(boolean immediate,
Object tooltip)
|
static boolean |
tipIsDisplayed()
|
static void |
topFrameChanging()
|
static void |
wantPenMoved(Control who,
int options,
boolean enable)
It is necessary to call this method if a Control wishes to receive Pen/Mouse movement notifications. |
| Methods inherited from class ewe.ui.Event |
toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode |
| Field Detail |
public static final int PEN_DOWN
public static final int PEN_MOVE
public static final int PEN_UP
public static final int PEN_DRAG
public static final int PEN_MOVED_ON
public static final int PEN_MOVED_OFF
public static final int RIGHT_BUTTON
public static final int MIDDLE_BUTTON
public static final int FROM_OTHER_WINDOW
public static final int TRANSFERRED_PRESS
public static final int WANT_PEN_MOVE_TAG
public static final int WANT_PEN_MOVED_ONOFF
public static final int WANT_PEN_MOVED_INSIDE
public static final int WANT_PEN_MOVED_OUTSIDE
public static final int WHEN_NOT_ON_TOP_FRAME
public static final int SCROLL_UP
public static final int SCROLL_DOWN
public static ToolTip currentTip
public static Control lastTipFor
public static int TipDelay
public static boolean tipIsVisible
public int x
public int y
public int modifiers
IKeys| Constructor Detail |
public PenEvent()
| Method Detail |
public static boolean tipIsDisplayed()
public static boolean refreshTip(ISurface surface)
public boolean lookingFor(Object what)
ObjectFinder
lookingFor in interface ObjectFinder
protected static void setOptions(Control who,
int toSet,
int toClear)
public static void wantPenMoved(Control who,
int options,
boolean enable)
who - The control requesting notifications.options - any of the WANT_PEN_MOVED_XXX options ORed together.enable - true to enable notification, false to disable them.public static void resetCursor()
public static void notWaiting()
public static void topFrameChanging()
public static void showTip(boolean immediate,
Object tooltip)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||