Modifier and Type | Method and Description |
---|---|
JTextComponent |
getComponent()
Gets the component maintained by this entry.
|
int |
getPosition()
Gets the offset of the position maintaind by this entry.
|
boolean |
setDot()
Navigates to the component and position maintained by this entry.
|
public int getPosition()
public JTextComponent getComponent()
null
if this entry is not valid
anymore.public boolean setDot()
This method will try to move focus to the component stored in this entry and set its caret to the position maintained by this entry.
true
if the navigation was successful, false
otherwise.