|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcds.aladin.RobotAction
public class RobotAction
Title : RobotAction
Description : action which can be done by the robot
eg: PUSH myButton
| Field Summary | |
|---|---|
static RobotAction |
ADJUSTPOS
|
static RobotAction |
INFO
|
static RobotAction |
PAUSE
|
static RobotAction |
PUSH
|
static RobotAction |
SELECT
|
static RobotAction |
TOFRONT
|
static RobotAction |
TYPE
|
| Constructor Summary | |
|---|---|
RobotAction()
|
|
RobotAction(RobotAction action,
java.lang.String comp,
java.lang.String optParam)
Constructor |
|
| Method Summary | |
|---|---|
void |
doAction(java.awt.Point loc,
java.awt.Component comp,
Aladin aladinInst)
Execute the action at a given location |
RobotAction |
getAction()
|
static RobotAction |
getActionFromString(java.lang.String s)
|
java.lang.String |
getComp()
|
java.lang.String |
getParam()
|
void |
setAction(RobotAction action)
Sets the action. |
void |
setComp(java.lang.String comp)
Sets the component on which the action is executed |
void |
setParam(java.lang.String optParam)
Sets the optional parameter |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static RobotAction PUSH
public static RobotAction TYPE
public static RobotAction PAUSE
public static RobotAction SELECT
public static RobotAction TOFRONT
public static RobotAction ADJUSTPOS
public static RobotAction INFO
| Constructor Detail |
|---|
public RobotAction()
public RobotAction(RobotAction action,
java.lang.String comp,
java.lang.String optParam)
action - the action to usecomp - string describing the component on which the action is executedoptParam - optional parameter| Method Detail |
|---|
public void doAction(java.awt.Point loc,
java.awt.Component comp,
Aladin aladinInst)
loc - location where to execute the actionpublic static RobotAction getActionFromString(java.lang.String s)
public RobotAction getAction()
public void setAction(RobotAction action)
action - The action to setpublic java.lang.String getComp()
public void setComp(java.lang.String comp)
comp - The comp to setpublic java.lang.String getParam()
public void setParam(java.lang.String optParam)
optParam - The optParam to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||