public class Selection
extends java.lang.Object
| Constructor and Description |
|---|
Selection()
Creates a new instance of Selection.
|
Selection(Position start,
Position end)
Creates a new instance of Selection.
|
| Modifier and Type | Method and Description |
|---|---|
Position |
getEnd()
Returns the end of the selection.
|
Position |
getStart()
Returns the start of the selection.l
|
void |
setEnd(Position end)
Sets the end position.
|
void |
setStart(Position start)
Sets the start position.
|
java.lang.String |
toString() |
public void setStart(Position start)
start - The start position to set.public Position getStart()
public void setEnd(Position end)
end - The position to set.public Position getEnd()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2009-2012. All Rights Reserved.