public class MeterGauge extends AbstractDisplay
Constructor and Description |
---|
MeterGauge()
Creates a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getIntervalColors(java.lang.String key) |
java.util.List<java.lang.Number> |
getIntervals(java.lang.String key) |
java.util.Set<java.lang.String> |
getKeys() |
java.lang.Number |
getValue(java.lang.String key) |
void |
setIntervals(java.lang.String key,
java.util.List<java.lang.Number> intervals,
java.util.List<java.lang.String> colors)
Sets the intervals for the colors of the meter gauge with the given name.
|
void |
setValue(java.lang.String key,
java.lang.Number value)
Sets the value for the given meter gauge "series".
|
public void setIntervals(java.lang.String key, java.util.List<java.lang.Number> intervals, java.util.List<java.lang.String> colors)
key
- The name of the meter gauge "series".intervals
- The intervals for the colors.colors
- The colors of the intervals. It is assumed that the size of this list is the same as the one for the intervals. The colors are given as html string
(e.g., FF000).public void setValue(java.lang.String key, java.lang.Number value)
key
- The name of the meter gauge "series".value
- The new value for the meter gauge.public java.util.Set<java.lang.String> getKeys()
public java.util.List<java.lang.Number> getIntervals(java.lang.String key)
public java.util.List<java.lang.String> getIntervalColors(java.lang.String key)
public java.lang.Number getValue(java.lang.String key)
Copyright 2017 Kieker Project, http://kieker-monitoring.net