|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.rad.ui.event.UIEvent
javax.rad.ui.event.UIFocusEvent
public class UIFocusEvent
Platform and technology independent focus event definition. It is designed for use with AWT, Swing, SWT, JSP, JSF, ... .
FocusEvent
Field Summary | |
---|---|
static int |
FOCUS_FIRST
The first number in the range of ids used for focus events. |
static int |
FOCUS_GAINED
This event indicates that the Component is now the focus owner. |
static int |
FOCUS_LAST
The last number in the range of ids used for focus events. |
static int |
FOCUS_LOST
This event indicates that the Component is no longer the focus owner. |
Fields inherited from class javax.rad.ui.event.UIEvent |
---|
ALT_GRAPH_MASK, ALT_MASK, BUTTON1_MASK, BUTTON2_MASK, BUTTON3_MASK, CTRL_MASK, META_MASK, SHIFT_MASK |
Constructor Summary | |
---|---|
UIFocusEvent(IComponent pSource,
int pId,
long pWhen,
int pModifiers)
Creates a new instance of UIFocusEvent . |
Method Summary | |
---|---|
protected void |
checkId(int pId)
Checks if the current Instance of UIEvent allows the given id. |
Methods inherited from class javax.rad.ui.event.UIEvent |
---|
getId, getModifiers, getSource, getWhen, isModifier |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int FOCUS_FIRST
public static final int FOCUS_GAINED
public static final int FOCUS_LOST
public static final int FOCUS_LAST
Constructor Detail |
---|
public UIFocusEvent(IComponent pSource, int pId, long pWhen, int pModifiers)
UIFocusEvent
.
pSource
- the Source of this UIFocusEvent.pId
- the Id of this UIFocusEvent.pWhen
- the time the event occurredpModifiers
- represents the modifier keys and mouse buttons down while the event occurredMethod Detail |
---|
protected void checkId(int pId)
checkId
in class UIEvent
pId
- the Id of this UIEvent.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |