public class Selection extends java.lang.Object implements java.lang.Comparable<Selection>
The offsets are fixed for the life of the instance and do not change when the underlying text buffer changes, although sub classes may offer this behaviour.
Constructor and Description |
---|
Selection(int dot,
int mark) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Selection o) |
boolean |
equals(java.lang.Object obj) |
int |
getDot() |
int |
getEnd() |
int |
getMark() |
int |
getStart() |
java.lang.String |
toString() |
public int getDot()
public int getMark()
public int getStart()
public int getEnd()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object