Class RelationTree.LazyRelationLoader

  • All Implemented Interfaces:
    java.util.EventListener, javax.swing.event.TreeWillExpandListener
    Enclosing class:
    RelationTree

    class RelationTree.LazyRelationLoader
    extends java.lang.Object
    implements javax.swing.event.TreeWillExpandListener
    An adapter for TreeWillExpand-events. If a node is to be expanded which is not loaded yet this will trigger asynchronous loading of the respective relation.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void treeWillCollapse​(javax.swing.event.TreeExpansionEvent event)  
      void treeWillExpand​(javax.swing.event.TreeExpansionEvent event)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • treeWillCollapse

        public void treeWillCollapse​(javax.swing.event.TreeExpansionEvent event)
                              throws javax.swing.tree.ExpandVetoException
        Specified by:
        treeWillCollapse in interface javax.swing.event.TreeWillExpandListener
        Throws:
        javax.swing.tree.ExpandVetoException
      • treeWillExpand

        public void treeWillExpand​(javax.swing.event.TreeExpansionEvent event)
                            throws javax.swing.tree.ExpandVetoException
        Specified by:
        treeWillExpand in interface javax.swing.event.TreeWillExpandListener
        Throws:
        javax.swing.tree.ExpandVetoException