org.autoplot.bookmarks.Bookmark.Folder

Folder( String title )

Folder( String title, String remoteUrl )


REMOTE_STATUS_NOT_LOADED


REMOTE_STATUS_SUCCESSFUL


REMOTE_STATUS_UNSUCCESSFUL


copy

copy( ) → org.autoplot.bookmarks.Bookmark

Returns:

org.autoplot.bookmarks.Bookmark

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


equals

equals( Object obj ) → boolean

Parameters

obj - an Object

Returns:

boolean

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


getBookmarks

getBookmarks( ) → java.util.List

return the bookmarks, the mutable internal store. use copy() to get a deep copy.

Returns:

a java.util.List

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


getRemoteStatus

getRemoteStatus( ) → int

remote status indicator. -1 not loaded 0 successful 1 unsuccessful.

Returns:

int

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


getRemoteStatusMsg

getRemoteStatusMsg( ) → String

Returns:

java.lang.String

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


getRemoteUrl

getRemoteUrl( ) → String

a remote bookmark is one that is a copy of a folder at the remote location. If it's a remote folder, then we use it to maintain the bookmarks. We'll keep a local copy, but this may be updated. null indicates that this this a not a remote bookmark.

Returns:

a URI or null.

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


hashCode

hashCode( ) → int

Returns:

int

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


setRemoteStatus

setRemoteStatus( int status ) → void

set the remote status.

Parameters

status - the new status: -1 not loaded, 0 successful, 1 unsuccessful.

Returns:

void (returns nothing)

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


setRemoteStatusMsg

setRemoteStatusMsg( String msg ) → void

Parameters

msg - a String

Returns:

void (returns nothing)

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


setRemoteUrl

setRemoteUrl( String url ) → void

set this to the location of the master copy of the bookmarks, or null.

Parameters

url - 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]