Class RelationTree.LazyRelationLoader
- java.lang.Object
-
- org.openstreetmap.josm.gui.dialogs.relation.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.
-
-
Constructor Summary
Constructors Constructor Description LazyRelationLoader()
-
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)
-
-
-
Constructor Detail
-
LazyRelationLoader
LazyRelationLoader()
-
-
Method Detail
-
treeWillCollapse
public void treeWillCollapse(javax.swing.event.TreeExpansionEvent event) throws javax.swing.tree.ExpandVetoException
- Specified by:
treeWillCollapse
in interfacejavax.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 interfacejavax.swing.event.TreeWillExpandListener
- Throws:
javax.swing.tree.ExpandVetoException
-
-