c408h008.common.command
Class OECommandMove

java.lang.Object
  extended byc408h008.common.command.OECommandMove

public class OECommandMove
extends java.lang.Object

Stores the current cursor position.


Constructor Summary
OECommandMove()
          Constructs a new move command.
 
Method Summary
 int getPosition()
          Gets the position of the cursor.
 void setPosition(int position)
          Sets the position of the cursor.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OECommandMove

public OECommandMove()
Constructs a new move command.

Method Detail

setPosition

public void setPosition(int position)
Sets the position of the cursor.

Parameters:
position - The position of the cursor.

getPosition

public int getPosition()
Gets the position of the cursor.

Returns:
The position of the cursor.