Package gaiasky.interafce
Class BookmarksManager.BNode
- java.lang.Object
-
- gaiasky.interafce.BookmarksManager.BNode
-
- Enclosing class:
- BookmarksManager
public class BookmarksManager.BNode extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<BookmarksManager.BNode>
children
boolean
folder
java.lang.String
name
BookmarksManager.BNode
parent
java.nio.file.Path
path
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BookmarksManager.BNode
getFirstFolderAncestor()
void
insert(BookmarksManager.BNode node)
boolean
isDescendantOf(BookmarksManager.BNode other)
java.lang.String
toString()
-
-
-
Field Detail
-
name
public java.lang.String name
-
path
public java.nio.file.Path path
-
parent
public BookmarksManager.BNode parent
-
children
public java.util.List<BookmarksManager.BNode> children
-
folder
public boolean folder
-
-
Method Detail
-
insert
public void insert(BookmarksManager.BNode node)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getFirstFolderAncestor
public BookmarksManager.BNode getFirstFolderAncestor()
-
isDescendantOf
public boolean isDescendantOf(BookmarksManager.BNode other)
-
-