Class KeysBrowserNode
java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
com.inductiveautomation.reporting.designer.workspace.keys.KeysBrowserNode
- All Implemented Interfaces:
Serializable
,Cloneable
,MutableTreeNode
,TreeNode
Filename: KeysBrowserNode.java
Created on May 12, 2015
Author: Kathy Applebaum
Copyright Inductive Automation 2015
Project: Reporting
- See Also:
-
Field Summary
FieldsFields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
-
Constructor Summary
ConstructorsConstructorDescriptionKeysBrowserNode
(ReportResource reportResource, SampleData sampleData, boolean showAggregates) Used for the root node -
Method Summary
Modifier and TypeMethodDescriptionprotected String
protected String
Why all this key path building nonsense? Because we made our folder structure intuitive, but we need to match RM's data key structure.getAdjustedKeyPath
(RMShape shape) protected Entity
Returns the entity.protected String
getName()
protected String
protected String
getProp()
boolean
void
void
setKeyPath
(String keyPath) toString()
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject
-
Field Details
-
REPORT_FOLDER_NAME
- See Also:
-
-
Constructor Details
-
KeysBrowserNode
public KeysBrowserNode(ReportResource reportResource, SampleData sampleData, boolean showAggregates) Used for the root node
-
-
Method Details
-
getAdjustedKeyPath
-
getName
-
getEntity
Returns the entity. -
getProp
-
isBuiltIn
public boolean isBuiltIn() -
buildDataKeyPath
Why all this key path building nonsense? Because we made our folder structure intuitive, but we need to match RM's data key structure. -
buildAggKeyPath
-
getParentKeyPath
-
getParentName
-
getGrandParentKeyPath
-
setEntity
-
getKeyPath
-
getTrimmedKeyPath
-
setKeyPath
-
toString
- Overrides:
toString
in classDefaultMutableTreeNode
-