| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.1.0) E13403-02  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.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, findOrCreateEditor, getPreferredEditorType, gotoOffset, refresh, renavigate, setContext, setExplicit, setPreferredEditorType | 
| Methods inherited from class oracle.ide.navigation.DefaultNavigationPoint | 
|---|
addNavigationPointListener, contextRemoved, copyToImpl, findEditorInfo, fireDescriptionChanged, fireExpired, getContext, getIcon, getLongLabel, getShortLabel, getToolTipText, navigate, nodeRenamed, projectRenamed, removeNavigationPointListener, toString, workspaceRenamed | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, 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 CopyablecopyTo in class CodeNavigationPointtarget - the Object to receive the state, or null.
Copyableprotected 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.DefaultNavigationPointjava.lang.Exception
  | 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.1.0) E13403-02  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||