org.swtchart.internal.compress
Class CompressScatterSeries

java.lang.Object
  extended by org.swtchart.internal.compress.Compress
      extended by org.swtchart.internal.compress.CompressScatterSeries
All Implemented Interfaces:
ICompress

public class CompressScatterSeries
extends Compress

A compressor for scatter series data


Field Summary
 
Fields inherited from class org.swtchart.internal.compress.Compress
compressed, compressedIndexes, compressedXSeries, compressedYSeries, config, prevConfig, previousXGridIndex, previousYGridIndex, xLower, xSeries, xUpper, yLower, ySeries, yUpper
 
Constructor Summary
CompressScatterSeries()
           
 
Method Summary
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.
 void setLineVisible(boolean visible)
          Sets the state indicating if the line is visible.
 
Methods inherited from class org.swtchart.internal.compress.Compress
addToList, compress, getCompressedIndexes, getCompressedXSeries, getCompressedYSeries, isInSameGridAsPrevious, setXSeries, setYSeries
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompressScatterSeries

public CompressScatterSeries()
Method Detail

addNecessaryPlots

protected void addNecessaryPlots(java.util.ArrayList<java.lang.Double> xList,
                                 java.util.ArrayList<java.lang.Double> yList,
                                 java.util.ArrayList<java.lang.Integer> indexList)
Description copied from class: Compress
Adds the necessary plots.

Specified by:
addNecessaryPlots in class Compress
Parameters:
xList - the array in which x coordinate for necessary plot is stored
yList - the array in which y coordinate for necessary plot is stored
indexList - the array in which series index for necessary plot is stored

setLineVisible

public void setLineVisible(boolean visible)
Sets the state indicating if the line is visible.

Parameters:
visible - the state indicating if the line is visible