|
Services Builder for Screens | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Custom Steps Only
This interface describes the interaction between IQAScreen and IDirectAccess objects. Classes based on this interface
needs to intrepet sendkeys style keystrokes and converting them into actions on the screen.
Method Summary | |
Point |
getCursorTrigger()
Sets the cursor trigger. |
IPerformanceTool |
getPerformanceTool()
Gets the current performance tool from the current controller. |
long |
getSettleTime()
Gets the amount of time a read should wait for a settled read. |
long |
getTimeout()
Gets the maximum amount of time a read should take. |
void |
performAction(java.lang.String commands)
Convert the supplied array of '@' commands into actions. |
void |
setCursorTrigger(Point p)
Sets the cursor trigger. |
void |
setFieldText(java.lang.String text)
Write the supplied text to where the cursor is sitting. |
void |
setPerformanceTool(IPerformanceTool tool)
Sets the performance tools on the current controller. |
void |
setSettleTime(long milliseconds)
Sets the amount of time a read should wait for a settled read. |
void |
setTimeout(long milliseconds)
Sets the amount of time to perform a read |
Method Detail |
public void setFieldText(java.lang.String text) throws com.attachmate.nav.engine.CustomStepException
text
- the String to write to the field
ProtectedFieldException
com.attachmate.nav.engine.CustomStepException
public void performAction(java.lang.String commands) throws java.io.IOException, com.attachmate.nav.engine.NavException
commands
- a String containing a list of commands.
java.io.IOException
com.attachmate.nav.engine.NavException
public void setTimeout(long milliseconds)
milliseconds
- the maximum number of milliseconds the read should take.public long getTimeout()
public void setSettleTime(long milliseconds)
milliseconds
- the amount of time to wait per read.public long getSettleTime()
public void setCursorTrigger(Point p)
p
- a Point
containing the cursor coordinate to wait for. If it is set to (0,0), the read will
rely on the timeout and settleTime for exiting the settled read.public Point getCursorTrigger()
Point
containing the cursor coordinate to wait for. If it is set to (0,0), the read will
rely on the timeout and settleTime for exiting the settled read.public void setPerformanceTool(IPerformanceTool tool)
tool
- a reference to an object that has implemented IPerformanceTool
.public IPerformanceTool getPerformanceTool()
|
Services Builder for Screens | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |