Class LoadingNode
java.lang.Object
com.inductiveautomation.ignition.client.tags.tree.node.LoadingNode
- All Implemented Interfaces:
BrowseTreeNode
,InfoNode
,AsynchronousTreeNode
,TreeNode
-
Field Summary
Fields inherited from interface com.inductiveautomation.ignition.client.tags.tree.node.BrowseTreeNode
NO_TYPES
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Noop - no childrenchildren()
findChildNodeByName
(String name) Returns the type of objects that can be added at this level.boolean
getChildAt
(int idx) int
int
getInfo()
getName()
Returns the name, as it would be represented in a TagPath, of this nodeNarrowing return for getParentReturns the tag path for this tree nodeReturns the tooltip text for the tree nodeboolean
void
install
(TagTreeModel model, int index) Called then the node is created.boolean
isLeaf()
boolean
Returns true if this node is a meta node.boolean
void
Will perform an async browse and load for the children of this node if they have not already been loaded.void
reload()
Will perform a full browse a reload for the children of this nodevoid
setVisible
(boolean visible) Notifies this node if it is currently displayed or not.toString()
void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.inductiveautomation.ignition.client.tags.tree.node.InfoNode
getTagType
-
Constructor Details
-
LoadingNode
-
-
Method Details
-
getEditRights
- Specified by:
getEditRights
in interfaceBrowseTreeNode
-
getInfo
- Specified by:
getInfo
in interfaceBrowseTreeNode
- Specified by:
getInfo
in interfaceInfoNode
-
getAllowedNewObjectTypes
Description copied from interface:BrowseTreeNode
Returns the type of objects that can be added at this level.- Specified by:
getAllowedNewObjectTypes
in interfaceBrowseTreeNode
-
findChildNodeByName
- Specified by:
findChildNodeByName
in interfaceBrowseTreeNode
-
hasChild
- Specified by:
hasChild
in interfaceBrowseTreeNode
-
getChildAt
- Specified by:
getChildAt
in interfaceTreeNode
-
getParent
Description copied from interface:BrowseTreeNode
Narrowing return for getParent- Specified by:
getParent
in interfaceBrowseTreeNode
- Specified by:
getParent
in interfaceTreeNode
-
getTooltipText
Description copied from interface:BrowseTreeNode
Returns the tooltip text for the tree node- Specified by:
getTooltipText
in interfaceBrowseTreeNode
-
install
Description copied from interface:BrowseTreeNode
Called then the node is created.- Specified by:
install
in interfaceBrowseTreeNode
index
- The index at which this node occurs in its parent
-
getManager
-
isMetaNode
public boolean isMetaNode()Description copied from interface:BrowseTreeNode
Returns true if this node is a meta node. (Like a loading node). Don't try to use the tag path of a Meta node- Specified by:
isMetaNode
in interfaceBrowseTreeNode
-
isVisible
public boolean isVisible()- Specified by:
isVisible
in interfaceBrowseTreeNode
-
reload
public void reload()Description copied from interface:BrowseTreeNode
Will perform a full browse a reload for the children of this node- Specified by:
reload
in interfaceBrowseTreeNode
-
maybeBrowseAsync
public void maybeBrowseAsync()Description copied from interface:BrowseTreeNode
Will perform an async browse and load for the children of this node if they have not already been loaded.- Specified by:
maybeBrowseAsync
in interfaceBrowseTreeNode
-
getTagPath
Description copied from interface:BrowseTreeNode
Returns the tag path for this tree node- Specified by:
getTagPath
in interfaceBrowseTreeNode
-
setVisible
public void setVisible(boolean visible) Description copied from interface:BrowseTreeNode
Notifies this node if it is currently displayed or not.- Specified by:
setVisible
in interfaceBrowseTreeNode
-
uninstall
public void uninstall()- Specified by:
uninstall
in interfaceBrowseTreeNode
-
children
-
getAllowsChildren
public boolean getAllowsChildren()- Specified by:
getAllowsChildren
in interfaceTreeNode
-
getChildCount
public int getChildCount()- Specified by:
getChildCount
in interfaceTreeNode
-
getIndex
-
isLeaf
public boolean isLeaf() -
toString
-
getName
Description copied from interface:BrowseTreeNode
Returns the name, as it would be represented in a TagPath, of this node- Specified by:
getName
in interfaceBrowseTreeNode
-
blockLoad
public void blockLoad()Noop - no children- Specified by:
blockLoad
in interfaceAsynchronousTreeNode
-