ch.elca.el4j.services.gui.swing.wrapper
Class ContentWrapperFactory
java.lang.Object
ch.elca.el4j.services.gui.swing.wrapper.AbstractWrapperFactory<ContentApplicationFrame>
ch.elca.el4j.services.gui.swing.wrapper.ContentWrapperFactory
public class ContentWrapperFactory
- extends AbstractWrapperFactory<ContentApplicationFrame>
This factory wraps components into ContentApplicationFrame
s.
- 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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContentWrapperFactory
public ContentWrapperFactory()
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.