|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.electric.tool.simulation.Analysis<S>
public abstract class Analysis<S extends Signal>
Class to define a set of simulation data. This class encapsulates all of the simulation data that is displayed in a waveform window. It includes the labels and values. It can handle digital, analog, and many variations (intervals, sweeps).
Nested Class Summary | |
---|---|
static class |
Analysis.AnalysisType
|
Field Summary | |
---|---|
static Analysis.AnalysisType |
ANALYSIS_AC
indicates AC analysis |
static Analysis.AnalysisType |
ANALYSIS_DC
indicates DC analysis |
static Analysis.AnalysisType |
ANALYSIS_MEAS
indicates Measurement data |
static Analysis.AnalysisType |
ANALYSIS_SIGNALS
indicates general signals |
static Analysis.AnalysisType |
ANALYSIS_TRANS
indicates transient analysis |
Constructor Summary | |
---|---|
Analysis(Stimuli sd,
Analysis.AnalysisType type)
|
Method Summary | |
---|---|
void |
addSignal(S ws)
Method to add a new signal to this Simulation Data object. |
S |
findSignalForNetwork(java.lang.String netName)
Method to return the signal that corresponds to a given Network name. |
S |
findSignalForNetworkQuickly(java.lang.String netName)
Method to quickly return the signal that corresponds to a given Network name. |
void |
finished()
Free allocated resources before closing. |
Analysis.AnalysisType |
getAnalysisType()
Method to return the type of data currently being manipulated. |
java.awt.geom.Rectangle2D |
getBounds()
Method to compute the time and value bounds of this simulation data. |
double |
getLeftEdge()
Method to return the leftmost X coordinate of this Analysis. |
double |
getRightEdge()
Method to return the rightmost X coordinate of this Analysis. |
java.util.List<S> |
getSignals()
Method to get the list of signals in this Simulation Data object. |
Stimuli |
getStimuli()
Method to return the Stimuli in which this Analysis resides. |
abstract boolean |
isAnalog()
Method to tell whether this simulation data is analog or digital. |
void |
nameSignal(S ws,
java.lang.String sigName)
|
void |
setBoundsDirty()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Analysis.AnalysisType ANALYSIS_SIGNALS
public static final Analysis.AnalysisType ANALYSIS_TRANS
public static final Analysis.AnalysisType ANALYSIS_AC
public static final Analysis.AnalysisType ANALYSIS_DC
public static final Analysis.AnalysisType ANALYSIS_MEAS
Constructor Detail |
---|
public Analysis(Stimuli sd, Analysis.AnalysisType type)
Method Detail |
---|
public void finished()
public Stimuli getStimuli()
public Analysis.AnalysisType getAnalysisType()
public java.util.List<S> getSignals()
public void nameSignal(S ws, java.lang.String sigName)
public void addSignal(S ws)
ws
- the signal to add.
Instead of a "Signal", use either DigitalSignal or AnalogSignal.public java.awt.geom.Rectangle2D getBounds()
public double getLeftEdge()
public double getRightEdge()
public void setBoundsDirty()
public abstract boolean isAnalog()
public S findSignalForNetworkQuickly(java.lang.String netName)
netName
- the Network name to find.
public S findSignalForNetwork(java.lang.String netName)
netName
- the Network name to find.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |