|
Venice 0.7beta | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mov.chart.Graphable org.mov.chart.PFGraphable
public class PFGraphable
Represents a graphable set of X points and their associated list of Y points.
Constructor Summary | |
---|---|
PFGraphable()
Create an empty PFgraphable. |
Method Summary | |
---|---|
double |
getBoxPrice()
Return the box price for this graph |
int |
getColumnSpan()
Return the size of the column span. |
TradingDate |
getDate(java.lang.Comparable x)
Get the date value for the given X value. |
java.lang.Comparable |
getEndX()
Get the last X value where we have an associated Y value. |
double |
getHighestY(java.util.List xRange)
Given an X range, inspect all the associated Y values and return the highest. |
double |
getLowestY(java.util.List xRange)
Given an X range, inspect all the associated Y values and return the lowest. |
java.lang.Comparable |
getStartX()
Get the first X value where we have an associated Y value. |
java.lang.String |
getString(java.lang.Comparable x)
Get the character value for the given X value. |
java.util.Set |
getXRange()
Get all the X values for where we have an associated Y value. |
java.util.Vector |
getYList(java.lang.Comparable x)
Get the Y value for the given X value. |
void |
putData(java.lang.Comparable x,
java.lang.Comparable date,
java.util.Vector list,
java.lang.String marker)
Associate the given X value with the given data. |
void |
putDate(java.lang.Comparable x,
java.lang.Comparable y)
Associate the given X value with the given Y value. |
void |
putString(java.lang.Comparable x,
java.lang.String s)
Associate the given x value with the given character. |
void |
putYList(java.lang.Comparable x,
java.util.Vector y)
Associate the given X value with the given Y value. |
void |
setBoxPrice(double value)
Set the box price at graph generation |
void |
setColumnSpan(int value)
Set the size of the date column span. |
Methods inherited from class org.mov.chart.Graphable |
---|
getMap, getY, iterator, putY, toArray |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PFGraphable()
Method Detail |
---|
public java.lang.Comparable getEndX()
getEndX
in class Graphable
public java.lang.Comparable getStartX()
getStartX
in class Graphable
public java.util.Vector getYList(java.lang.Comparable x)
x
- the x value
public java.lang.String getString(java.lang.Comparable x)
x
- the x value
public TradingDate getDate(java.lang.Comparable x)
x
- the x value
public double getBoxPrice()
public int getColumnSpan()
public void putData(java.lang.Comparable x, java.lang.Comparable date, java.util.Vector list, java.lang.String marker)
x
- the x valuedate
- a date representing the point at which data changedlist
- a list of price values within a move.marker
- a string denoting a price value as an upmove or downmove.public void setBoxPrice(double value)
value
- The box price which represents the smallest
plottable price pointpublic void setColumnSpan(int value)
value
- The size of the column spanpublic void putDate(java.lang.Comparable x, java.lang.Comparable y)
x
- the x valuey
- the y valuepublic void putYList(java.lang.Comparable x, java.util.Vector y)
x
- the x valuey
- the associated List of y valuespublic void putString(java.lang.Comparable x, java.lang.String s)
x
- the x values
- the associated characterpublic double getHighestY(java.util.List xRange)
getHighestY
in class Graphable
xRange
- a List
of Comparable
objects
public double getLowestY(java.util.List xRange)
getLowestY
in class Graphable
xRange
- a List
of Comparable
objects
public java.util.Set getXRange()
getXRange
in class Graphable
|
Venice 0.7beta | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |