|
||||||||||
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.UIComponentEvent
public class UIComponentEvent
Platform and technology independent component event definition. It is designed for use with AWT, Swing, SWT, JSP, JSF, ... .
ComponentEvent
Field Summary | |
---|---|
static int |
COMPONENT_FIRST
The first number in the range of ids used for component events. |
static int |
COMPONENT_LAST
The last number in the range of ids used for component events. |
static int |
COMPONENT_MOVED
This event indicates that the component's position changed. |
static int |
COMPONENT_RESIZED
This event indicates that the component's size changed. |
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 | |
---|---|
UIComponentEvent(IComponent pSource,
int pId,
long pWhen,
int pModifiers)
Creates a new instance of UIComponentEvent . |
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 COMPONENT_FIRST
public static final int COMPONENT_MOVED
public static final int COMPONENT_RESIZED
public static final int COMPONENT_LAST
Constructor Detail |
---|
public UIComponentEvent(IComponent pSource, int pId, long pWhen, int pModifiers)
UIComponentEvent
.
pSource
- the Source of this event.pId
- the Id of this event.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 |