Class ContainerNode

  • All Implemented Interfaces:
    java.awt.event.ContainerListener, java.beans.PropertyChangeListener, java.lang.Iterable<AbstractNavTreeNode>, java.util.EventListener, javax.swing.tree.TreeNode

    public class ContainerNode
    extends ComponentNode
    implements java.awt.event.ContainerListener
    • Field Detail

      • SORT_ALPHABETICAL

        public static final java.util.Comparator<AbstractNavTreeNode> SORT_ALPHABETICAL
    • Constructor Detail

      • ContainerNode

        public ContainerNode​(javax.swing.JComponent container)
    • Method Detail

      • uninstall

        public void uninstall()
        Description copied from class: AbstractNavTreeNode
        Called when the node is removed from the tree. Override to provide meaningful implementation.
        Overrides:
        uninstall in class ComponentNode
      • loadChildren

        protected java.util.List<AbstractNavTreeNode> loadChildren()
        Description copied from class: AbstractNavTreeNode
        Called before this node responds from any of the children-related TreeNode functions, if a list of children wasn't already set. Override to use lazy child loading.
        Overrides:
        loadChildren in class AbstractNavTreeNode
      • componentAdded

        public void componentAdded​(java.awt.event.ContainerEvent e)
        Specified by:
        componentAdded in interface java.awt.event.ContainerListener
      • componentRemoved

        public void componentRemoved​(java.awt.event.ContainerEvent e)
        Specified by:
        componentRemoved in interface java.awt.event.ContainerListener