|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.jidesoft.chart.model.AxisExtent
public class AxisExtent
A value class used to indicate a range of values along an axis. (We can't use the word 'Range' in the name though, because it already has a specific meaning in terms of allowable values. This is different to an extent, which covers all values from the min to the max, rather than allowing one value in that range.)
| Constructor Summary | |
|---|---|
AxisExtent(double minimum,
double maximum)
Create an AxisExtent instance using the supplied minimum and maximum values |
|
AxisExtent(int minimum,
int maximum)
Create an AxisExtent instance using the supplied minimum and maximum values |
|
| Method Summary | |
|---|---|
int |
compareTo(AxisExtent other)
Compares this AxisExtent to another AxisExtent object by looking at the minimum value and, if equal, then the maximum value |
boolean |
equals(Object obj)
|
double |
getMax()
Returns the maximum value of a portion of an axis |
double |
getMin()
Returns the minimum value of a portion of an axis |
int |
hashCode()
|
double |
size()
Returns the size of a portion of the axis. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AxisExtent(int minimum,
int maximum)
minimum - the minimum value of the portion of the axismaximum - the maximum value of the portion of the axis
public AxisExtent(double minimum,
double maximum)
minimum - the minimum value of the portion of the axismaximum - the maximum value of the portion of the axis| Method Detail |
|---|
public double getMin()
public double getMax()
public double size()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Objectpublic int compareTo(AxisExtent other)
compareTo in interface Comparable<AxisExtent>
|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||