|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinfo.monitorenter.gui.chart.rangepolicies.ARangePolicy
info.monitorenter.gui.chart.rangepolicies.RangePolicyFixedViewport
public final class RangePolicyFixedViewport
A range policy that forces the chart only to display the bounds of the internal range regardless of the actual bounds of the traces within the chart.
| 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 | |
|---|---|
RangePolicyFixedViewport()
Creates a range policy with an unconfigured range ( Range.RANGE_UNBOUNDED). |
|
RangePolicyFixedViewport(Range range)
Creates a range policy backed by the given range. |
|
| Method Summary | |
|---|---|
double |
getMax(double chartMin,
double chartMax)
Returns the fixed maximum of the internal range. |
double |
getMin(double chartMin,
double chartMax)
Returns the fixed minimum of the internal 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 RangePolicyFixedViewport()
Range.RANGE_UNBOUNDED).
public RangePolicyFixedViewport(Range range)
range - the range that may be used to decide about the policy of
displaying the range.| Method Detail |
|---|
public double getMax(double chartMin,
double chartMax)
chartMax - ignored.chartMin - ignored.
IRangePolicy.getMax(double, double)
public double getMin(double chartMin,
double chartMax)
chartMin - ignored.chartMax - ignored.
IRangePolicy.getMin(double, double)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||