|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HasOffset
Something that implements the HasOffset
interface
bears a offset reference to the original text
Method Summary | |
---|---|
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). |
Method Detail |
---|
int beginPosition()
void setBeginPosition(int beginPos)
beginPos
- The beginning positionint endPosition()
void setEndPosition(int endPos)
endPos
- The end character offset for the label
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |