Class BreadcrumbTreeAdapterSelector.TreeAdapter

  • Enclosing class:
    BreadcrumbTreeAdapterSelector

    public abstract static class BreadcrumbTreeAdapterSelector.TreeAdapter
    extends Object
    Tree adapter that allows plugging a custom rendering logic.
    • Constructor Detail

      • TreeAdapter

        public TreeAdapter()
    • Method Detail

      • toString

        public abstract String toString​(Object node)
        Returns the caption for the specified tree node. Note that the extending class must override this method in an EDT-safe fashion.
        Parameters:
        node - Tree node.
        Returns:
        The caption for the specified tree node.
      • getIcon

        public Icon getIcon​(Object node)
        Returns the icon for the specified tree node.
        Parameters:
        node - Tree node.
        Returns:
        The icon for the specified tree node.