IDataSink
public class DisplayTimer extends DisplayTextBox
DisplayTextBox.LabelType
Modifier and Type | Field | Description |
---|---|---|
protected DataPump |
dataPump |
|
protected IntegratorMD |
integrator |
|
protected DataSourceCountTime |
timer |
jLabel, panel, unit, value
Constructor | Description |
---|---|
DisplayTimer(IntegratorMD integrator) |
Modifier and Type | Method | Description |
---|---|---|
void |
dispose() |
Unhooks the DisplayTimer from the integrator
|
DataSourceCountTime |
getTimer() |
Returns the data source used to count the time, to permit
access to its methods for reset, etc.
|
void |
setUpdateInterval(int interval) |
Sets the period for updating the display.
|
addPropertyChangeListener, removePropertyChangeListener, toString
format, getLabel, getLabelPosition, getLabelType, getPrecision, getUnit, graphic, isIntegerDisplay, putData, putDataInfo, setDefaultLabel, setIntegerDisplay, setLabel, setLabelPosition, setLabelType, setPrecision, setUnit, stateChanged
protected final DataPump dataPump
protected final IntegratorMD integrator
protected final DataSourceCountTime timer
public DisplayTimer(IntegratorMD integrator)
public void setUpdateInterval(int interval)
public void dispose()
public DataSourceCountTime getTimer()