public interface LazyTraversable
Modifier and Type | Method and Description |
---|---|
void |
addHierarchyListenerForLoading(java.awt.event.HierarchyListener listener)
Deprecated.
Use #addLazyLoadListener
|
void |
addLazyLoadListener(LazyLoadListener listener)
Adds a listener to the wrapper Component so that when the the
"placeholder" component is removed and the real object
is displayed instead, appropriate changes can be made.
|
java.awt.Component |
getComponent()
Provides a component that can be used to determine if the
traversable is showing or not.
|
boolean |
isActingLazy()
Indicates whether the real traversable object is being used
or the lazy wrapper is displayed to let the user choose to load
the extension that provides the real object.
|
void |
removeHierarchyListenerForLoading(java.awt.event.HierarchyListener listener)
Deprecated.
Use #removeLazyLoadListener
|
void |
removeLazyLoadListener(LazyLoadListener listener)
Removes the suplied listener.
|
boolean isActingLazy()
java.awt.Component getComponent()
void addLazyLoadListener(LazyLoadListener listener)
listener
- a LazyLoadListener objectvoid removeLazyLoadListener(LazyLoadListener listener)
listener
- a LazyLoadListener object@Deprecated void addHierarchyListenerForLoading(java.awt.event.HierarchyListener listener)
@Deprecated void removeHierarchyListenerForLoading(java.awt.event.HierarchyListener listener)