Services Builder for Screens

com.attachmate.sc.ssa
Class VTBaseCustomNavStep

java.lang.Object
  |
  +--com.attachmate.nav.engine.ProcessStep
        |
        +--com.attachmate.sc.ssa.BaseCustomNavStep
              |
              +--com.attachmate.sc.ssa.VTBaseCustomNavStep
All Implemented Interfaces:
com.attachmate.nav.engine.ICustomNavStep, IPerformanceTool

public abstract class VTBaseCustomNavStep
extends BaseCustomNavStep

Custom Steps Only
This class is the base for custom VT steps. It supplies the helper classes IQAScreen and ITaskData as fields granting the user access to both Screen and Task data.

The developer will need to subclass this abtract class and define the match(), processData() and getTransitionAction()methods to perform the custom actions needed.

NOTE:Since IQAScreen.sendKeys() doesn't have access to the recorded screen metrics, it will not perform at the same level of performance as the normal NavProcedure. It is highly recommended to only write custom steps when the normal NavProcedure does not work in order to maximize performance.


Field Summary
static java.lang.String LAST_TEXT_RECEIVED_FIELD
          Reserved field name for retrieving the last text received from the host.
 
Fields inherited from class com.attachmate.nav.engine.ProcessStep
qaScreen, STATE_DATA, STATE_TRANSITION, system, taskData, useNavScreen
 
Fields inherited from interface com.attachmate.sc.ssa.IPerformanceTool
STATUS_DATA_CHANGED, STATUS_EOR, STATUS_FORMAT_CHANGED, STATUS_KBD_UNLOCK, STATUS_MESSAGE_WAITING, STATUS_SCREEN_ERASED, STATUS_SIZE_CHANGED, STATUS_TYPE_CHANGED
 
Constructor Summary
VTBaseCustomNavStep()
           
 
Method Summary
 void init(com.attachmate.nav.engine.INavContext context)
          Used by the NavEngine to initialize qaScreen and taskData.
 
Methods inherited from class com.attachmate.sc.ssa.BaseCustomNavStep
getTransitionAction, isRecognized, onReadExit, processData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LAST_TEXT_RECEIVED_FIELD

public static final java.lang.String LAST_TEXT_RECEIVED_FIELD
Reserved field name for retrieving the last text received from the host.

See Also:
Constant Field Values
Constructor Detail

VTBaseCustomNavStep

public VTBaseCustomNavStep()
Method Detail

init

public void init(com.attachmate.nav.engine.INavContext context)
Used by the NavEngine to initialize qaScreen and taskData.

Specified by:
init in interface com.attachmate.nav.engine.ICustomNavStep
Overrides:
init in class BaseCustomNavStep
Parameters:
context - the current screen context.

Services Builder for Screens