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

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

public class JFrameWrapperFactory
extends AbstractWrapperFactory<ExternalApplicationFrame>

This class wraps components into JFrames.

Author:
Stefan Wismer (SWI)
File-location:
JFrameWrapperFactory
Last check-in date:
2009-08-04 15:06:35 +0200 (Di, 04. Aug 2009) by swismer for revision 3878

Field Summary
 
Fields inherited from class ch.elca.el4j.services.gui.swing.wrapper.AbstractWrapperFactory
s_componentToWrapper
 
Constructor Summary
JFrameWrapperFactory()
           
 
Method Summary
protected  ExternalApplicationFrame createApplicationFrame(String name, String title, JComponent component)
          
static ExternalApplicationFrame 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

JFrameWrapperFactory

public JFrameWrapperFactory()
Method Detail

wrap

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

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

createApplicationFrame

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

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


Copyright © 2005-2011 ELCA. All Rights Reserved.