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

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

public class ToolWindowWrapperFactory
extends AbstractWrapperFactory<ToolWindowTabApplicationFrame>

This factory wraps components into ToolWindowTabApplicationFrames.

Author:
Stefan Wismer (SWI)
File-location:
ToolWindowWrapperFactory
Last check-in date:
2009-08-04 15:48:31 +0200 (Di, 04. Aug 2009) by swismer for revision 3884

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

ToolWindowWrapperFactory

public ToolWindowWrapperFactory()
Method Detail

wrap

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

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

createApplicationFrame

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

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


Copyright © 2005-2011 ELCA. All Rights Reserved.