cn.limc.androidcharts.entity
Class OHLCEntity

java.lang.Object
  extended by cn.limc.androidcharts.entity.OHLCEntity

public class OHLCEntity
extends java.lang.Object

Entity data which is use for display a candleStick in CandleStickChart use OHLC(Open,High,Low,Close) four values for a candle

CandleStickChartのロウソク線表示用データです、四本値を格納用オブジェクトです。

保存蜡烛线表示用的OHLC四个值的实体对象

Version:
v1.0 2011/05/29 12:19:06
Author:
limc

Constructor Summary
OHLCEntity()
           Constructor of OHLCEntity
OHLCEntity(double open, double high, double low, double close, int date)
           Constructor of OHLCEntity
 
Method Summary
 double getClose()
           
 int getDate()
           
 double getHigh()
           
 double getLow()
           
 double getOpen()
           
 void setClose(double close)
           
 void setDate(int date)
           
 void setHigh(double high)
           
 void setLow(double low)
           
 void setOpen(double open)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OHLCEntity

public OHLCEntity(double open,
                  double high,
                  double low,
                  double close,
                  int date)

Constructor of OHLCEntity

OHLCEntity类对象的构造函数

OHLCEntityのコンストラクター

Parameters:
open -

Open Value

始値

开盘价

high -

High Value

高値

最高价

low -

Low Value

低値

最低价

close -

Close Value

終値

收盘价

date -

Date

日付

日期


OHLCEntity

public OHLCEntity()

Constructor of OHLCEntity

OHLCEntity类对象的构造函数

OHLCEntityのコンストラクター

Method Detail

getOpen

public double getOpen()
Returns:
the open

setOpen

public void setOpen(double open)
Parameters:
open - the open to set

getHigh

public double getHigh()
Returns:
the high

setHigh

public void setHigh(double high)
Parameters:
high - the high to set

getLow

public double getLow()
Returns:
the low

setLow

public void setLow(double low)
Parameters:
low - the low to set

getClose

public double getClose()
Returns:
the close

setClose

public void setClose(double close)
Parameters:
close - the close to set

getDate

public int getDate()
Returns:
the date

setDate

public void setDate(int date)
Parameters:
date - the date to set