Class PropTreeViewNode
- java.lang.Object
-
- com.inductiveautomation.ignition.client.util.gui.tree.AbstractLazyLoadingTreeNode<javax.swing.tree.TreeNode>
-
- com.inductiveautomation.perspective.designer.ui.trees.PropTreeViewNode
-
- All Implemented Interfaces:
javax.swing.tree.TreeNode
public class PropTreeViewNode extends AbstractLazyLoadingTreeNode<javax.swing.tree.TreeNode>
Tree node implementation for displaying the structure inside a single View. Root node takes an open view editor, and will expose the components and properties inside the view that editor has open.
-
-
Field Summary
-
Fields inherited from class com.inductiveautomation.ignition.client.util.gui.tree.AbstractLazyLoadingTreeNode
parent
-
-
Constructor Summary
Constructors Constructor Description PropTreeViewNode(PropTreeRootNode root, DesignAdapter adapter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<javax.swing.tree.TreePath>
findTreePath(ComponentPath path)
protected java.util.List<javax.swing.tree.TreeNode>
loadChildren()
This will be called as late a possible for the node to populate its children list.java.lang.String
toString()
-
Methods inherited from class com.inductiveautomation.ignition.client.util.gui.tree.AbstractLazyLoadingTreeNode
checkChildren, children, findChild, getAllowsChildren, getChildAt, getChildCount, getIndex, getParent, isLeaf, setChildren
-
-
-
-
Constructor Detail
-
PropTreeViewNode
public PropTreeViewNode(PropTreeRootNode root, DesignAdapter adapter)
-
-
Method Detail
-
findTreePath
public java.util.Optional<javax.swing.tree.TreePath> findTreePath(ComponentPath path)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
loadChildren
protected java.util.List<javax.swing.tree.TreeNode> loadChildren()
Description copied from class:AbstractLazyLoadingTreeNode
This will be called as late a possible for the node to populate its children list. May return null if there are no children.- Specified by:
loadChildren
in classAbstractLazyLoadingTreeNode<javax.swing.tree.TreeNode>
-
-