Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


oracle.ide.model
Interface LazyTraversable

All Known Implementing Classes:
LazyLoadedTraversable

public interface LazyTraversable

Traversables that act as proxies for traversables that should be lazily loaded need to be implement this interface so the proxy can appropriately handle when the real object is available or not.


Method Summary
 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.

 

Method Detail

isActingLazy

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.
Returns:
true when the real traversable object is not being used

getComponent

java.awt.Component getComponent()
Provides a component that can be used to determine if the traversable is showing or not. This should be a component that can be used whether the real traversable object is being displayed or just the wrapper that lets the load extension button display.
Returns:
the component for the lazy wrapper

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.
Parameters:
listener - a LazyLoadListener object

removeLazyLoadListener

void removeLazyLoadListener(LazyLoadListener listener)
Removes the suplied listener.
Parameters:
listener - a LazyLoadListener object

addHierarchyListenerForLoading

@Deprecated
void addHierarchyListenerForLoading(java.awt.event.HierarchyListener listener)
Deprecated. Use #addLazyLoadListener

removeHierarchyListenerForLoading

@Deprecated
void removeHierarchyListenerForLoading(java.awt.event.HierarchyListener listener)
Deprecated. Use #removeLazyLoadListener

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


Copyright © 1997, 2012, Oracle. All rights reserved.