jcontrol.util
Interface DataProducer


public interface DataProducer


Method Summary
 int getExponent()
          Returns the exponent of the value to show.
 int getMax()
          Returns the maximum value of this value producer.
 int getMin()
          Returns the minimum value of this value producer.
 String getUnit()
          Returns a unit string for the graphical representation of the value.
 int getValue()
          Returns the last measured value.
 void updateValue()
          Updates the measured value.
 

Method Detail

getMin

int getMin()
Returns the minimum value of this value producer.

Returns:
the minimum value of this value producer.

getMax

int getMax()
Returns the maximum value of this value producer.

Returns:
the maximum value of this value producer.

getValue

int getValue()
Returns the last measured value.

Returns:
the last measured value.

getUnit

String getUnit()
Returns a unit string for the graphical representation of the value.

Returns:
a unit string.

getExponent

int getExponent()
Returns the exponent of the value to show.

Returns:
the exponent of the value to show.

updateValue

void updateValue()
Updates the measured value.