java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
com.inductiveautomation.reporting.designer.workspace.keys.KeysBrowserNode
All Implemented Interfaces:
Serializable, Cloneable, MutableTreeNode, TreeNode

public class KeysBrowserNode extends DefaultMutableTreeNode
Filename: KeysBrowserNode.java Created on May 12, 2015 Author: Kathy Applebaum Copyright Inductive Automation 2015 Project: Reporting
See Also:
  • Field Details

  • Constructor Details

    • KeysBrowserNode

      public KeysBrowserNode(ReportResource reportResource, SampleData sampleData, boolean showAggregates)
      Used for the root node
  • Method Details

    • getAdjustedKeyPath

      public String getAdjustedKeyPath(RMShape shape)
    • getName

      public String getName()
    • getEntity

      protected Entity getEntity()
      Returns the entity.
    • getProp

      public Property getProp()
    • isBuiltIn

      public boolean isBuiltIn()
    • buildDataKeyPath

      protected 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.
    • buildAggKeyPath

      protected String buildAggKeyPath()
    • getParentKeyPath

      protected String getParentKeyPath()
    • getParentName

      protected String getParentName()
    • getGrandParentKeyPath

      protected String getGrandParentKeyPath()
    • setEntity

      public void setEntity(Entity entity)
    • getKeyPath

      @Nonnull public String getKeyPath()
    • getTrimmedKeyPath

      @Nonnull public String getTrimmedKeyPath()
    • setKeyPath

      public void setKeyPath(String keyPath)
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class DefaultMutableTreeNode