Class HistoricalProvidersNode.HistoricalBrowseResultNode
- java.lang.Object
-
- com.inductiveautomation.ignition.client.util.gui.tree.AbstractAsynchronousTreeNode<javax.swing.tree.TreeNode>
-
- com.inductiveautomation.ignition.client.tags.tree.node.HistoricalProvidersNode.HistoricalBrowseResultNode
-
- All Implemented Interfaces:
AsynchronousTreeNode
,RenderableTreeNode
,javax.swing.tree.TreeNode
- Enclosing class:
- HistoricalProvidersNode
public class HistoricalProvidersNode.HistoricalBrowseResultNode extends AbstractAsynchronousTreeNode<javax.swing.tree.TreeNode> implements RenderableTreeNode
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.inductiveautomation.ignition.client.util.gui.tree.AbstractAsynchronousTreeNode
AbstractAsynchronousTreeNode.LoadingStatus
-
-
Field Summary
-
Fields inherited from class com.inductiveautomation.ignition.client.util.gui.tree.AbstractAsynchronousTreeNode
errorNode, loadingNode, nodeList, parent, treeModel
-
-
Constructor Summary
Constructors Constructor Description HistoricalBrowseResultNode(javax.swing.tree.DefaultTreeModel treeModel, javax.swing.tree.TreeNode parent, Result result)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 iconResult
getResult()
java.lang.String
getTooltipText()
A tooltip (may be null) for the nodeboolean
isLeaf()
protected java.util.List<javax.swing.tree.TreeNode>
loadChildren()
protected javax.swing.tree.TreeNode
newErrorNode(java.lang.Throwable ex)
protected javax.swing.tree.TreeNode
newLoadingNode()
java.lang.String
toString()
-
Methods inherited from class com.inductiveautomation.ignition.client.util.gui.tree.AbstractAsynchronousTreeNode
blockLoad, checkChildren, children, getAllowsChildren, getChildAt, getChildCount, getIndex, getParent, loadDone, loadError, reload, showLoadingError, sortChildren
-
-
-
-
Constructor Detail
-
HistoricalBrowseResultNode
public HistoricalBrowseResultNode(javax.swing.tree.DefaultTreeModel treeModel, javax.swing.tree.TreeNode parent, Result result)
-
-
Method Detail
-
getResult
public Result getResult()
-
isLeaf
public boolean isLeaf()
- Specified by:
isLeaf
in interfacejavax.swing.tree.TreeNode
- Overrides:
isLeaf
in classAbstractAsynchronousTreeNode<javax.swing.tree.TreeNode>
-
loadChildren
protected java.util.List<javax.swing.tree.TreeNode> loadChildren() throws java.lang.Exception
- Specified by:
loadChildren
in classAbstractAsynchronousTreeNode<javax.swing.tree.TreeNode>
- Throws:
java.lang.Exception
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
newLoadingNode
protected javax.swing.tree.TreeNode newLoadingNode()
- Specified by:
newLoadingNode
in classAbstractAsynchronousTreeNode<javax.swing.tree.TreeNode>
-
newErrorNode
protected javax.swing.tree.TreeNode newErrorNode(java.lang.Throwable ex)
- Specified by:
newErrorNode
in classAbstractAsynchronousTreeNode<javax.swing.tree.TreeNode>
-
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
-
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
-
getTooltipText
public java.lang.String getTooltipText()
Description copied from interface:RenderableTreeNode
A tooltip (may be null) for the node- Specified by:
getTooltipText
in interfaceRenderableTreeNode
-
-