c408h008.common.command
Class OECommandSelect

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

public class OECommandSelect
extends java.lang.Object

Stores the start and end positions of the selected text.


Constructor Summary
OECommandSelect()
          Constructs a new select command.
 
Method Summary
 int getStartPosition()
          Gets the starting position of the selected text.
 int getStopPosition()
          Gets the ending position of the selected text.
 void setStartPosition(int startPosition)
          Sets the start position of the selected text.
 void setStopPosition(int stopPosition)
          Sets the ending position of the selected text.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OECommandSelect

public OECommandSelect()
Constructs a new select command.

Method Detail

getStartPosition

public int getStartPosition()
Gets the starting position of the selected text.

Returns:
The starting position of selected text.

setStartPosition

public void setStartPosition(int startPosition)
Sets the start position of the selected text.

Parameters:
startPosition - The starting position of selected text.

getStopPosition

public int getStopPosition()
Gets the ending position of the selected text.

Returns:
The ending position of selected text.

setStopPosition

public void setStopPosition(int stopPosition)
Sets the ending position of the selected text.

Parameters:
stopPosition - The ending position of selected text.