All Implemented Interfaces:
DynamicPropertyProvider, LoadingMonitor, LocaleListener, MutableDynamicPropertyProvider, StyleProvider, ComponentLifecycle, DesignerInitializable, QualityMonitor, VisionComponent, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, TreeSelectionListener, ScrollPaneConstants

See Also:
  • Constructor Details

    • RowSelectorTree

      public RowSelectorTree()
  • Method Details

    • clearSelection

      public void clearSelection()
    • onStartup

      protected void onStartup()
      Description copied from class: AbstractVisionScrollPane
      Subclasses should override this to provide startup logic.
      Overrides:
      onStartup in class AbstractVisionScrollPane
    • onShutdown

      protected void onShutdown()
      Description copied from class: AbstractVisionScrollPane
      Subclasses should override this to provide shutdown logic.
      Overrides:
      onShutdown in class AbstractVisionScrollPane
    • notifyActivationStateChanged

      public void notifyActivationStateChanged(LicenseState licenseState)
    • getBackground

      public Color getBackground()
      Overrides:
      getBackground in class Component
    • getFont

      public Font getFont()
      Specified by:
      getFont in interface MenuContainer
      Overrides:
      getFont in class Component
    • getForeground

      public Color getForeground()
      Overrides:
      getForeground in class Component
    • setBackground

      public void setBackground(Color color)
      Overrides:
      setBackground in class JComponent
    • getSelectionBackground

      public Color getSelectionBackground()
    • setSelectionBackground

      public void setSelectionBackground(Color selectionBackground)
    • setForeground

      public void setForeground(Color color)
      Table will be null on JScrollPane's constructor
      Overrides:
      setForeground in class JComponent
    • setFont

      public void setFont(Font font)
      Overrides:
      setFont in class JComponent
    • localeChanged

      public void localeChanged(Locale newLocale)
      Specified by:
      localeChanged in interface LocaleListener
      Overrides:
      localeChanged in class AbstractVisionScrollPane
    • initialize

      public void initialize()
      Implements DesignerInitializable, which lets us pre-fill the tree with some filters and not have to worry about filter list serialization problems
      Specified by:
      initialize in interface DesignerInitializable
    • paint

      public void paint(Graphics g)
      Overrides:
      paint in class JComponent
    • valueChanged

      public void valueChanged(TreeSelectionEvent e)
      Specified by:
      valueChanged in interface TreeSelectionListener
    • getPropertiesLoading

      public int getPropertiesLoading()
      Specified by:
      getPropertiesLoading in interface LoadingMonitor
    • setPropertiesLoading

      public void setPropertiesLoading(int i)
      Specified by:
      setPropertiesLoading in interface LoadingMonitor
    • updateModel

      protected void updateModel()
      Called whenever the input dataset or the list of filters changes. Creates the treemodel representing the classified data
    • computeChildren

      protected List<com.inductiveautomation.factorypmi.plugins.reporting.components.RowSelectorTree.FilterNode> computeChildren(com.inductiveautomation.factorypmi.plugins.reporting.components.RowSelectorTree.FilterNode parent, int filterNum)
    • getDataIn

      public Dataset getDataIn()
    • setDataIn

      public void setDataIn(Dataset in)
    • getDataOut

      public Dataset getDataOut()
    • setDataOut

      public void setDataOut(Dataset dataOut)
    • getData

      public RowFilteredDataSet getData()
    • setData

      public void setData(RowFilteredDataSet ds)
    • getFilters

      public List<Filter> getFilters()
    • setFilters

      public void setFilters(List<Filter> filters)
    • setName

      public void setName(String newName)
      Overrides:
      setName in class AbstractVisionScrollPane
    • getAllDataNodeText

      public String getAllDataNodeText()
    • setAllDataNodeText

      public void setAllDataNodeText(String allDataNodeText)
    • setExpandAllDataNode

      public void setExpandAllDataNode(boolean expandAllDataNode)
    • getUnknownIconPath

      public String getUnknownIconPath()
    • setUnknownIconPath

      public void setUnknownIconPath(String unknownIconPath)
    • getUnknownNodeText

      public String getUnknownNodeText()
    • setUnknownNodeText

      public void setUnknownNodeText(String unknownNodeText)
    • isShowAllDataNode

      public boolean isShowAllDataNode()
    • isExpandAllDataNode

      public boolean isExpandAllDataNode()
    • setShowAllDataNode

      public void setShowAllDataNode(boolean showAllDataNode)
    • isShowNodeSize

      public boolean isShowNodeSize()
    • setShowNodeSize

      public void setShowNodeSize(boolean showNodeSize)
    • isShowRootHandles

      public boolean isShowRootHandles()
    • setShowRootHandles

      public void setShowRootHandles(boolean showRootHandles)