com.gargoylesoftware.base.gui
Interface ComponentLoader
- All Known Implementing Classes:
- DefaultComponentLoader
public interface ComponentLoader
An object that knows how to load a component. Typically
this is used for components that are expensive to load.
- Version:
- $Revision: 1.5 $
- Author:
- Mike Bowler
- See Also:
DelayedComponentLoaderPanel
Method Summary |
java.awt.Component |
loadComponent()
Create and return a component. |
loadComponent
java.awt.Component loadComponent()
throws java.lang.Exception
- Create and return a component. This will be called
from a non-UI thread.
- Returns:
- The loaded component.
- Throws:
java.lang.Exception
- If something bad happens during the creation of the component.