Class Bookmark
java.lang.Object
com.inductiveautomation.snap.project.Bookmark
A class to represent a bookmark.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidAdds a child bookmark.voidAdds a child bookmark.getChild(int anIndex) Returns the child bookmark at given index.Returns the child with given name.intReturns the number of child bookmarks.Returns the children.getName()Returns the name.Returns the bookmark parent.getURL()Returns the URL.Returns the URL string.booleanisFolder()Returns whether this bookmark is a folder of bookmarks.removeChild(int anIndex) Removes the child bookmark at given index.intremoveChild(Bookmark aBM) Removes the child bookmark at given index.voidsetChildren(List<Bookmark> theBMs) Sets the children.voidsetFolder(boolean aFlag) Sets whether this bookmark is a folder of bookmarks.voidSets the name.voidSets the URL.voidsetURLString(String aURLS) Sets the URL string.toString()Standard toString implementation.
- 
Constructor Details- 
BookmarkCreates a new bookmark.
 
- 
- 
Method Details- 
getNameReturns the name.
- 
setNameSets the name.
- 
getURLReturns the URL.
- 
setURLSets the URL.
- 
getURLStringReturns the URL string.
- 
setURLStringSets the URL string.
- 
isFolderpublic boolean isFolder()Returns whether this bookmark is a folder of bookmarks.
- 
setFolderpublic void setFolder(boolean aFlag) Sets whether this bookmark is a folder of bookmarks.
- 
getParentReturns the bookmark parent.
- 
getChildCountpublic int getChildCount()Returns the number of child bookmarks.
- 
getChildReturns the child bookmark at given index.
- 
getChildrenReturns the children.
- 
setChildrenSets the children.
- 
addChildAdds a child bookmark.
- 
addChildAdds a child bookmark.
- 
removeChildRemoves the child bookmark at given index.
- 
removeChildRemoves the child bookmark at given index.
- 
getChildReturns the child with given name.
- 
toStringStandard toString implementation.
 
-