Class DefaultLoadingNode<T extends javax.swing.tree.TreeNode>
- java.lang.Object
-
- com.inductiveautomation.ignition.client.util.gui.tree.DefaultLoadingNode<T>
-
- All Implemented Interfaces:
RenderableTreeNode
,javax.swing.tree.TreeNode
- Direct Known Subclasses:
LoadingNode
public class DefaultLoadingNode<T extends javax.swing.tree.TreeNode> extends java.lang.Object implements RenderableTreeNode
-
-
Constructor Summary
Constructors Constructor Description DefaultLoadingNode(T parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
blockLoad()
Noop - no childrenjava.util.Enumeration
children()
boolean
getAllowsChildren()
javax.swing.tree.TreeNode
getChildAt(int idx)
int
getChildCount()
int
getFontStyle()
A bitmask of Font.BOLD, Font.NORMAL, Font.ITALIC to specify the font style of the nodejava.lang.Object
getIconKey()
Return a hashable key to specify this node's iconint
getIndex(javax.swing.tree.TreeNode node)
T
getParent()
java.lang.String
getTooltipText()
A tooltip (may be null) for the nodeboolean
isLeaf()
boolean
isMetaNode()
void
reload()
Noop - no childrenjava.lang.String
toString()
-
-
-
Constructor Detail
-
DefaultLoadingNode
public DefaultLoadingNode(T parent)
-
-
Method Detail
-
getParent
public T getParent()
- Specified by:
getParent
in interfacejavax.swing.tree.TreeNode
-
getChildAt
public javax.swing.tree.TreeNode getChildAt(int idx)
- Specified by:
getChildAt
in interfacejavax.swing.tree.TreeNode
-
getTooltipText
public java.lang.String getTooltipText()
Description copied from interface:RenderableTreeNode
A tooltip (may be null) for the node- Specified by:
getTooltipText
in interfaceRenderableTreeNode
-
isMetaNode
public boolean isMetaNode()
-
children
public java.util.Enumeration children()
- Specified by:
children
in interfacejavax.swing.tree.TreeNode
-
getAllowsChildren
public boolean getAllowsChildren()
- Specified by:
getAllowsChildren
in interfacejavax.swing.tree.TreeNode
-
getChildCount
public int getChildCount()
- Specified by:
getChildCount
in interfacejavax.swing.tree.TreeNode
-
getIndex
public int getIndex(javax.swing.tree.TreeNode node)
- Specified by:
getIndex
in interfacejavax.swing.tree.TreeNode
-
isLeaf
public boolean isLeaf()
- Specified by:
isLeaf
in interfacejavax.swing.tree.TreeNode
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
blockLoad
public void blockLoad()
Noop - no children
-
reload
public void reload()
Noop - no children
-
getFontStyle
public int getFontStyle()
Description copied from interface:RenderableTreeNode
A bitmask of Font.BOLD, Font.NORMAL, Font.ITALIC to specify the font style of the node- Specified by:
getFontStyle
in interfaceRenderableTreeNode
-
getIconKey
public java.lang.Object getIconKey()
Description copied from interface:RenderableTreeNode
Return a hashable key to specify this node's icon- Specified by:
getIconKey
in interfaceRenderableTreeNode
-
-