|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectse.entra.phantom.client.AEvent
public class AEvent
The NetPhantom Action event class.
| Field Summary | |
|---|---|
int |
actionIndex
Action index (Control index for ACTION_CONTROL). |
int |
actionSubValue
Optional sub value (server event for ACTION_CONTROL). |
int |
actionType
Main action type from NetPhantomConstants (ACTION_CONTROL,ACTION_HOSTKEY,..). |
Transaction |
addTrans
Add transaction to event. |
boolean |
doLock
Lock client until server updated. |
boolean |
doRunLater
If the action should be ran later in the AWT event dispatch thread (default immediately). |
boolean |
doUpdateControls
Update controls in panel (true) or just send the event (false). |
PPanel |
panel
Reference to panel. |
PControl |
trigger
Trigger control, should be updated last. |
| Constructor Summary | |
|---|---|
AEvent(PPanel panel,
int actionType,
int actionIndex)
General AEvent constructor for all events (except ACTION_CONTROL: use sendControlEvent). |
|
| Method Summary | |
|---|---|
static AEvent |
createControlEvent(PControl pc,
int objEvent,
int serverEvent)
Create control event. |
boolean |
issueEvent()
Issues the event to the panel. |
void |
run()
The run method actually performs the action. |
static boolean |
sendControlEvent(PControl pc,
int objEvent,
int serverEvent)
Send control event. |
static boolean |
sendControlOrMenuCommand(PPanel panel,
int compIndex)
Send control or menu COMMAND event. |
static boolean |
sendControlOrMenuCommand(PPanel panel,
int compIndex,
boolean doRunLater)
Send control or menu COMMAND event. |
static boolean |
sendUserWindowEvent(CUserWindow uw,
int serverEvent,
boolean doLock,
boolean doUpdateControls,
Transaction addTrans)
Send user window control event, no validation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int actionType
public int actionIndex
public int actionSubValue
public Transaction addTrans
public PControl trigger
public boolean doLock
public boolean doUpdateControls
public PPanel panel
public boolean doRunLater
| Constructor Detail |
|---|
public AEvent(PPanel panel,
int actionType,
int actionIndex)
| Method Detail |
|---|
public boolean issueEvent()
public void run()
run in interface Runnable
public static boolean sendControlOrMenuCommand(PPanel panel,
int compIndex)
public static boolean sendControlOrMenuCommand(PPanel panel,
int compIndex,
boolean doRunLater)
public static boolean sendControlEvent(PControl pc,
int objEvent,
int serverEvent)
public static AEvent createControlEvent(PControl pc,
int objEvent,
int serverEvent)
public static boolean sendUserWindowEvent(CUserWindow uw,
int serverEvent,
boolean doLock,
boolean doUpdateControls,
Transaction addTrans)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||