Class StockEntry
java.lang.Object
org.eclipse.birt.chart.extension.datafeed.StockEntry
- All Implemented Interfaces:
IDataPointEntry
StockEntry
-
Constructor Summary
ConstructorsConstructorDescriptionStockEntry(double dOpen, double dLow, double dHigh, double dClose) StockEntry(Object[] oaFourComponents) -
Method Summary
Modifier and TypeMethodDescriptiondoublegetClose()getFormattedString(String type, FormatSpecifier formatter, com.ibm.icu.util.ULocale locale) Returns the formatted string representation of current object by given formatter and locale.getFormattedString(FormatSpecifier formatter, com.ibm.icu.util.ULocale locale) Returns the formatted string representation of current object by given formatter and locale.doublegetHigh()doublegetLow()doublegetOpen()booleanisValid()Returns if the DataPointEntry is valid.voidsetClose(double close) voidsetHigh(double high) voidsetLow(double low) voidsetOpen(double open) toString()
-
Constructor Details
-
StockEntry
public StockEntry(double dOpen, double dLow, double dHigh, double dClose) - Parameters:
dOpen-dLow-dHigh-dClose-
-
StockEntry
- Parameters:
oaFourComponents-
-
-
Method Details
-
toString
-
getClose
public double getClose()- Returns:
- Returns the close.
-
setClose
public void setClose(double close) - Parameters:
close- The close to set.
-
getHigh
public double getHigh()- Returns:
- Returns the high.
-
setHigh
public void setHigh(double high) - Parameters:
high- The high to set.
-
getLow
public double getLow()- Returns:
- Returns the low.
-
setLow
public void setLow(double low) - Parameters:
low- The low to set.
-
getOpen
public double getOpen()- Returns:
- Returns the open.
-
setOpen
public void setOpen(double open) - Parameters:
open- The open to set.
-
getFormattedString
public String getFormattedString(String type, FormatSpecifier formatter, com.ibm.icu.util.ULocale locale) Description copied from interface:IDataPointEntryReturns the formatted string representation of current object by given formatter and locale.- Specified by:
getFormattedStringin interfaceIDataPointEntry- Parameters:
type- data point typeformatter- An formatterlocale- Specific locale.- Returns:
- The string representation
- See Also:
-
#getDataPointTypes()
-
getFormattedString
Description copied from interface:IDataPointEntryReturns the formatted string representation of current object by given formatter and locale.- Specified by:
getFormattedStringin interfaceIDataPointEntry- Parameters:
formatter- An formatterlocale- Specific locale.- Returns:
- The string representation
-
isValid
public boolean isValid()Description copied from interface:IDataPointEntryReturns if the DataPointEntry is valid.- Specified by:
isValidin interfaceIDataPointEntry- Returns:
- value or not
-