|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.javatools.data.HashStructureAdapter
oracle.jdevimpl.bookmarks.BookmarkOptions
public final class BookmarkOptions
The BookmarkOptions defines an options class that stores
bookmark options.
| Field Summary | |
|---|---|
static java.lang.String |
KEY_SETTINGS
String key to identify these options when persisted. |
static int |
MISSING_DISCARD
The constant for indicating that bookmarks for missing lines should be discarded. |
static int |
MISSING_MOVE
The constant for indicating that bookmarks for missing lines should be moved to the closest existing line. |
static int |
TRAVERSE_ALL
The constant for indicating that next and previous should traverse all bookmarks. |
static int |
TRAVERSE_CURRENT
The constant for indicating that next and previous should traverse only within the current editor. |
static int |
TRAVERSE_OPEN
The constant for indicating that next and previous should traverse all opened editors. |
| Fields inherited from class oracle.javatools.data.HashStructureAdapter |
|---|
_hash |
| Constructor Summary | |
|---|---|
BookmarkOptions()
Construct new bookmark options. |
|
| Method Summary | |
|---|---|
boolean |
getDiscardOnClose()
Fetches whether to discard bookmarks when closing an editor. |
boolean |
getDiscardOnExit()
Fetches whether to discard bookmarks when exiting JDeveloper. |
static BookmarkOptions |
getInstance(PropertyStorage prefs)
|
int |
getMissingLineBehavior()
Fetch the behavior of how to handle bookmarks for missing lines. |
int |
getTraverseBehavior()
Fetch the behavior of next and previous traversal. |
void |
setDiscardOnClose(boolean discardOnClose)
Sets whether to discard bookmarks when closing an editor. |
void |
setDiscardOnExit(boolean discardOnExit)
Sets whether to discard bookmarks when exiting JDeveloper. |
void |
setMissingLineBehavior(int missingLineBehavior)
Sets the new behavior of how to handle bookmarks for missing lines. |
void |
setTraverseBehavior(int traverseBehavior)
Sets the new behavior for next and previous traversal. |
| Methods inherited from class oracle.javatools.data.HashStructureAdapter |
|---|
addStructureChangeListener, containsKey, copyTo, copyToImpl, equals, equalsImpl, findOrCreate, forcedCopyTo, getHashStructure, removeStructureChangeListener, useObjectEquals |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface oracle.javatools.util.Copyable |
|---|
copyTo |
| Field Detail |
|---|
public static final java.lang.String KEY_SETTINGS
public static final int TRAVERSE_CURRENT
public static final int TRAVERSE_OPEN
public static final int TRAVERSE_ALL
public static final int MISSING_MOVE
public static final int MISSING_DISCARD
| Constructor Detail |
|---|
public BookmarkOptions()
| Method Detail |
|---|
public static BookmarkOptions getInstance(PropertyStorage prefs)
public boolean getDiscardOnClose()
public void setDiscardOnClose(boolean discardOnClose)
discardOnClose - sets whether to discard bookmarks when
closing an editorpublic boolean getDiscardOnExit()
public void setDiscardOnExit(boolean discardOnExit)
discardOnExit - sets whether to discard bookmarks when
exiting JDeveloper.public int getTraverseBehavior()
public void setTraverseBehavior(int traverseBehavior)
traverseBehavior - the new behavior for next and
previous traversalpublic int getMissingLineBehavior()
public void setMissingLineBehavior(int missingLineBehavior)
missingLineBehavior - the new behavior of how to handle
bookmarks for missing lines.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||