|
HATS 7.5.1 Web API ReferencePublicly accessible methods not documented here are for IBM internal use only and may change in a future release of the product. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.hats.transform.actions.ScriptAction
com.ibm.hats.transform.actions.SendKeyAction
public class SendKeyAction
This class represents the action to send an aid key (F1 for example) to the host system.
| Field Summary |
|---|
| Fields inherited from class com.ibm.hats.transform.actions.ScriptAction |
|---|
LANG_JAVASCRIPT |
| Constructor Summary | |
|---|---|
SendKeyAction()
Constructs a new SendKeyAction object. |
|
SendKeyAction(String key)
Constructs a new SendKeyAction object. |
|
SendKeyAction(String key,
int pos)
Constructs a new SendKeyAction object. |
|
| Method Summary | |
|---|---|
String |
generateScript(String language,
ContextAttributes contextAttributes)
Returns the generated script. |
boolean |
getAllowBlankKey()
Returns a boolean value indicating whether or not the blank key is allowed. |
String |
getKey()
Returns the aid key to send. |
void |
setAllowBlankKey(boolean allow)
Sets the flag indication for the allow blank key. |
void |
setKey(String string)
Sets the aid key to send. |
| Methods inherited from class com.ibm.hats.transform.actions.ScriptAction |
|---|
combineScriptActions, combineScriptActions, generateScript, generateScript, generateScript, generateScript, generateScript |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SendKeyAction()
SendKeyAction object.
public SendKeyAction(String key)
SendKeyAction object.
key - HOD mnemonic to send. Example: "[pf1]"
public SendKeyAction(String key,
int pos)
SendKeyAction object.
key - HOD mnemonic to send. Example: "[pf1]"pos - linear, 1-based screen position to place the cursor at prior to sending the key.| Method Detail |
|---|
public String generateScript(String language,
ContextAttributes contextAttributes)
ms('[pf1]', 'HSRForm')
generateScript in class ScriptActionlanguage - The language.contextAttributes - The context attributes.
public String getKey()
public void setKey(String string)
string - The aid key.public boolean getAllowBlankKey()
public void setAllowBlankKey(boolean allow)
allow - Flag indicating whether or not the blank key is allowed.
|
HATS 7.5.1 (201005110649) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||