public interface HasOffset extends Serializable
HasOffset
interface
bears a offset reference to the original textModifier and Type | Method and Description |
---|---|
int |
beginPosition()
Return the beginning character offset of the label (or -1 if none).
|
int |
endPosition()
Return the ending character offset of the label (or -1 if none).
|
void |
setBeginPosition(int beginPos)
Set the beginning character offset for the label.
|
void |
setEndPosition(int endPos)
Set the ending character offset of the label (or -1 if none).
|
int beginPosition()
void setBeginPosition(int beginPos)
beginPos
- The beginning positionint endPosition()
void setEndPosition(int endPos)
endPos
- The end character offset for the label