|
RePast v. 2.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--uchicago.src.sim.util.ProbeUtilities
Static utility methods for creating and working with Probes.
| Constructor Summary | |
ProbeUtilities()
|
|
| Method Summary | |
static void |
addModelProbePanel(IntrospectPanel panel)
Adds the IntrospectPanel for a simulation model. |
static void |
addProbeListener(ProbeListener probeListener)
Adds the specified ProbeListener to receive ProbeEvents from any probed objects. |
static void |
addProbePanel(Object o,
IntrospectPanel panel)
Adds and associates the specified IntrospectPanel with the specified object. |
static void |
clearProbePanels()
Clears the map of Objects and their probe panels. |
static List |
getProbedObjects()
Returns a list of the objects being probed. |
static void |
probe(Object o)
Probes an object, where probing means to display an Object's properties via get and set methods. |
static void |
removeModelProbePanel()
Removes the IntrospectPanel associated with the simulation model. |
static void |
removeProbePanel(Object o)
Removes the IntrospectPanel associated with the specified Object. |
static void |
updateModelProbePanel()
Updates the IntrospectPanel for the simulation model. |
static void |
updateProbePanel(Object o)
Updates the IntrospectPanel (the Probe window) for the specified object. |
static void |
updateProbePanels()
The probe panels for any objects that are currently being probed. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ProbeUtilities()
| Method Detail |
public static void probe(Object o)
o - the Object to be probed.public static List getProbedObjects()
public static void addModelProbePanel(IntrospectPanel panel)
panel - the panel displaying the model's propertiespublic static void removeModelProbePanel()
public static void updateModelProbePanel()
public static void addProbePanel(Object o,
IntrospectPanel panel)
o - the probed objectpanel - the panel displaying the object's propertiespublic static void removeProbePanel(Object o)
o - the probed object whose panel should be removedpublic static void clearProbePanels()
public static void updateProbePanel(Object o)
o - the object whose probe panel is to be updatedpublic static void updateProbePanels()
updateModelProbePanel.
public static void addProbeListener(ProbeListener probeListener)
probeListener - the ProbeListener
|
RePast v. 2.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||