|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.devaki.nextobjects.ui.editor.DocPosition
A wrapper for a position in a document appropriate for storing in a collection.
Constructor Summary | |
DocPosition(int pPosition)
Construct a DocPosition from the given offset into the document. |
Method Summary | |
DocPosition |
adjustPosition(int adjustment)
Adjust this position. |
boolean |
equals(java.lang.Object obj)
Two DocPositions are equal iff they have the same internal position. |
(package private) int |
getPosition()
Get the position represented by this DocPosition |
java.lang.String |
toString()
A string representation useful for debugging. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DocPosition(int pPosition)
Method Detail |
int getPosition()
public DocPosition adjustPosition(int adjustment)
adjustment
- amount to adjust this position.
public final boolean equals(java.lang.Object obj)
obj
- the object
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |