|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gscg.gameleader.dialogs.components.DialogPanelFactory
The DialogPanelFactory is used to create customized JPanels based on the object given to the factory. If the factory is not able to process the selected object, null is returned.
Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information www.simulation.tudelft.nl . The source code and binary code of this software is proprietary information of Delft University of Technology.
Method Summary | |
static boolean |
addFactory(java.lang.Class clazz,
DialogInterface dialogInterface)
Method addFactory allows the adding of panel factories. |
static javax.swing.JTabbedPane |
getPanel(java.lang.Object object)
Method getPanel returns an panel based on the given object |
static void |
setSimulator(nl.tudelft.simulation.dsol.simulators.SimulatorInterface simulator)
Method setSimulator sets the simulator to use. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static void setSimulator(nl.tudelft.simulation.dsol.simulators.SimulatorInterface simulator)
simulator
- the simulator to usepublic static javax.swing.JTabbedPane getPanel(java.lang.Object object)
object
- the selected object
public static boolean addFactory(java.lang.Class clazz, DialogInterface dialogInterface)
clazz
- the class to add the factory fordialogInterface
- the dialogInterface
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |