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.Exception
public java.util.Enumeration<?> children()
public void refresh()
public boolean getAllowsChildren()
getAllowsChildren
in interface javax.swing.tree.TreeNode
getAllowsChildren
in class BaseNode
public javax.swing.tree.TreeNode getChildAt(int childIndex)
getChildAt
in interface javax.swing.tree.TreeNode
getChildAt
in class BaseNode
public int getChildCount()
getChildCount
in interface javax.swing.tree.TreeNode
getChildCount
in class BaseNode
public int getIndex(javax.swing.tree.TreeNode node)