Package com.iizix.prop.ui.chart.series
Class OHLC
java.lang.Object
com.iizix.prop.ui.chart.series.GSeriesValue
com.iizix.prop.ui.chart.series.OHLC
- All Implemented Interfaces:
- Cloneable
The OHLC series value with Open, High, Mid, Low and Close values where Mid is optional.
- Author:
- Christopher Mindus
- Field SummaryFields
- Constructor SummaryConstructors
- Method SummaryModifier and TypeMethodDescription- booleanChecks if two fill objects are equal.- getType()Gets the fill type.- Methods inherited from class com.iizix.prop.ui.chart.series.GSeriesValue- clone, fromString, getString, parseNumber, toString
- Field Details- openpublic final double openThe Open value. An unspecified value is Double.NaN.
- highpublic final double highThe High value. An unspecified value is Double.NaN.
- midpublic final double midThe Mid value (or Double.NaN for none).
- lowpublic final double lowThe High value. An unspecified value is Double.NaN.
- closepublic final double closeThe High value. An unspecified value is Double.NaN.
 
- Constructor Details- OHLCpublic OHLC- (double open, double high, double low, double close) Constructor for the OHLC value point without Mid value.- Parameters:
- open- The Open value, Double.NaN for no value.
- high- The High value, Double.NaN for no value.
- low- The Low value, Double.NaN for no value.
- close- The Close value, Double.NaN for no value.
 
- OHLCpublic OHLC- (double open, double high, double mid, double low, double close) Constructor for the OHLC value point.- Parameters:
- open- The Open value, Double.NaN for no value.
- high- The High value, Double.NaN for no value.
- mid- The Mid value, Double.NaN for no value.
- low- The Low value, Double.NaN for no value.
- close- The Close value, Double.NaN for no value.
 
 
- Method Details- getTypeGets the fill type.- Specified by:
- getTypein class- GSeriesValue
- Returns:
- OHLC.
 
- equalsChecks if two fill objects are equal.- Specified by:
- equalsin class- GSeriesValue