org.autoplot.bookmarks.Bookmark

Internal representation of a Bookmark, containing an Autoplot URI, title, and additional documentation for the URI. This can also be a folder that contains a list of Bookmarks, or a remote folder that is controlled be a remote bookmarks file./


TITLE_ERROR_OCCURRED


MSG_NO_REMOTE


TOOLTIP_NO_REMOTE


MSG_REMOTE


TOOLTIP_REMOTE


MSG_NOT_LOADED


TOOLTIP_NOT_LOADED


REMOTE_BOOKMARK_DEPTH_LIMIT

limit on the number of remote containing remote containing remote...


PROP_ICON


PROP_PARENT


addPropertyChangeListener

addPropertyChangeListener( java.beans.PropertyChangeListener l ) → void

Adds a PropertyChangeListener to the listener list.

Parameters

l - The listener to add.

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc]


copy

copy( ) → Bookmark

Returns:

org.autoplot.bookmarks.Bookmark

[search for examples] [view on GitHub] [view on old javadoc]


formatBookmark

formatBookmark( org.w3c.dom.Document doc, org.w3c.dom.Element parent, org.autoplot.bookmarks.Bookmark bookmark ) → void

Parameters

doc - a Document
parent - an Element
bookmark - a Bookmark

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc]

formatBookmark( org.autoplot.bookmarks.Bookmark bookmark ) → String

formatBooks

formatBooks( java.util.List bookmarks ) → String

format the bookmarks into xml for persistent storage.

Parameters

bookmarks - List of Bookmark.List or Bookmark

Returns:

a String

[search for examples] [view on GitHub] [view on old javadoc]

formatBooks( java.io.OutputStream out, java.util.List bookmarks ) → void

formatBooksOld

formatBooksOld( java.util.List bookmarks ) → String

format the bookmarks into xml for persistent storage.

Parameters

bookmarks - List of Bookmark.List or Bookmark

Returns:

a String

[search for examples] [view on GitHub] [view on old javadoc]


getDescription

getDescription( ) → String

Returns:

java.lang.String

[search for examples] [view on GitHub] [view on old javadoc]


getDescriptionUrl

getDescriptionUrl( ) → URL

returns the URL, or null if one is not available.

Returns:

a java.net.URL

[search for examples] [view on GitHub] [view on old javadoc]


getIcon

getIcon( ) → ImageIcon

Returns:

javax.swing.ImageIcon

[search for examples] [view on GitHub] [view on old javadoc]


getId

getId( ) → String

Returns:

java.lang.String

[search for examples] [view on GitHub] [view on old javadoc]


getParent

getParent( ) → Folder

Returns:

org.autoplot.bookmarks.Bookmark.Folder

[search for examples] [view on GitHub] [view on old javadoc]


getTitle

getTitle( ) → String

Returns:

java.lang.String

[search for examples] [view on GitHub] [view on old javadoc]


isHidden

isHidden( ) → boolean

Returns:

boolean

[search for examples] [view on GitHub] [view on old javadoc]


parseBookmark

parseBookmark( String data ) → Bookmark

Parameters

data - a String

Returns:

an org.autoplot.bookmarks.Bookmark

[search for examples] [view on GitHub] [view on old javadoc]

parseBookmark( org.w3c.dom.Node element, String vers, int remoteLevel ) → Bookmark

parseBookmarks

parseBookmarks( String data ) → List

Parameters

data - a String

Returns:

java.util.List

[search for examples] [view on GitHub] [view on old javadoc]

parseBookmarks( String data, int depth ) → List
parseBookmarks( java.net.URL url ) → List
parseBookmarks( org.w3c.dom.Element root ) → List
parseBookmarks( org.w3c.dom.Element root, int remoteLevel ) → List
parseBookmarks( org.w3c.dom.Element root, String vers, int remoteLevel ) → List

removePropertyChangeListener

removePropertyChangeListener( java.beans.PropertyChangeListener l ) → void

Removes a PropertyChangeListener from the listener list.

Parameters

l - The listener to remove.

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc]


setDescription

setDescription( String description ) → void

Parameters

description - a String

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc]


setDescriptionUrl

setDescriptionUrl( java.net.URL descriptionUrl ) → void

Parameters

descriptionUrl - an URL

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc]


setHidden

setHidden( boolean hidden ) → void

Parameters

hidden - a boolean

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc]


setIcon

setIcon( javax.swing.ImageIcon icon ) → void

Parameters

icon - an ImageIcon

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc]


setId

setId( String id ) → void

Parameters

id - a String

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc]


setParent

setParent( org.autoplot.bookmarks.Bookmark.Folder parent ) → void

Parameters

parent - a Bookmark.Folder

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc]


setTitle

setTitle( String title ) → void

Parameters

title - a String

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc]


toString

toString( ) → String

Returns:

java.lang.String

[search for examples] [view on GitHub] [view on old javadoc]