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 SummaryFieldsFields inherited from class javax.swing.tree.DefaultMutableTreeNodeallowsChildren, children, EMPTY_ENUMERATION, parent, userObject
- 
Constructor SummaryConstructorsConstructorDescriptionKeysBrowserNode(ReportResource reportResource, SampleData sampleData, boolean showAggregates) Used for the root node
- 
Method SummaryModifier and TypeMethodDescriptionprotected Stringprotected StringWhy 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 EntityReturns the entity.protected StringgetName()protected Stringprotected StringgetProp()booleanvoidvoidsetKeyPath(String keyPath) toString()Methods inherited from class javax.swing.tree.DefaultMutableTreeNodeadd, 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- 
KeysBrowserNodepublic KeysBrowserNode(ReportResource reportResource, SampleData sampleData, boolean showAggregates) Used for the root node
 
- 
- 
Method Details- 
getAdjustedKeyPath
- 
getName
- 
getEntityReturns the entity.
- 
getProp
- 
isBuiltInpublic boolean isBuiltIn()
- 
buildDataKeyPathWhy 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:
- toStringin class- DefaultMutableTreeNode
 
 
-