|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectaminePlatform.guis.prologPlusCGGUIs.prologPlusCGGUI.DocPosition
A wrapper for a position in a document appropriate for storing in a collection.
Constructor Summary | |
DocPosition(int position)
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 position)
position
- The position this DocObject will representMethod Detail |
int getPosition()
public DocPosition adjustPosition(int adjustment)
adjustment
- amount (either positive or negative) to adjust this position.
public boolean equals(java.lang.Object obj)
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |