|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectc408h006.User
A user editing a file in the OmniEditor system.
Constructor Summary | |
User(int id)
Constructs an instance of this class. |
Method Summary | |
int |
getID()
Returns the user's ID. |
boolean |
getMarkActive()
Returns true if the user has completed making a selection in the file. |
int |
getMarkedPos()
Returns the user's current marked position for the beginning of a selection within the file (-1 if no position is marked). |
int |
getPosition()
Returns the user's current position within the file (-1 if the user has not specified a position). |
int |
getSelectionEnd()
Returns the user's current marked position for the end of a selection within the file (-1 if no selection end position is marked. |
void |
setMarkedPos(int markedPos)
Set the position the user has specified to be marked for the beginning of a selection within the file. |
void |
setPosition(int position)
Set the position of the user's cursor within the file. |
void |
setSelectionEnd(int selectionEnd)
Set the position which marks the end of a text selection within the file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public User(int id)
id
- The user's idMethod Detail |
public void setPosition(int position)
position
- The user's new position within the filepublic void setMarkedPos(int markedPos)
markedPos
- The position the user has specified to be
marked for the beginning of a selection within the filepublic void setSelectionEnd(int selectionEnd)
selectionEnd
- The position which marks the end of a text
selection within the file.public int getID()
public int getPosition()
public int getMarkedPos()
public int getSelectionEnd()
public boolean getMarkActive()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |