Log4j 0.9d

pl.psnc.expres.wfm.gui.factory
Class PaneFactory

java.lang.Object
  extended by pl.psnc.expres.wfm.gui.factory.PaneFactory

public class PaneFactory
extends Object

PaneFactory class is used to create an instances of JPanel

Author:
Dominik Stoklosa (~osa~)

Constructor Summary
PaneFactory()
           
 
Method Summary
static JPanel getJPane(Class<?> paneClass)
          Get a JPanel class identified by the given name
static
<T extends JPanel>
JPanel
newInstance(Class<T> paneClass)
          Creates a new instance of JPanel class
static void storeJPane(JPanel pane)
          Stores a given JPanel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PaneFactory

public PaneFactory()
Method Detail

getJPane

public static JPanel getJPane(Class<?> paneClass)
Get a JPanel class identified by the given name

Parameters:
paneClass - JPanel class name
Returns:
JPanel class

storeJPane

public static void storeJPane(JPanel pane)
Stores a given JPanel

Parameters:
pane - JPanel to be stored

newInstance

public static <T extends JPanel> JPanel newInstance(Class<T> paneClass)
                          throws WfmException
Creates a new instance of JPanel class

Parameters:
paneClass - JPanel class to be created
Returns:
new instance of JPanel class
Throws:
WfmException

Log4j 0.9d

Copyright 2003 by VLAB Dominik Stoklosa.