|
ElegantJCharts Java API Specification v2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.elegantj.graphx.candle.DateManip
This class is responsible for Date/Time manipulation for Candle Graph
| Constructor Summary | |
DateManip()
Constructor |
|
DateManip(CandleGraph inGraph)
|
|
| Method Summary | |
CandleData |
convertToCandleData(java.util.Vector theDataVect)
This method returns the candle data from inputted vector |
CandleData |
getCandleDataInSession(java.lang.Object theSessionStart,
java.lang.Object theSessionEnd,
int theJ)
This method returns the Candle Data in specified time range interval |
java.util.Vector |
getCandleDataVect()
This method returns the vector containg candle data |
double |
getMax(java.util.Vector inVect)
This method returns the maximum value from inputted vector |
double |
getMIn(java.util.Vector inVect)
This method returns the minimum value from inputted vector |
java.util.Vector |
getNewDataMatrix()
This method returns the new data matrix |
java.util.GregorianCalendar |
getNextGC(java.util.GregorianCalendar gcDate)
This method returns the next Date of the inputted date depending upon current TimeSeriesType as monthly,quarterly,yearly... |
java.lang.Object |
getSessionEnd()
This method returns the ending value of timeseriesrange |
java.lang.Object |
getSessionStart()
This method returns the start value of timeseriesrange |
java.util.Vector |
getTimeSeriesLabelList()
This method returns the vector containg labels for X axis [TimeSeries] |
void |
init()
This method initiate the computation |
void |
setCandleDataVect()
This method sets the candle data vector [containing candle data for each timeseries(X Axis) label,legand wise] |
void |
setTimeSeriesLabels()
This method generate X Axis Label [Time Series] depending upon current TimeSeries type as Weekly,Monthly... |
void |
setTimeSeriesRange()
This method calculate the Time Series range [X Axis Min and Max label values ] [Min and Max time value inwhich data is to bel displayed ] |
void |
startComputation()
This method starts computation |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DateManip()
public DateManip(CandleGraph inGraph)
| Method Detail |
public void init()
public void startComputation()
public void setTimeSeriesRange()
public void setTimeSeriesLabels()
public void setCandleDataVect()
public CandleData getCandleDataInSession(java.lang.Object theSessionStart,
java.lang.Object theSessionEnd,
int theJ)
theSessionStart - starting value of intervaltheSessionEnd - ending value of intervalpublic CandleData convertToCandleData(java.util.Vector theDataVect)
public double getMax(java.util.Vector inVect)
public double getMIn(java.util.Vector inVect)
public java.util.GregorianCalendar getNextGC(java.util.GregorianCalendar gcDate)
gcDate - containing the date
public java.util.Vector getCandleDataVect()
public java.util.Vector getTimeSeriesLabelList()
public java.lang.Object getSessionStart()
public java.lang.Object getSessionEnd()
public java.util.Vector getNewDataMatrix()
|
ElegantJCharts Java API Specification v2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||