public abstract class FolderNode extends BaseNode
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<BaseNode> |
children |
| Constructor and Description |
|---|
FolderNode(BaseNode parent) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Enumeration<?> |
children() |
boolean |
getAllowsChildren() |
javax.swing.tree.TreeNode |
getChildAt(int childIndex) |
int |
getChildCount() |
int |
getIndex(javax.swing.tree.TreeNode node) |
boolean |
isLeaf() |
protected void |
loadChildren() |
protected abstract void |
loadChildren(java.util.List<BaseNode> children) |
void |
refresh() |
protected java.util.List<BaseNode> children
public FolderNode(BaseNode parent)
protected void loadChildren()
protected abstract void loadChildren(java.util.List<BaseNode> children) throws java.lang.Exception
java.lang.Exceptionpublic java.util.Enumeration<?> children()
public void refresh()
public boolean getAllowsChildren()
getAllowsChildren in interface javax.swing.tree.TreeNodegetAllowsChildren in class BaseNodepublic javax.swing.tree.TreeNode getChildAt(int childIndex)
getChildAt in interface javax.swing.tree.TreeNodegetChildAt in class BaseNodepublic int getChildCount()
getChildCount in interface javax.swing.tree.TreeNodegetChildCount in class BaseNodepublic int getIndex(javax.swing.tree.TreeNode node)