Class RelationTree.LazyRelationLoader
- java.lang.Object
-
- org.openstreetmap.josm.gui.dialogs.relation.RelationTree.LazyRelationLoader
-
- All Implemented Interfaces:
EventListener
,TreeWillExpandListener
- Enclosing class:
- RelationTree
class RelationTree.LazyRelationLoader extends Object implements 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(TreeExpansionEvent event)
void
treeWillExpand(TreeExpansionEvent event)
-
-
-
Constructor Detail
-
LazyRelationLoader
LazyRelationLoader()
-
-
Method Detail
-
treeWillCollapse
public void treeWillCollapse(TreeExpansionEvent event) throws ExpandVetoException
- Specified by:
treeWillCollapse
in interfaceTreeWillExpandListener
- Throws:
ExpandVetoException
-
treeWillExpand
public void treeWillExpand(TreeExpansionEvent event) throws ExpandVetoException
- Specified by:
treeWillExpand
in interfaceTreeWillExpandListener
- Throws:
ExpandVetoException
-
-