Modifier and Type | Field and Description |
---|---|
private boolean |
isLineVisible
the state indicating if line is visible
|
private boolean[][] |
occupied
flag indicating whether the grid is occupied
|
compressed, compressedIndexes, compressedXSeries, compressedYSeries, config, prevConfig, previousXGridIndex, previousYGridIndex, xLower, xSeries, xUpper, yLower, ySeries, yUpper
Constructor and Description |
---|
CompressScatterSeries() |
Modifier and Type | Method and Description |
---|---|
protected void |
addNecessaryPlots(java.util.ArrayList<java.lang.Double> xList,
java.util.ArrayList<java.lang.Double> yList,
java.util.ArrayList<java.lang.Integer> indexList)
Adds the necessary plots.
|
private boolean |
isOccupied(double x,
double y)
check if the grid is already occupied
|
void |
setLineVisible(boolean visible)
Sets the state indicating if the line is visible.
|
addToList, compress, getCompressedIndexes, getCompressedXSeries, getCompressedYSeries, isInSameGridAsPrevious, setXSeries, setYSeries
private boolean isLineVisible
private boolean[][] occupied
protected void addNecessaryPlots(java.util.ArrayList<java.lang.Double> xList, java.util.ArrayList<java.lang.Double> yList, java.util.ArrayList<java.lang.Integer> indexList)
Compress
addNecessaryPlots
in class Compress
xList
- the array in which x coordinate for necessary plot is storedyList
- the array in which y coordinate for necessary plot is storedindexList
- the array in which series index for necessary plot is storedprivate boolean isOccupied(double x, double y)
x
- the X coordinatey
- the Y coordinatepublic void setLineVisible(boolean visible)
visible
- the state indicating if the line is visible