-
- Type Parameters:
X
- Type of X values.Y
- Type of Y values.
- All Superinterfaces:
Observable
- All Known Implementing Classes:
DensityChartFX.AbstractData
,DensityChartFX.DefaultData
,DensityChartFX.ProjectionData
- Enclosing class:
- DensityChartFX<X,Y>
public static interface DensityChartFX.Data<X,Y> extends Observable
Heat map data.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getXSize()
Size of the data along X axis.X
getXValue(int xIndex)
Returns X coordinate at given index.int
getYSize()
Size of the data along Y axis.Y
getYValue(int yIndex)
Returns Y coordinate at given index.double
getZValue(int xIndex, int yIndex)
Returns the Z value for given X and Y coordinate index.-
Methods inherited from interface javafx.beans.Observable
addListener, removeListener
-
-
-
-
Method Detail
-
getXSize
int getXSize()
Size of the data along X axis.- Returns:
- Number of X coordinates.
-
getYSize
int getYSize()
Size of the data along Y axis.- Returns:
- Number of Y coordinates.
-
getXValue
X getXValue(int xIndex)
Returns X coordinate at given index.- Parameters:
xIndex
- Index of the X coordinate.- Returns:
- X coordinate.
- See Also:
getXSize()
-
getYValue
Y getYValue(int yIndex)
Returns Y coordinate at given index.- Parameters:
yIndex
- Index of the Y coordinate.- Returns:
- Y coordinate.
- See Also:
getYSize()
-
getZValue
double getZValue(int xIndex, int yIndex)
Returns the Z value for given X and Y coordinate index.- Parameters:
xIndex
- Index of the X coordinate.yIndex
- Index of the Y coordinate.- Returns:
- the value
-
-