Package org.jfree.data
Interface MeterDataset
- All Superinterfaces:
Dataset,Value,ValueDataset
- All Known Implementing Classes:
DefaultMeterDataset
public interface MeterDataset extends ValueDataset
Deprecated.
Use ValueDataset instead, this interface mixes data and
presentation items.
A dataset containing a single value within an overall range. In addition, the
dataset defines three subranges: the 'normal' range, the 'warning' range and
the 'critical' range.
-
Field Summary
Fields Modifier and Type Field Description static intCRITICAL_DATADeprecated.A constant representing the 'critical' level.static intFULL_DATADeprecated.A constant representing the full data range.static intNORMAL_DATADeprecated.A constant representing the 'normal' level.static intWARNING_DATADeprecated.A constant representing the 'warning' level. -
Method Summary
Modifier and Type Method Description intgetBorderType()Deprecated.Returns the border type for the data.NumbergetMaximumCriticalValue()Deprecated.Returns the upper value in the critical range.NumbergetMaximumNormalValue()Deprecated.Returns the upper value in the normal range.NumbergetMaximumValue()Deprecated.Returns the upper value in the overall range.NumbergetMaximumWarningValue()Deprecated.Returns the upper value in the warning range.NumbergetMinimumCriticalValue()Deprecated.Returns the lower value in the critical range.NumbergetMinimumNormalValue()Deprecated.Returns the lower value in the normal range.NumbergetMinimumValue()Deprecated.Returns the lower value in the overall range.NumbergetMinimumWarningValue()Deprecated.Returns the lower value in the warning range.StringgetUnits()Deprecated.Returns a string representing the units on the dial.booleanisValueValid()Deprecated.Returns true if the value is valid, and false otherwise.Methods inherited from interface org.jfree.data.Dataset
addChangeListener, getGroup, removeChangeListener, setGroup
-
Field Details
-
NORMAL_DATA
static final int NORMAL_DATADeprecated.A constant representing the 'normal' level.- See Also:
- Constant Field Values
-
WARNING_DATA
static final int WARNING_DATADeprecated.A constant representing the 'warning' level.- See Also:
- Constant Field Values
-
CRITICAL_DATA
static final int CRITICAL_DATADeprecated.A constant representing the 'critical' level.- See Also:
- Constant Field Values
-
FULL_DATA
static final int FULL_DATADeprecated.A constant representing the full data range.- See Also:
- Constant Field Values
-
-
Method Details
-
getMinimumValue
Number getMinimumValue()Deprecated.Returns the lower value in the overall range.- Returns:
- The lower value.
-
getMaximumValue
Number getMaximumValue()Deprecated.Returns the upper value in the overall range.- Returns:
- The upper value.
-
getMinimumNormalValue
Number getMinimumNormalValue()Deprecated.Returns the lower value in the normal range.- Returns:
- The lower value.
-
getMaximumNormalValue
Number getMaximumNormalValue()Deprecated.Returns the upper value in the normal range.- Returns:
- The upper value.
-
getMinimumWarningValue
Number getMinimumWarningValue()Deprecated.Returns the lower value in the warning range.- Returns:
- The lower value.
-
getMaximumWarningValue
Number getMaximumWarningValue()Deprecated.Returns the upper value in the warning range.- Returns:
- The upper value.
-
getMinimumCriticalValue
Number getMinimumCriticalValue()Deprecated.Returns the lower value in the critical range.- Returns:
- The lower value.
-
getMaximumCriticalValue
Number getMaximumCriticalValue()Deprecated.Returns the upper value in the critical range.- Returns:
- The upper value.
-
isValueValid
boolean isValueValid()Deprecated.Returns true if the value is valid, and false otherwise.- Returns:
- A boolean
-
getUnits
String getUnits()Deprecated.Returns a string representing the units on the dial.- Returns:
- The units.
-
getBorderType
int getBorderType()Deprecated.Returns the border type for the data.- Returns:
- The border type.
-