org.base.apps.core.swing
Class SwingViewFactory<C extends Component>

java.lang.Object
  extended by org.base.apps.util.factory.BaseFactory
      extended by org.base.apps.util.factory.ConfigurableFactory
          extended by org.base.apps.core.swing.SwingViewFactory<C>
All Implemented Interfaces:
BoundViewFactory<BoundComponentView<C>,C>, Factory, Named

public class SwingViewFactory<C extends Component>
extends ConfigurableFactory
implements BoundViewFactory<BoundComponentView<C>,C>

Default Swing implementation of a BoundViewFactory.

Author:
Kevan Simpson

Constructor Summary
protected SwingViewFactory()
           
protected SwingViewFactory(Named named)
           
 
Method Summary
 BoundComponentView<C> createView(Class<C> type, Object... args)
           
 String getName()
          Fetches the name of this instance.
 
Methods inherited from class org.base.apps.util.factory.ConfigurableFactory
create, rMgr
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.base.apps.util.factory.Factory
create
 

Constructor Detail

SwingViewFactory

protected SwingViewFactory()

SwingViewFactory

protected SwingViewFactory(Named named)
Parameters:
named -
Method Detail

createView

public BoundComponentView<C> createView(Class<C> type,
                                        Object... args)
Specified by:
createView in interface BoundViewFactory<BoundComponentView<C extends Component>,C extends Component>
See Also:
BoundViewFactory.createView(java.lang.Class, java.lang.Object[])

getName

public String getName()
Description copied from interface: Named
Fetches the name of this instance.

Specified by:
getName in interface Named
Returns:
the name of this instance.
See Also:
Named.getName()

Please visit Base Apps, hosted on Sourceforge.net.

Copyright 2011, Blue Agate Software Entity (BASE)