|
org.netbeans.modules.editor.lib/1 1.14.0 3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.editor.JumpList.Entry
public static final class JumpList.Entry
An entry in the list with JTextComponent
and a position in
its Document
.
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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.
|
org.netbeans.modules.editor.lib/1 1.14.0 3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |