Class TagTreeNode
java.lang.Object
com.inductiveautomation.ignition.client.tags.tree.node.AbstractBrowseNode
com.inductiveautomation.ignition.client.tags.tree.node.TagTreeNode
- All Implemented Interfaces:
BrowseTreeNode
,InfoNode
,ValueNode
,AsynchronousTreeNode
,TagChangeListener
,EventListener
,TreeNode
- Direct Known Subclasses:
FolderNode
,PropertyNode
,TagProviderNode
public class TagTreeNode
extends AbstractBrowseNode
implements InfoNode, TagChangeListener, ValueNode
-
Nested Class Summary
Nested classes/interfaces inherited from class com.inductiveautomation.ignition.client.tags.tree.node.AbstractBrowseNode
AbstractBrowseNode.BrowseTreeComparator, AbstractBrowseNode.InfoComparator, AbstractBrowseNode.Loader, AbstractBrowseNode.LoadingStatus, AbstractBrowseNode.NodeWrapper
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected TagPath
protected Set<TagTypeDescriptor>
protected QualifiedValue
protected static final Set<TagObjectType>
protected BrowseTreeNode
protected boolean
protected static final Set<TagObjectType>
Fields inherited from class com.inductiveautomation.ignition.client.tags.tree.node.AbstractBrowseNode
childStatus, errorNode, executor, info, loadingNode, loadRunner, log, nodeList, nodeMap, parentIndex, TAG_COMP, treeModel, visible
Fields inherited from interface com.inductiveautomation.ignition.client.tags.tree.node.BrowseTreeNode
NO_TYPES
Fields inherited from interface com.inductiveautomation.ignition.client.tags.tree.node.ValueNode
VALUE_RELEVANT_TYPES
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BrowseTreeNode
createChildNode
(NodeBrowseInfo childInfo) protected List<BrowseTreeNode>
Returns the type of objects that can be added at this level.getName()
Returns the name, as it would be represented in a TagPath, of this nodeNarrowing return for getParentprotected TagPath
Returns the tag path for this tree nodeReturns the tooltip text for the tree nodegetValue()
void
install
(TagTreeModel model, int index) Called then the node is created.boolean
isLeaf()
protected void
protected void
void
Invoked when the tag has changedvoid
Methods inherited from class com.inductiveautomation.ignition.client.tags.tree.node.AbstractBrowseNode
blockLoad, children, createLoader, createNodeMap, equals, findChildNodeByName, fireLightweightChange, fireNodeChanged, getAllowsChildren, getChildAt, getChildCount, getClientContext, getIndex, getInfo, getManager, getRank, hasChild, hashCode, isMetaNode, isVisible, loadCancelled, loadChildrenAsync, loadChildrenWithStatus, loadDone, loadError, logLoaded, maybeBrowseAsync, reload, reloadSynchronous, setInfo, setVisible, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.inductiveautomation.ignition.common.tags.model.event.TagChangeListener
getSecurityContext, isLightweight
Methods inherited from interface com.inductiveautomation.ignition.client.tags.tree.node.ValueNode
isValueRelevant
-
Field Details
-
VALID_PARENTS
-
folderTypes
-
currentvalue
-
parent
-
subscribed
protected boolean subscribed -
browseValuePath
-
cachedAllowedTypes
-
-
Constructor Details
-
TagTreeNode
-
-
Method Details
-
getValue
-
setCurrentValue
-
getProviderNode
-
getAllowedNewObjectTypes
Description copied from interface:BrowseTreeNode
Returns the type of objects that can be added at this level.- Specified by:
getAllowedNewObjectTypes
in interfaceBrowseTreeNode
-
getEditRights
- Specified by:
getEditRights
in interfaceBrowseTreeNode
-
getSubscriptionPath
-
install
Description copied from interface:BrowseTreeNode
Called then the node is created.- Specified by:
install
in interfaceBrowseTreeNode
- Overrides:
install
in classAbstractBrowseNode
index
- The index at which this node occurs in its parent
-
uninstall
public void uninstall()- Specified by:
uninstall
in interfaceBrowseTreeNode
- Overrides:
uninstall
in classAbstractBrowseNode
-
executeChildrenBrowse
- Specified by:
executeChildrenBrowse
in classAbstractBrowseNode
- Throws:
Exception
-
createChildNode
-
notifyVisibilityChange
protected void notifyVisibilityChange()- Overrides:
notifyVisibilityChange
in classAbstractBrowseNode
-
isLeaf
public boolean isLeaf()- Specified by:
isLeaf
in interfaceTreeNode
- Overrides:
isLeaf
in classAbstractBrowseNode
-
tagChanged
Description copied from interface:TagChangeListener
Invoked when the tag has changed- Specified by:
tagChanged
in interfaceTagChangeListener
- Parameters:
e
- a ChangeEvent object- Throws:
InvalidListenerException
-
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
-
getTooltipText
Description copied from interface:BrowseTreeNode
Returns the tooltip text for the tree node- Specified by:
getTooltipText
in interfaceBrowseTreeNode
-
getTagPath
Description copied from interface:BrowseTreeNode
Returns the tag path for this tree node- Specified by:
getTagPath
in interfaceBrowseTreeNode
- Overrides:
getTagPath
in classAbstractBrowseNode
-
getTagType
- Specified by:
getTagType
in interfaceInfoNode
-
getParent
Description copied from interface:BrowseTreeNode
Narrowing return for getParent- Specified by:
getParent
in interfaceBrowseTreeNode
- Specified by:
getParent
in interfaceTreeNode
-