Class FolderNode
- java.lang.Object
-
- com.inductiveautomation.ignition.gateway.web.components.quickclient.BaseNode
-
- com.inductiveautomation.ignition.gateway.web.components.quickclient.FolderNode
-
- All Implemented Interfaces:
java.io.Serializable
,javax.swing.tree.TreeNode
public abstract class FolderNode extends BaseNode
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FolderNode(BaseNode parent)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.util.Enumeration<? extends javax.swing.tree.TreeNode>
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()
-
-
-
Field Detail
-
children
protected java.util.List<BaseNode> children
-
-
Constructor Detail
-
FolderNode
public FolderNode(BaseNode parent)
-
-
Method Detail
-
loadChildren
protected void loadChildren()
-
loadChildren
protected abstract void loadChildren(java.util.List<BaseNode> children) throws java.lang.Exception
- Throws:
java.lang.Exception
-
children
public java.util.Enumeration<? extends javax.swing.tree.TreeNode> children()
-
refresh
public void refresh()
-
getAllowsChildren
public boolean getAllowsChildren()
- Specified by:
getAllowsChildren
in interfacejavax.swing.tree.TreeNode
- Overrides:
getAllowsChildren
in classBaseNode
-
getChildAt
public javax.swing.tree.TreeNode getChildAt(int childIndex)
- Specified by:
getChildAt
in interfacejavax.swing.tree.TreeNode
- Overrides:
getChildAt
in classBaseNode
-
getChildCount
public int getChildCount()
- Specified by:
getChildCount
in interfacejavax.swing.tree.TreeNode
- Overrides:
getChildCount
in classBaseNode
-
getIndex
public int getIndex(javax.swing.tree.TreeNode node)
-
-