|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.monitorenter.gui.chart.rangepolicies.ARangePolicy info.monitorenter.gui.chart.rangepolicies.RangePolicyHighestValuesForcedMin
public final class RangePolicyHighestValuesForcedMin
Range policy implementation that will show a viewport with only the highest values that are in the range of maximum - x which also forces the lower bound to be shown if no data towards this bound exists.
Field Summary |
---|
Fields inherited from class info.monitorenter.gui.chart.rangepolicies.ARangePolicy |
---|
m_propertyChangeSupport |
Fields inherited from interface info.monitorenter.gui.chart.IRangePolicy |
---|
PROPERTY_RANGE, PROPERTY_RANGE_MAX, PROPERTY_RANGE_MIN |
Constructor Summary | |
---|---|
RangePolicyHighestValuesForcedMin(Range range,
double highestValueRangeToShow)
Constructor with a range and the value range for the highest values to show only. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
double |
getMax(double chartMin,
double chartMax)
Returns the maximum of the chart always. |
double |
getMin(double chartMin,
double chartMax)
Returns the maximum of the chart - interal highestValueRangeToShow. |
int |
hashCode()
|
Methods inherited from class info.monitorenter.gui.chart.rangepolicies.ARangePolicy |
---|
addPropertyChangeListener, firePropertyChange, getPropertyChangeListeners, getRange, removePropertyChangeListener, removePropertyChangeListener, setRange |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RangePolicyHighestValuesForcedMin(Range range, double highestValueRangeToShow)
range
- unused, maximum bound is always returned.highestValueRangeToShow
- the value range for the highest values to show.Method Detail |
---|
public boolean equals(java.lang.Object obj)
equals
in class ARangePolicy
Object.equals(java.lang.Object)
public double getMax(double chartMin, double chartMax)
chartMin
- ignored.chartMax
- returned always.
IRangePolicy.getMax(double, double)
public double getMin(double chartMin, double chartMax)
chartMin
- unused: the lower bound is always controlled by max - internal
highesValueRangeToShow.chartMax
- upper bound to compute down to the start of the latest highest
values.
IRangePolicy.getMin(double, double)
public int hashCode()
hashCode
in class ARangePolicy
Object.hashCode()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |