|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.0.0) E17493-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.ide.navigation.DefaultNavigationPoint oracle.ide.ceditor.CodeNavigationPoint oracle.ide.ceditor.LineNavigationPoint
public class LineNavigationPoint
NavigationPoint implementation which navigates to a given line within a CodeEditor.
Field Summary | |
---|---|
protected boolean |
hilight
Flag indicating whether to hilight the line. |
protected boolean |
translate
Flag indicating whether the start value must first be converted to a line number. |
Fields inherited from class oracle.ide.ceditor.CodeNavigationPoint |
---|
change, explicit, preferredType, selLength, start, tracker |
Fields inherited from class oracle.ide.navigation.DefaultNavigationPoint |
---|
done, nodeURL, prjURL, viewClass, viewID, wspURL |
Fields inherited from interface oracle.ide.navigation.NavigationPoint |
---|
CANCEL, OK |
Constructor Summary | |
---|---|
LineNavigationPoint(Context context,
int offset,
boolean select)
Constructor. |
|
LineNavigationPoint(Context context,
int line,
int col,
boolean select)
Constructor. |
Method Summary | |
---|---|
java.lang.Object |
copyTo(java.lang.Object target)
Copies the internal state of this object to the specified target. |
protected void |
copyToImpl(LineNavigationPoint point)
Copy the pertinent state information. |
protected int |
navigateImpl()
Navigate to the line within the CodeEditor. |
Methods inherited from class oracle.ide.ceditor.CodeNavigationPoint |
---|
copyToImpl, equals, findOrCreateEditor, getLongLabel, getPreferredEditorType, gotoOffset, refresh, renavigate, setContext, setExplicit, setPreferredEditorType |
Methods inherited from class oracle.ide.navigation.DefaultNavigationPoint |
---|
addNavigationPointListener, contextRemoved, copyToImpl, findEditorInfo, fireDescriptionChanged, fireExpired, getContext, getIcon, getShortLabel, getToolTipText, navigate, nodeRenamed, projectRenamed, removeNavigationPointListener, toString, workspaceRenamed |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected boolean hilight
protected boolean translate
Constructor Detail |
---|
public LineNavigationPoint(Context context, int line, int col, boolean select)
context
- the Context describing the CodeEditor in which to navigate.line
- the line number to navigate to.col
- the column location for the cursor upon the given line.select
- true indicates that the entire line should be hilighted.public LineNavigationPoint(Context context, int offset, boolean select)
context
- the Context describing the CodeEditor in which to navigate.offset
- location within the CodeEditor to navigate to.select
- true indicates that the entire line should be hilighted.Method Detail |
---|
public java.lang.Object copyTo(java.lang.Object target)
copyTo
in interface Copyable
copyTo
in class CodeNavigationPoint
target
- the Object to receive the state, or null.
Copyable
protected final void copyToImpl(LineNavigationPoint point)
point
- the NavigationPoint whose state is to be altered.protected int navigateImpl() throws java.lang.Exception
navigateImpl
in class oracle.ide.navigation.DefaultNavigationPoint
java.lang.Exception
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.0.0) E17493-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |