ch.elca.el4j.services.gui.swing.wrapper
Class ContentWrapperFactory

java.lang.Object
  extended by ch.elca.el4j.services.gui.swing.wrapper.AbstractWrapperFactory<ContentApplicationFrame>
      extended by ch.elca.el4j.services.gui.swing.wrapper.ContentWrapperFactory

public class ContentWrapperFactory
extends AbstractWrapperFactory<ContentApplicationFrame>

This factory wraps components into ContentApplicationFrames.

Author:
Stefan Wismer (SWI)
File-location:
ContentWrapperFactory
Last check-in date:
2009-08-04 13:59:45 +0200 (Di, 04. Aug 2009) by swismer for revision 3873

Field Summary
 
Fields inherited from class ch.elca.el4j.services.gui.swing.wrapper.AbstractWrapperFactory
s_componentToWrapper
 
Constructor Summary
ContentWrapperFactory()
           
 
Method Summary
protected  ContentApplicationFrame createApplicationFrame(String name, String title, JComponent component)
          
static ContentApplicationFrame wrap(JComponent component)
          Wraps a GUI component into a JFrame.
 
Methods inherited from class ch.elca.el4j.services.gui.swing.wrapper.AbstractWrapperFactory
getFrame, removeWrapper, wrapComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentWrapperFactory

public ContentWrapperFactory()
Method Detail

wrap

public static ContentApplicationFrame wrap(JComponent component)
Wraps a GUI component into a JFrame.

Parameters:
component - the component to wrap
Returns:
the wrapper

createApplicationFrame

protected ContentApplicationFrame createApplicationFrame(String name,
                                                         String title,
                                                         JComponent component)

Specified by:
createApplicationFrame in class AbstractWrapperFactory<ContentApplicationFrame>
Returns:
the concrete wrapper


Copyright © 2005-2011 ELCA. All Rights Reserved.