|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jscape.inet.terminal.commands.CUDCommand
public class CUDCommand
CUD -- Cursor Down. The CUD sequence moves the active position downward without altering the column position. The number of lines moved is determined by the parameter. If the parameter value is zero or one, the active position is moved one line downward. If the parameter value is n, the active position is moved n lines downward. In an attempt is made to move the cursor below the bottom margin, the cursor stops at the bottom margin.
Field Summary | |
---|---|
static java.lang.String |
CANONICAL_FORM
|
Method Summary | |
---|---|
void |
execute(int[] params,
Terminal terminal)
Executes command giving parameters and Terminal object. |
static CUDCommand |
getInstance()
Returns one and only one instance of this type. |
void |
send(int[] params,
Terminal terminal)
Sends command to remote host. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CANONICAL_FORM
Method Detail |
---|
public static final CUDCommand getInstance()
public void execute(int[] params, Terminal terminal)
Terminal
object.
execute
in interface ControlCommand
params
- array of int
command parametrs.terminal
- target Terminal
object.public void send(int[] params, Terminal terminal)
send
in interface ControlCommand
params
- command parameters.terminal
- target Terminal
object to send command.
|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |