|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuchicago.src.sim.util.ProbeUtilities
public class 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(java.lang.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 void |
closeAllProbeWindows()
|
static void |
closeProbeWindows(java.util.Collection c)
Closes all the probing windows for the objects in the collection. |
static IntrospectFrame |
getObjectsFrame(java.lang.Object o)
retrieves the IntrospectFrame that an object is being probed under |
static java.util.List |
getProbedObjects()
Returns a list of the objects being probed. |
static void |
probe(java.lang.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(java.lang.Object o)
Removes the IntrospectPanel associated with the specified Object. |
static void |
updateModelProbePanel()
Updates the IntrospectPanel for the simulation model. |
static void |
updateProbePanel(java.lang.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(java.lang.Object o)
o - the Object to be probed.public static java.util.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(java.lang.Object o,
IntrospectPanel panel)
o - the probed objectpanel - the panel displaying the object's propertiespublic static void removeProbePanel(java.lang.Object o)
o - the probed object whose panel should be removedpublic static void clearProbePanels()
public static void updateProbePanel(java.lang.Object o)
o - the object whose probe panel is to be updatedpublic static void updateProbePanels()
updateModelProbePanel.
public static void addProbeListener(ProbeListener probeListener)
probeListener - the ProbeListenerpublic static void closeAllProbeWindows()
public static void closeProbeWindows(java.util.Collection c)
c - the collection containing objects that may be being probedpublic static IntrospectFrame getObjectsFrame(java.lang.Object o)
o - the object being probed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||