|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.chenillekit.tapestry.core.utils.XYDataItem
public class XYDataItem
| Constructor Summary | |
|---|---|
XYDataItem(Number xValue,
Number yValue)
Constructs a new data item. |
|
| Method Summary | |
|---|---|
int |
compareTo(Object o1)
Returns an integer indicating the order of this object relative to another object. |
boolean |
equals(Object obj)
Tests if this object is equal to another. |
Number |
getXValue()
Returns the x-value. |
Number |
getYValue()
Returns the y-value. |
int |
hashCode()
Returns a hash code. |
void |
setXValue(Number xValue)
Sets the x-value for this data item. |
void |
setYValue(Number yValue)
Sets the y-value for this data item. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public XYDataItem(Number xValue,
Number yValue)
xValue - the x-value.yValue - the y-value.| Method Detail |
|---|
public Number getXValue()
public Number getYValue()
public void setYValue(Number yValue)
yValue - the new y-value.public void setXValue(Number xValue)
xValue - the new x-value.public boolean equals(Object obj)
equals in class Objectobj - the object to test against for equality (null
permitted).
public int hashCode()
hashCode in class Objectpublic int compareTo(Object o1)
compareTo in interface Comparableo1 - the object being compared to.
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||