org.jscience.architecture.traffic.configuration
Class PanelFactory

java.lang.Object
  extended by org.jscience.architecture.traffic.configuration.PanelFactory

public class PanelFactory
extends java.lang.Object

DOCUMENT ME!


Field Summary
protected  ConfigDialog confd
          DOCUMENT ME!
protected  EditDrivelanePanel edp
          DOCUMENT ME!
protected  EditEdgeNodePanel eep
          DOCUMENT ME!
protected  EditJunctionPanel ejp
          DOCUMENT ME!
protected  EditRoadPanel erp
          DOCUMENT ME!
protected  GeneralPanel gp
          DOCUMENT ME!
protected  NetTunnelPanel ntp
          DOCUMENT ME!
protected  SimDrivelanePanel sdp
          DOCUMENT ME!
protected  SimEdgeNodePanel sep
          DOCUMENT ME!
protected  SimJunctionPanel sjp
          DOCUMENT ME!
protected  SimRoadPanel srp
          DOCUMENT ME!
protected  int TYPE
          DOCUMENT ME!
static int TYPE_EDIT
          DOCUMENT ME!
static int TYPE_SIM
          DOCUMENT ME!
 
Constructor Summary
PanelFactory(ConfigDialog cd, int t)
          Creates a new PanelFactory object.
 
Method Summary
 ConfigPanel createPanel(Selection s)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_SIM

public static final int TYPE_SIM
DOCUMENT ME!

See Also:
Constant Field Values

TYPE_EDIT

public static final int TYPE_EDIT
DOCUMENT ME!

See Also:
Constant Field Values

TYPE

protected int TYPE
DOCUMENT ME!


confd

protected ConfigDialog confd
DOCUMENT ME!


gp

protected GeneralPanel gp
DOCUMENT ME!


ntp

protected NetTunnelPanel ntp
DOCUMENT ME!


edp

protected EditDrivelanePanel edp
DOCUMENT ME!


eep

protected EditEdgeNodePanel eep
DOCUMENT ME!


ejp

protected EditJunctionPanel ejp
DOCUMENT ME!


erp

protected EditRoadPanel erp
DOCUMENT ME!


sdp

protected SimDrivelanePanel sdp
DOCUMENT ME!


sep

protected SimEdgeNodePanel sep
DOCUMENT ME!


sjp

protected SimJunctionPanel sjp
DOCUMENT ME!


srp

protected SimRoadPanel srp
DOCUMENT ME!

Constructor Detail

PanelFactory

public PanelFactory(ConfigDialog cd,
                    int t)
Creates a new PanelFactory object.

Parameters:
cd - DOCUMENT ME!
t - DOCUMENT ME!
Method Detail

createPanel

public ConfigPanel createPanel(Selection s)
                        throws ConfigException
DOCUMENT ME!

Parameters:
s - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
ConfigException - DOCUMENT ME!