net.sf.jzeno.echo.screen.gallery
Class DemoPanelFactory

java.lang.Object
  extended by net.sf.jzeno.echo.screen.gallery.DemoPanelFactory

public class DemoPanelFactory
extends java.lang.Object

Creates demo component in various configurations.


Method Summary
 Component createExample(java.lang.Class componentType)
           Returns a component that creates a demo panel for the specified component type, this test panel will typically consist of a component of the right type, databound to this test panel with some sensible data, and perhaps a number of buttons to trigger specific behaviours of this component.
 java.util.List getAvailableComponentClasses()
           
static DemoPanelFactory getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static DemoPanelFactory getInstance()

createExample

public Component createExample(java.lang.Class componentType)

Returns a component that creates a demo panel for the specified component type, this test panel will typically consist of a component of the right type, databound to this test panel with some sensible data, and perhaps a number of buttons to trigger specific behaviours of this component.


getAvailableComponentClasses

public java.util.List getAvailableComponentClasses()