Class ArrayValueTreeNode
java.lang.Object
com.inductiveautomation.ignition.client.tags.tree.node.values.ArrayValueTreeNode
- All Implemented Interfaces:
BrowseTreeNode
,InfoNode
,ValueNode
,AsynchronousTreeNode
,TreeNode
Created by colby.clegg on 7/17/2015.
-
Field Summary
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
ConstructorsConstructorDescriptionArrayValueTreeNode
(ValueNode valueSource, BrowseTreeNode parent, int row, int column, Class<?> dataType, boolean isDataset) ArrayValueTreeNode
(ValueNode valueSource, BrowseTreeNode parent, int row, Class<?> dataType) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Force this tree node to load it's children (if not already loaded) synchronously.children()
findChildNodeByName
(String name) Returns the type of objects that can be added at this level.boolean
int
getChildAt
(int childIndex) int
int
int
getInfo()
getName()
Returns the name, as it would be represented in a TagPath, of this nodeNarrowing return for getParentint
getRow()
Returns the tag path for this tree nodeReturns the tooltip text for the tree nodegetValue()
boolean
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
Methods inherited from interface com.inductiveautomation.ignition.client.tags.tree.node.ValueNode
isValueRelevant
-
Constructor Details
-
ArrayValueTreeNode
public ArrayValueTreeNode(ValueNode valueSource, BrowseTreeNode parent, int row, int column, Class<?> dataType, boolean isDataset) -
ArrayValueTreeNode
-
-
Method Details
-
getParent
Description copied from interface:BrowseTreeNode
Narrowing return for getParent- Specified by:
getParent
in interfaceBrowseTreeNode
- Specified by:
getParent
in interfaceTreeNode
-
getInfo
- Specified by:
getInfo
in interfaceBrowseTreeNode
- Specified by:
getInfo
in interfaceInfoNode
-
getAllowsChildren
public boolean getAllowsChildren()- Specified by:
getAllowsChildren
in interfaceTreeNode
-
getChildCount
public int getChildCount()- Specified by:
getChildCount
in interfaceTreeNode
-
getTagPath
Description copied from interface:BrowseTreeNode
Returns the tag path for this tree node- Specified by:
getTagPath
in interfaceBrowseTreeNode
-
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
-
toString
-
getArrayIndex
public int getArrayIndex() -
getRow
public int getRow() -
getColumn
public int getColumn() -
getValue
-
getChildAt
- Specified by:
getChildAt
in interfaceTreeNode
-
getIndex
-
isLeaf
public boolean isLeaf() -
children
-
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
-
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
-
hasChild
- Specified by:
hasChild
in interfaceBrowseTreeNode
-
findChildNodeByName
- Specified by:
findChildNodeByName
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
-
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
-
uninstall
public void uninstall()- Specified by:
uninstall
in interfaceBrowseTreeNode
-
isVisible
public boolean isVisible()- Specified by:
isVisible
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
-
blockLoad
public void blockLoad()Description copied from interface:AsynchronousTreeNode
Force this tree node to load it's children (if not already loaded) synchronously.- Specified by:
blockLoad
in interfaceAsynchronousTreeNode
-