Class DotNotationNode

    • Field Detail

      • MULTIPLE_ROOT

        public static final String MULTIPLE_ROOT
        the label for the root node in case of multiple hierarchies.
        See Also:
        Constant Field Values
      • m_Item

        protected String m_Item
        the item.
    • Constructor Detail

      • DotNotationNode

        public DotNotationNode​(String label)
        Initializes the node with the specified label.
        Parameters:
        label - the label for this node
    • Method Detail

      • getLabel

        public String getLabel()
        Returns the (partial) label for this node.
        Returns:
        the partial label
      • isLabelMatch

        public boolean isLabelMatch​(String s)
        Returns whether the label matches the specified string.
        Parameters:
        s - the string to match against the label
        Returns:
        true if a match
      • isItemLeaf

        public boolean isItemLeaf()
        Returns whether this node represents a leaf node in the sense of the end-point of the dot notation of the full label. Custom trees might have additional information below this actual leaf node.

        Default implementation just returns isLeaf() value.
        Returns:
        true if leaf
      • getSeparator

        public String getSeparator()
        Returns the separator in use.
        Returns:
        the separator
      • getItem

        public String getItem()
        Returns the full label.
        Returns:
        the full label, null if not a leaf