|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlt.monarch.chart.mapper.AbstractAxisMapperRange
lt.monarch.chart.mapper.SimpleAxisMapperRange
public class SimpleAxisMapperRange extends AbstractAxisMapperRange
Default simple implementation of the mapper range
| Constructor and Description |
|---|
SimpleAxisMapperRange()
Constructs a new SimpleAxisMapperRange object with the minimum 0 and extent 1. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Double |
getMaximum()
Returns the range maximum. |
java.lang.Double |
getMinimum()
Returns the range minimum. |
boolean |
isMoreZoomAvailable()
Returns true if the axis can more zoom, false otherwise. |
void |
setExtent(double ext)
Sets the range extent. |
void |
setMinimum(double min)
Sets the range minimum. |
void |
setRange(double min,
double max)
Sets the range minimum and maximum to the specified values. |
java.lang.String |
toString()
Returns the string representation of this SimpleAxisMapperRange object. |
| Methods inherited from class lt.monarch.chart.mapper.AbstractAxisMapperRange |
|---|
addListener, fireRangeAdjusting, fireRangeChanged, fireRangeShifted, isAdjusting, removeListener, setIsAdjusting |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleAxisMapperRange()
SimpleAxisMapperRange object with the minimum 0 and extent 1.
| Method Detail |
|---|
public java.lang.Double getMinimum()
public java.lang.Double getMaximum()
minimum + extent
public void setMinimum(double min)
min < 0, then the range minimum is set to 0. If
min+extent > 1, then the range minimum is set to 1-extent.
min - the new range minimumpublic void setExtent(double ext)
ext < 0, then the range extent is set to 0. If
minimum+ext > 1, then the the extent is set to 1-minimum.
ext - the new range extent
public void setRange(double min,
double max)
0 <= minimum <= maximum <= 1
min - the new range minimummax - the new range maximumpublic java.lang.String toString()
SimpleAxisMapperRange object.
toString in class java.lang.Objectpublic boolean isMoreZoomAvailable()
AxisMapperRange
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||