|
|||||||||
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.RangePolicyUnbounded
public final class RangePolicyUnbounded
A dummy IRangePolicy implementation that reflects the bounds of the connected Chart2D instance.
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 | |
---|---|
RangePolicyUnbounded()
Creates a range policy with an unconfigured range ( Range.RANGE_UNBOUNDED ). |
|
RangePolicyUnbounded(Range range)
Creates a range policy backed by the given range which is not used for getMax(double, double) or getMin(double, double) but
stored for later changes of the range policy from outside. |
Method Summary | |
---|---|
double |
getMax(double chartMin,
double chartMax)
Define the upper bound of the Chart2D's value range. |
double |
getMin(double chartMin,
double chartMax)
Define the lower bound of the Chart2D's value range. |
Methods inherited from class info.monitorenter.gui.chart.rangepolicies.ARangePolicy |
---|
addPropertyChangeListener, equals, firePropertyChange, getPropertyChangeListeners, getRange, hashCode, removePropertyChangeListener, removePropertyChangeListener, setRange |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RangePolicyUnbounded()
Range.RANGE_UNBOUNDED
).
public RangePolicyUnbounded(Range range)
getMax(double, double)
or getMin(double, double)
but
stored for later changes of the range policy from outside.
range
- the range that may be used to decide about the policy of
displaying the range.AAxis.setRangePolicy(info.monitorenter.gui.chart.IRangePolicy)
Method Detail |
---|
public double getMax(double chartMin, double chartMax)
IRangePolicy
AAxis
this instance is bound to.
chartMin
- the minimum value of the connected Chart2D that may / should be
taken into account.chartMax
- the maximum value of the connected Chart2D that may / should be
taken into account.
IRangePolicy.getMax(double,double)
public double getMin(double chartMin, double chartMax)
IRangePolicy
AAxis
this instance is bound to.
chartMin
- the minimum value of the connected Chart2D that may / should be
taken into account.chartMax
- the maximum value of the connected Chart2D that may / should be
taken into account.
IRangePolicy.getMin(double, double)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |