|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A (singleton) Class, whose instance is used as a container for a global mapping between classnames and their 'default' ProbeMaps. These defaults can be changed by the user, thus allowing him/her to customize the default contents of the ProbeDisplays generated when probing objects.. The normal Swarm simulation will probably only ever contain one instance of this class, namely the probeLibrary object. This object is used for Library Generation of Probes and ProbeMaps: its role is to cache one unique "official" ProbeMap for every Class ever probed during a run of Swarm. These ProbeMaps are generated as they are requested.
Method Summary | |
ProbeMapImpl |
getCompleteProbeMapFor(Class aClass)
The getCompleteProbeMapFor: method returns a ProbeMap containing Probes for all the instance variables and messages of the given Class (including inherited variables and messages). |
ProbeMapImpl |
getCompleteVarMapFor(Class aClass)
The getCompleteVarMapFor: method returns a ProbeMap containing Probes for all the instance variables of the given Class (including inherited variables) but does not include any MessageProbes. |
int |
getDisplayPrecision()
The getDisplayPrecision method gets the current display precision set in the ProbeLibrary instance. |
MessageProbeImpl |
getProbeForMessage$inClass(String aMessage,
Class aClass)
The getProbeForMessage:inClass: method returns a probe that has been "checked out" from the appropriate Probes in the probe library. |
VarProbeImpl |
getProbeForVariable$inClass(String aVar,
Class aClass)
The getProbeForVariable:inClass: method returns a probe that has been "checked out" from the appropriate Probes in the probe library. |
ProbeMapImpl |
getProbeMapFor(Class aClass)
The getProbeMapFor: method returns a ProbeMap for the aClass class. |
int |
getSavedPrecision()
The getSavedPrecision method gets the current saved precision set in the ProbeLibrary instance. |
boolean |
isProbeMapDefinedFor(Class aClass)
The isProbeMapDefinedFor: method returns True if there is a non-nil value in the ProbeLibrary for that class and False otherwise. |
Object |
setDisplayPrecision(int nSigDisplay)
The setDisplayPrecision: method sets the number of significant digits for floating point and double floating point numbers displayed on GUI widgets. |
Object |
setProbeMap$For(Object aMap,
Class aClass)
The setProbeMap:For: method sets the standard probe map as the probe map. |
Object |
setSavedPrecision(int nSigSaved)
The setSavedPrecision: method sets the number of significant digits saved for floating-point and double floating-point numbers through ObjectSaver. |
Methods inherited from interface swarm.defobj.Drop |
drop |
Methods inherited from interface swarm.defobj.DefinedObject |
compare,
describe,
describeID,
getDisplayName,
getTypeName,
getZone,
perform,
perform$with,
perform$with$with,
perform$with$with$with,
respondsTo,
setDisplayName,
xfprint,
xfprintid,
xprint,
xprintid |
Method Detail |
public Object setDisplayPrecision(int nSigDisplay)
public int getDisplayPrecision()
public Object setSavedPrecision(int nSigSaved)
public int getSavedPrecision()
public boolean isProbeMapDefinedFor(Class aClass)
public ProbeMapImpl getProbeMapFor(Class aClass)
public ProbeMapImpl getCompleteProbeMapFor(Class aClass)
public ProbeMapImpl getCompleteVarMapFor(Class aClass)
public VarProbeImpl getProbeForVariable$inClass(String aVar, Class aClass)
public MessageProbeImpl getProbeForMessage$inClass(String aMessage, Class aClass)
public Object setProbeMap$For(Object aMap, Class aClass)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |