public final class StockEntry extends java.lang.Object implements IDataPointEntry
Constructor and Description |
---|
StockEntry(double dOpen,
double dLow,
double dHigh,
double dClose) |
StockEntry(java.lang.Object[] oaFourComponents) |
Modifier and Type | Method and Description |
---|---|
double |
getClose() |
java.lang.String |
getFormattedString(FormatSpecifier formatter,
com.ibm.icu.util.ULocale locale)
Returns the formatted string representation of current object by given
formatter and locale.
|
java.lang.String |
getFormattedString(java.lang.String type,
FormatSpecifier formatter,
com.ibm.icu.util.ULocale locale)
Returns the formatted string representation of current object by given
formatter and locale.
|
double |
getHigh() |
double |
getLow() |
double |
getOpen() |
boolean |
isValid()
Returns if the DataPointEntry is valid.
|
void |
setClose(double close) |
void |
setHigh(double high) |
void |
setLow(double low) |
void |
setOpen(double open) |
java.lang.String |
toString() |
public StockEntry(double dOpen, double dLow, double dHigh, double dClose)
dOpen
- dLow
- dHigh
- dClose
- public StockEntry(java.lang.Object[] oaFourComponents)
oaFourComponents
- public java.lang.String toString()
toString
in class java.lang.Object
public final double getClose()
public final void setClose(double close)
close
- The close to set.public final double getHigh()
public final void setHigh(double high)
high
- The high to set.public final double getLow()
public final void setLow(double low)
low
- The low to set.public final double getOpen()
public final void setOpen(double open)
open
- The open to set.public java.lang.String getFormattedString(java.lang.String type, FormatSpecifier formatter, com.ibm.icu.util.ULocale locale)
IDataPointEntry
getFormattedString
in interface IDataPointEntry
type
- data point typeformatter
- An formatterlocale
- Specific locale.#getDataPointTypes()
public java.lang.String getFormattedString(FormatSpecifier formatter, com.ibm.icu.util.ULocale locale)
IDataPointEntry
getFormattedString
in interface IDataPointEntry
formatter
- An formatterlocale
- Specific locale.public boolean isValid()
IDataPointEntry
isValid
in interface IDataPointEntry
Copyright © 2005-2008 Actuate Corp. All rights reserved.