|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.wrq.vhi.script.api.command.Command com.wrq.vhi.script.api.command.WriteVariableToLocation
public class WriteVariableToLocation
A class that represents a VHI WriteVariableToLocation command.
CommandList
,
HostSession.executeCommandList(com.wrq.vhi.script.api.command.CommandList)
,
HostSession.writeVariableToLocation(java.lang.String, int, int, int, boolean, int)
Constructor Summary | |
---|---|
WriteVariableToLocation(java.lang.String variable,
int row,
int column,
int maxLength,
boolean erase,
int waitForEcho)
Constructs a new WriteVarToLocation command. |
Method Summary | |
---|---|
int |
getColumn()
Gets the column. |
int |
getMaxLength()
Gets the max length. |
java.lang.String |
getName()
Gets the command name. |
int |
getRow()
Gets the row. |
java.lang.String |
getVariable()
Gets the variable name. |
int |
getWaitForEcho()
Gets the wait for echo mode. |
boolean |
isErase()
Gets the erase flag. |
Methods inherited from class com.wrq.vhi.script.api.command.Command |
---|
isValidEchoType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WriteVariableToLocation(java.lang.String variable, int row, int column, int maxLength, boolean erase, int waitForEcho)
variable
- name variable containing value to be writtenrow
- the row of the location to be written tocolumn
- the starting column of the location to be written tomaxLength
- the maximum number of characters to writeerase
- if true
and if the length of the string
contained in variable
is less than maxLength
,
pad the value written with spaces until maxLength
characters have been written.waitForEcho
- type of wait for echo to perform. See HostSession.writeVariableToLocation(java.lang.String, int, int, int, boolean, int)
for values.Method Detail |
---|
public java.lang.String getVariable()
public int getRow()
public int getColumn()
public int getMaxLength()
public boolean isErase()
true
and if the maxLength of the string
contained in variable
is less than maxLength
,
pad the value written with spaces until maxLength
characters have been written.public int getWaitForEcho()
HostSession.transmit(java.lang.String)
.public java.lang.String getName()
getName
in class Command
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |