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, toString
public 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)
IDataSink
putDataInfo
in interface IDataSink
public void setAccumulator(AccumulatorAverage accumulatorAverage)
public AccumulatorAverage getAccumulator()
public java.awt.Component graphic()
Display
public int getPrecision()
public void setPrecision(int n)
public void setLabel(java.lang.String s)
Display
public java.lang.String getLabel()
Display
public void setLabelPosition(Constants.CompassDirection position)
public void setLabelType(DisplayTextBox.LabelType labelType)
public void putData(IData data)
IDataSink
public void setUnit(Unit unit)
public Unit getUnit()
public static void main(java.lang.String[] args)