|
||||||||||
| 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.UIActionEvent
public class UIActionEvent
Platform and technology independent action event definition. It is designed for use with AWT, Swing, SWT, JSP, JSF, ... .
ActionEvent| Field Summary | |
|---|---|
static int |
ACTION_FIRST
The first number in the range of ids used for action events. |
static int |
ACTION_LAST
The last number in the range of ids used for action events. |
static int |
ACTION_PERFORMED
This event id indicates that a meaningful action occured. |
| 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 | |
|---|---|
UIActionEvent(IComponent pSource,
int pId,
long pWhen,
int pModifiers,
String pActionCommand)
Creates a new instance of UIActionEvent. |
|
| Method Summary | |
|---|---|
protected void |
checkId(int pId)
Checks if the current Instance of UIEvent allows the given id. |
String |
getActionCommand()
Returns the command string associated with this action. |
| 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 ACTION_FIRST
public static final int ACTION_PERFORMED
public static final int ACTION_LAST
| Constructor Detail |
|---|
public UIActionEvent(IComponent pSource,
int pId,
long pWhen,
int pModifiers,
String pActionCommand)
UIActionEvent.
pSource - the Source of this UIActionEvent.pId - the Id of this UIActionEvent.pWhen - the time the event occurredpModifiers - represents the modifier keys and mouse buttons down while the event occurredpActionCommand - nonlocalized string that gives more details of what actually caused the event| Method Detail |
|---|
protected void checkId(int pId)
checkId in class UIEventpId - the Id of this UIEvent.public String getActionCommand()
Note that if a null command string was passed
to the constructor for this ActionEvent, this
this method returns null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||