|
|||||||||
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.RangePolicyMinimumViewport info.monitorenter.gui.chart.rangepolicies.RangePolicyForcedPoint
public final class RangePolicyForcedPoint
A range policy that forces the chart always to display the constructor given point 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 | |
---|---|
RangePolicyForcedPoint()
Creates a range policy that ensures zero to be visible. |
|
RangePolicyForcedPoint(double point)
Creates a range policy backed by the given point in the dimension this policy is used (x or y). |
Method Summary | |
---|---|
void |
setPoint(double point)
Sets the point to ensure to be visible. |
void |
setRange(Range range)
This method is an invariant of the super class contract: only the minimum value of the given range is used to enforce visibility. |
Methods inherited from class info.monitorenter.gui.chart.rangepolicies.RangePolicyMinimumViewport |
---|
getMax, getMin |
Methods inherited from class info.monitorenter.gui.chart.rangepolicies.ARangePolicy |
---|
addPropertyChangeListener, equals, firePropertyChange, getPropertyChangeListeners, getRange, hashCode, removePropertyChangeListener, removePropertyChangeListener |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RangePolicyForcedPoint()
public RangePolicyForcedPoint(double point)
point
- the point that always has to be shown.Method Detail |
---|
public void setPoint(double point)
point
- the point to ensure to be visible.public void setRange(Range range)
Use setPoint(double)
instead.
setRange
in interface IRangePolicy
setRange
in class ARangePolicy
range
- the internal range that may be taken into account for returning
bounds from
IRangePolicy.getMax(double, double)
and
IRangePolicy.getMax(double, double)
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |