- All Implemented Interfaces:
ITextMark
Standard implementation of a text mark.
-
Constructor Summary
Constructors
-
Method Summary
Get the optional object associated with this mark.
int
Get the mark offset within its owner line.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Details
-
getOffset
public int getOffset()
Get the mark offset within its owner line.
- Specified by:
getOffset in interface ITextMark
- Returns:
- the 0-based character offset
-
getName
Get the mark name.
- Specified by:
getName in interface ITextMark
- Returns:
- the mark name
-
getObject
Get the optional object associated with this mark.
- Specified by:
getObject in interface ITextMark
- Returns:
- the attached object, or
null if none