Class TreeProperties


  • public class TreeProperties
    extends java.lang.Object
    Struct for storing Tree properties.
    • Field Detail

      • roots

        protected java.lang.String[] roots
        The root path entries.
      • selected

        protected NodePath selected
        The selected node (if any).
      • expanded

        protected NodePath[] expanded
        The expanded nodes.
    • Constructor Detail

      • TreeProperties

        public TreeProperties()
    • Method Detail

      • getRootPathEntries

        public java.lang.String[] getRootPathEntries()
        Get the root node.
      • getSelectedNode

        public NodePath getSelectedNode()
        Get the selected node.
      • getExpandedNodes

        public NodePath[] getExpandedNodes()
        Get the expanded nodes.
      • setRootPathEntries

        public void setRootPathEntries​(java.lang.String[] roots)
        Set the root path entries.
      • setSelectedNode

        public void setSelectedNode​(NodePath selected)
        Set the selected node.
      • setExpandedNodes

        public void setExpandedNodes​(NodePath[] expanded)
        Set the expanded nodes.