Class BreadcrumbTreeAdapterSelector

    • Constructor Detail

      • BreadcrumbTreeAdapterSelector

        public BreadcrumbTreeAdapterSelector​(TreeModel treeModel,
                                             BreadcrumbTreeAdapterSelector.TreeAdapter treeAdapter,
                                             boolean isRootVisible)
        Creates an adapter for the specified tree model.
        Parameters:
        treeModel - Tree model.
        treeAdapter - Tree adapter. Can not be null.
        isRootVisible - If true, the first selector shows the tree root node. If false, the first selector shows the tree root child nodes.
      • BreadcrumbTreeAdapterSelector

        public BreadcrumbTreeAdapterSelector​(JTree tree,
                                             BreadcrumbTreeAdapterSelector.TreeAdapter treeAdapter)
        Creates an adapter for the specified tree.
        Parameters:
        tree - Tree.
        treeAdapter - Tree adapter. Can not be null.
      • BreadcrumbTreeAdapterSelector

        public BreadcrumbTreeAdapterSelector​(JTree tree)
        Creates an adapter for the specified tree. Assumes that the tree renderer extends a JLabel. Otherwise, the path selectors will have no captions and no icons.
        Parameters:
        tree - Tree.