com.jidesoft.gauge
Interface GaugeModel
- All Known Implementing Classes:
- DefaultGaugeModel
public interface GaugeModel
An interface for the data model displayed by a meter/gauge
getValue
Positionable getValue(String needleName)
setValue
void setValue(String needleName,
Positionable value)
- The assumption is that with this method, an update event will be fired
- Parameters:
needleName
- the name of the needlevalue
- the value of the needle
setValue
void setValue(String needleName,
Positionable value,
boolean fireUpdate)
getValueCount
int getValueCount()
clearValues
void clearValues()
addGaugeModelListener
void addGaugeModelListener(GaugeModelListener listener)
removeGaugeModelListener
void removeGaugeModelListener(GaugeModelListener listener)