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()booleangetAllowsChildren()javax.swing.tree.TreeNodegetChildAt(int childIndex)intgetChildCount()intgetIndex(javax.swing.tree.TreeNode node)booleanisLeaf()protected voidloadChildren()protected abstract voidloadChildren(java.util.List<BaseNode> children)voidrefresh()
-
-
-
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:
getAllowsChildrenin interfacejavax.swing.tree.TreeNode- Overrides:
getAllowsChildrenin classBaseNode
-
getChildAt
public javax.swing.tree.TreeNode getChildAt(int childIndex)
- Specified by:
getChildAtin interfacejavax.swing.tree.TreeNode- Overrides:
getChildAtin classBaseNode
-
getChildCount
public int getChildCount()
- Specified by:
getChildCountin interfacejavax.swing.tree.TreeNode- Overrides:
getChildCountin classBaseNode
-
getIndex
public int getIndex(javax.swing.tree.TreeNode node)
-
-