Class LegendEntry

    • Constructor Detail

      • LegendEntry

        public LegendEntry()
        Deprecated.
        Default Constructor, this will be an empty entry in the legend.
      • LegendEntry

        public LegendEntry​(Object userObject)
        Deprecated.
        Create the legend entry based on the supplied user object. The name of the entry will be the value of the user object.
        Parameters:
        userObject - The object on which to base this legend entry.
    • Method Detail

      • setName

        public void setName​(String name)
        Deprecated.
        Set the name of this Legend Entry.
        Parameters:
        name - The name for this legend entry.
      • getName

        public String getName()
        Deprecated.
        Get the name of this Legend Entry
        Returns:
        The name of this legend entry.
      • getIcon

        public Icon getIcon​(boolean selected)
        Deprecated.
        Get the icon for this entry. The generic legend entry has no icon associated with it.
        Parameters:
        selected - Is this entry selected?
        Returns:
        The icon, null in the general case.
      • getBackground

        public Color getBackground​(boolean selected)
        Deprecated.
        Get the background color for this node based on whether the node is selected or not.
        Parameters:
        selected - Is this entry currently selected?
        Returns:
        The background color for this entry.
      • isDataVisible

        public boolean isDataVisible()
        Deprecated.
        Is this entry currently selected?
        Returns:
        Whether the entry is selected or not.
      • setDataVisible

        public void setDataVisible​(boolean dataVisible)
        Deprecated.
        Set the selected status of this entry.
        Parameters:
        dataVisible -
      • setDataVisible

        public void setDataVisible​(boolean dataVisible,
                                   boolean propogateChanges)
        Deprecated.
        Set the selected status of this entry and whether or not the selected status should be propogated to children.
        Parameters:
        dataVisible -
        propogateChanges - whether not the changes should be propogated to children