JIDE 3.5.15

com.jidesoft.gauge
Interface GaugeModel

All Known Implementing Classes:
DefaultGaugeModel

public interface GaugeModel

An interface for the data model displayed by a meter/gauge


Method Summary
 void addGaugeModelListener(GaugeModelListener listener)
           
 void clearValues()
           
 Positionable getValue(String needleName)
           
 int getValueCount()
           
 void removeGaugeModelListener(GaugeModelListener listener)
           
 void setValue(String needleName, Positionable value)
          The assumption is that with this method, an update event will be fired
 void setValue(String needleName, Positionable value, boolean fireUpdate)
           
 

Method Detail

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 needle
value - 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)

JIDE 3.5.15