|
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.ChartPointND
public class ChartPointND
A ChartPoint with any number of dimensions
| Constructor Summary | |
|---|---|
ChartPointND()
|
|
ChartPointND(double... ds)
|
|
ChartPointND(Positionable... positionables)
|
|
| Method Summary | |
|---|---|
int |
compareTo(Chartable other)
|
Positionable |
get(int dimension)
By convention, Dimension 0 is X Dimension 1 is Y Dimension 2 is Z |
int |
getDimensionCount()
Returns the current number of dimensions. |
Highlight |
getHighlight()
|
Positionable |
getX()
Gets the x coordinate of the Chartable object |
Positionable |
getY()
Gets the y coordinate of the Chartable object |
Positionable |
getZ()
Gets the z coordinate of the Chartable object |
boolean |
isHighlight(Highlight h)
Is the highlight for this chart point the same as the supplied highlight? If the supplied highlight is null, this always returns false. |
void |
set(int dimension,
Positionable p)
|
void |
setHighlight(Highlight h)
Specify the highlight to be associated with this object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChartPointND()
public ChartPointND(double... ds)
public ChartPointND(Positionable... positionables)
| Method Detail |
|---|
public Positionable getX()
Chartable
getX in interface Chartablepublic Positionable getY()
Chartable
getY in interface Chartablepublic Positionable getZ()
Chartable3D
getZ in interface Chartable3Dpublic int compareTo(Chartable other)
compareTo in interface Comparable<Chartable>public int getDimensionCount()
getDimensionCount in interface ChartableNDpublic Positionable get(int dimension)
ChartableND
get in interface ChartableNDdimension - the index of the dimension of interest
public void set(int dimension,
Positionable p)
public Highlight getHighlight()
getHighlight in interface HighlightableHighlight associated with this object, or null if there is no highlightpublic boolean isHighlight(Highlight h)
h - the highlight to test
public void setHighlight(Highlight h)
Highlightable
setHighlight in interface Highlightableh - the new highlight
|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||