Class ViewFolderTreeNode

  • All Implemented Interfaces:
    javax.swing.tree.TreeNode

    public class ViewFolderTreeNode
    extends AbstractLazyLoadingTreeNode<javax.swing.tree.TreeNode>
    Tree node implementation used for browsing views. Leaf nodes will be instances of ViewTreeNode. Root node takes a Project as argument, will expose all views in that project.
    • Field Detail

      • RENDERER

        public static final javax.swing.tree.TreeCellRenderer RENDERER
        Tree cell renderer that will put the correct icon on the views.
    • Constructor Detail

      • ViewFolderTreeNode

        public ViewFolderTreeNode​(Project project)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • loadChildren

        @Nullable
        protected java.util.List<javax.swing.tree.TreeNode> loadChildren()
        Description copied from class: AbstractLazyLoadingTreeNode
        This will be called as late a possible for the node to populate its children list. May return null if there are no children.
        Specified by:
        loadChildren in class AbstractLazyLoadingTreeNode<javax.swing.tree.TreeNode>