|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jidesoft.chart.model.RealPosition
public class RealPosition
A simple implementation of Positionable
Constructor Summary | |
---|---|
RealPosition()
|
|
RealPosition(double position)
Create a RealPosition from the supplied position parameter |
Method Summary | |
---|---|
int |
compareTo(Positionable o)
This method enables RealPositions to be compared and sorted according to their position on the number line. |
boolean |
equals(Object obj)
|
int |
hashCode()
|
double |
position()
Map the Positionable object to a numeric value (a double) so that it can be positioned on an axis. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RealPosition()
public RealPosition(double position)
position
- the position of the associated object as a doubleMethod Detail |
---|
public double position()
Positionable
object to a numeric value (a double) so that it can be positioned on an axis.
position
in interface Positionable
public String toString()
toString
in class Object
public int compareTo(Positionable o)
compareTo
in interface Comparable<Positionable>
o
- some other Positionable
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |