| Modifier and Type | Field | Description |
|---|---|---|
AccumulatorAverage |
accumulatorAverage |
|
DisplayTextBox |
averageBox |
|
DisplayTextBox |
corBox |
|
DisplayTextBox |
currentBox |
|
protected boolean |
doShowCorrelation |
|
protected boolean |
doShowCurrent |
|
DisplayTextBox |
errorBox |
|
protected Constants.CompassDirection |
labelPosition |
|
protected DisplayTextBox.LabelType |
labelType |
|
javax.swing.JPanel |
panelParentGroup |
| Constructor | Description |
|---|---|
DisplayTextBoxesCAE() |
| Modifier and Type | Method | Description |
|---|---|---|
AccumulatorAverage |
getAccumulator() |
Accessor method for the data source that generates the displayed value.
|
boolean |
getDoShowCurrent() |
|
java.lang.String |
getLabel() |
Accessor method of the label describing the display.
|
int |
getPrecision() |
Accessor method of the precision, which specifies the number of significant figures to be displayed.
|
Unit |
getUnit() |
|
java.awt.Component |
graphic() |
Method of Simulation.GraphicElement interface.
|
static void |
main(java.lang.String[] args) |
|
void |
putData(IData data) |
Gives data to DataSink for processing, display, or whatever it does.
|
void |
putDataInfo(IDataInfo dataInfo) |
Informs the DataSink of the type of Data it should expect to receive.
|
void |
setAccumulator(AccumulatorAverage accumulatorAverage) |
Specifies the accumulator that generates the displayed values.
|
void |
setDoShowCorrelation(boolean newDoShowCorrelation) |
|
void |
setDoShowCurrent(boolean newDoShowCurrent) |
|
void |
setLabel(java.lang.String s) |
Accessor method of the label describing the display.
|
void |
setLabelPosition(Constants.CompassDirection position) |
|
void |
setLabelType(DisplayTextBox.LabelType labelType) |
|
void |
setPrecision(int n) |
Accessor method of the precision, which specifies the number of significant figures to be displayed.
|
void |
setUnit(Unit unit) |
addPropertyChangeListener, removePropertyChangeListener, toStringpublic AccumulatorAverage accumulatorAverage
public DisplayTextBox currentBox
public DisplayTextBox averageBox
public DisplayTextBox errorBox
public DisplayTextBox corBox
public javax.swing.JPanel panelParentGroup
protected boolean doShowCurrent
protected boolean doShowCorrelation
protected Constants.CompassDirection labelPosition
protected DisplayTextBox.LabelType labelType
public void setDoShowCurrent(boolean newDoShowCurrent)
public boolean getDoShowCurrent()
public void setDoShowCorrelation(boolean newDoShowCorrelation)
public void putDataInfo(IDataInfo dataInfo)
IDataSinkputDataInfo in interface IDataSinkpublic void setAccumulator(AccumulatorAverage accumulatorAverage)
public AccumulatorAverage getAccumulator()
public java.awt.Component graphic()
Displaypublic int getPrecision()
public void setPrecision(int n)
public void setLabel(java.lang.String s)
Displaypublic java.lang.String getLabel()
Displaypublic void setLabelPosition(Constants.CompassDirection position)
public void setLabelType(DisplayTextBox.LabelType labelType)
public void putData(IData data)
IDataSinkpublic void setUnit(Unit unit)
public Unit getUnit()
public static void main(java.lang.String[] args)