com.steema.teechart.functions
Class CompressOHLC

java.lang.Object
  extended by com.steema.teechart.TeeBase
      extended by com.steema.teechart.functions.Function
          extended by com.steema.teechart.functions.CompressOHLC

public class CompressOHLC
extends Function

Title: CompressOHLC class

Description: CompressOHLC Function.

Copyright (c) 2005-2013 by Steema Software SL. All Rights Reserved.

Company: Steema Software SL


Nested Class Summary
static interface CompressOHLC.DateCompressor
           
 
Field Summary
 
Fields inherited from class com.steema.teechart.functions.Function
canUsePeriod, dPeriod, HideSourceList, noSourceRequired, series, SingleSource, updating
 
Fields inherited from class com.steema.teechart.TeeBase
chart, InternalUse
 
Constructor Summary
CompressOHLC()
           
CompressOHLC(IBaseChart c)
           
 
Method Summary
 void addPoints(java.util.Vector source)
          Gets all points from Source series, performs a function operation on points and stores results in ParentSeries.
 CompressionPeriod getCompress()
          The Compression Period as defined by the CompressionPeriod enumeration.
 CompressOHLC.DateCompressor getDateCompressor()
           
 java.lang.String getDescription()
          Gets descriptive text.
 void setCompress(CompressionPeriod value)
          Sets the Compression Period as defined by the CompressionPeriod enumeration.
 void setDateCompressor(CompressOHLC.DateCompressor value)
           
 
Methods inherited from class com.steema.teechart.functions.Function
addFunctionXY, calculate, calculateAllPoints, calculateByPeriod, calculateMany, calculatePeriod, clear, dispose, doCalculation, getPeriod, getPeriodAlign, getPeriodStyle, getSeries, newInstance, readResolve, recalculate, setPeriod, setPeriodAlign, setPeriodStyle, setSeries, valueList
 
Methods inherited from class com.steema.teechart.TeeBase
getChart, invalidate, setBooleanProperty, setChart, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompressOHLC

public CompressOHLC()

CompressOHLC

public CompressOHLC(IBaseChart c)
Method Detail

getCompress

public CompressionPeriod getCompress()
The Compression Period as defined by the CompressionPeriod enumeration.

Returns:
CompressionPeriod

setCompress

public void setCompress(CompressionPeriod value)
Sets the Compression Period as defined by the CompressionPeriod enumeration.

Parameters:
value - CompressionPeriod

addPoints

public void addPoints(java.util.Vector source)
Gets all points from Source series, performs a function operation on points and stores results in ParentSeries.

Overrides:
addPoints in class Function
Parameters:
source - ArrayList

getDateCompressor

public CompressOHLC.DateCompressor getDateCompressor()

setDateCompressor

public void setDateCompressor(CompressOHLC.DateCompressor value)

getDescription

public java.lang.String getDescription()
Gets descriptive text.

Overrides:
getDescription in class Function
Returns:
String