Class KeysBrowserNode
- java.lang.Object
- 
- javax.swing.tree.DefaultMutableTreeNode
- 
- com.inductiveautomation.reporting.designer.workspace.keys.KeysBrowserNode
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Cloneable,- javax.swing.tree.MutableTreeNode,- javax.swing.tree.TreeNode
 
 public class KeysBrowserNode extends javax.swing.tree.DefaultMutableTreeNodeFilename: KeysBrowserNode.java Created on May 12, 2015 Author: Kathy Applebaum Copyright Inductive Automation 2015 Project: Reporting- See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description static java.lang.StringREPORT_FOLDER_NAME
 - 
Constructor SummaryConstructors Constructor Description KeysBrowserNode(ReportResource reportResource, SampleData sampleData, boolean showAggregates)Used for the root node
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringbuildAggKeyPath()protected java.lang.StringbuildDataKeyPath()Why all this key path building nonsense? Because we made our folder structure intuitive, but we need to match RM's data key structure.java.lang.StringgetAdjustedKeyPath(RMShape shape)protected EntitygetEntity()Returns the entity.protected java.lang.StringgetGrandParentKeyPath()java.lang.StringgetKeyPath()java.lang.StringgetName()protected java.lang.StringgetParentKeyPath()protected java.lang.StringgetParentName()PropertygetProp()java.lang.StringgetTrimmedKeyPath()booleanisBuiltIn()voidsetEntity(Entity entity)voidsetKeyPath(java.lang.String keyPath)java.lang.StringtoString()- 
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 Detail- 
REPORT_FOLDER_NAMEpublic static final java.lang.String REPORT_FOLDER_NAME - See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
KeysBrowserNodepublic KeysBrowserNode(ReportResource reportResource, SampleData sampleData, boolean showAggregates) Used for the root node
 
- 
 - 
Method Detail- 
getAdjustedKeyPathpublic java.lang.String getAdjustedKeyPath(RMShape shape) 
 - 
getNamepublic java.lang.String getName() 
 - 
getEntityprotected Entity getEntity() Returns the entity.
 - 
getProppublic Property getProp() 
 - 
isBuiltInpublic boolean isBuiltIn() 
 - 
buildDataKeyPathprotected java.lang.String 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.
 - 
buildAggKeyPathprotected java.lang.String buildAggKeyPath() 
 - 
getParentKeyPathprotected java.lang.String getParentKeyPath() 
 - 
getParentNameprotected java.lang.String getParentName() 
 - 
getGrandParentKeyPathprotected java.lang.String getGrandParentKeyPath() 
 - 
setEntitypublic void setEntity(Entity entity) 
 - 
getKeyPath@Nonnull public java.lang.String getKeyPath() 
 - 
getTrimmedKeyPath@Nonnull public java.lang.String getTrimmedKeyPath() 
 - 
setKeyPathpublic void setKeyPath(java.lang.String keyPath) 
 - 
toString@Nonnull public java.lang.String toString() - Overrides:
- toStringin class- javax.swing.tree.DefaultMutableTreeNode
 
 
- 
 
-