Class PropTreePropertyNode
- java.lang.Object
-
- com.inductiveautomation.ignition.client.util.gui.tree.AbstractLazyLoadingTreeNode<PropTreePropertyNode>
-
- com.inductiveautomation.perspective.designer.ui.trees.PropTreePropertyNode
-
- All Implemented Interfaces:
javax.swing.tree.TreeNode
public class PropTreePropertyNode extends AbstractLazyLoadingTreeNode<PropTreePropertyNode>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringcomponentPathprotected JsonPathpathprotected PropertyTypescope-
Fields inherited from class com.inductiveautomation.ignition.client.util.gui.tree.AbstractLazyLoadingTreeNode
parent
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetComponentPath()JsonPathgetPropertyPath()PropertyTypegetScope()static booleanisNotEmpty(com.inductiveautomation.ignition.common.gson.JsonObject object)protected java.util.List<PropTreePropertyNode>loadChildren()This will be called as late a possible for the node to populate its children list.static java.util.List<PropTreePropertyNode>loadFromObject(javax.swing.tree.TreeNode parent, java.lang.String componentPath, PropertyType scope, com.inductiveautomation.ignition.common.gson.JsonObject object)java.lang.StringtoString()static PropTreePropertyNodetoTreeNode(javax.swing.tree.TreeNode parent, java.lang.String componentPath, PropertyType scope, java.lang.Object key, com.inductiveautomation.ignition.common.gson.JsonElement element)-
Methods inherited from class com.inductiveautomation.ignition.client.util.gui.tree.AbstractLazyLoadingTreeNode
checkChildren, children, findChild, getAllowsChildren, getChildAt, getChildCount, getIndex, getParent, isLeaf, setChildren
-
-
-
-
Field Detail
-
componentPath
protected final java.lang.String componentPath
-
scope
protected final PropertyType scope
-
path
protected final JsonPath path
-
-
Method Detail
-
toTreeNode
public static PropTreePropertyNode toTreeNode(javax.swing.tree.TreeNode parent, java.lang.String componentPath, PropertyType scope, java.lang.Object key, com.inductiveautomation.ignition.common.gson.JsonElement element)
-
loadFromObject
public static java.util.List<PropTreePropertyNode> loadFromObject(javax.swing.tree.TreeNode parent, java.lang.String componentPath, PropertyType scope, com.inductiveautomation.ignition.common.gson.JsonObject object)
-
isNotEmpty
public static boolean isNotEmpty(com.inductiveautomation.ignition.common.gson.JsonObject object)
-
getPropertyPath
public JsonPath getPropertyPath()
-
getComponentPath
public java.lang.String getComponentPath()
-
getScope
public PropertyType getScope()
-
loadChildren
@Nullable protected java.util.List<PropTreePropertyNode> loadChildren()
Description copied from class:AbstractLazyLoadingTreeNodeThis 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:
loadChildrenin classAbstractLazyLoadingTreeNode<PropTreePropertyNode>
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-