|
JAPI 0.9.0 Yet another Java API API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Bookmarkable
Interface for classes that want to interact with the BookmarkManager.
Implement this interface if your class provides information for creating bookmarks.
See the class BookmarkManager
for more information on Bookmarks.
BookmarkManager
Method Summary | |
---|---|
Component |
getBookmarkBlocker()
Get the component which to block for modal dialogs. |
String |
getBookmarkTitle()
Get the title for the Bookmark. |
String |
getBookmarkURL()
Get the URL for the Bookmark. |
boolean |
isBookmarkPossible()
Get wether it currently is possible to create a bookmark. |
boolean |
load(String url)
Load a document. Invoked when the user requests to load a Bookmark. |
Method Detail |
---|
boolean isBookmarkPossible()
true
if it is possible to create a bookmark, e.g. getBookmarkTitle()
and getBookmarkURL()
will return
meaningful values, otherwise false
String getBookmarkTitle()
String getBookmarkURL()
boolean load(String url)
load
in interface CanLoad
url
- URL from bookmark
true
if and only if loading the file was successfulComponent getBookmarkBlocker()
null
.
|
JAPI Yet another Java API API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |