|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.eclipsetrader.charts.PlotLine
Field Summary | |
---|---|
static int |
BAR
|
static int |
CANDLE
|
static int |
DASH
|
static int |
DOT
|
static int |
HISTOGRAM
|
static int |
HISTOGRAM_BAR
|
static int |
HORIZONTAL
|
static int |
INVISIBLE
|
static int |
LINE
|
Constructor Summary | |
---|---|
PlotLine()
|
|
PlotLine(BarData barData,
int field)
|
|
PlotLine(java.lang.String label)
|
|
PlotLine(java.lang.String label,
BarData barData,
int field)
|
Method Summary | |
---|---|
void |
append(Bar bar)
|
void |
append(org.eclipse.swt.graphics.Color color,
Bar bar)
|
void |
append(org.eclipse.swt.graphics.Color color,
double open,
double high,
double low,
double close)
|
void |
append(double value)
Add a value to the line. |
void |
append(java.lang.Double value)
Add a value to the line. |
void |
append(double value,
org.eclipse.swt.graphics.Color color)
Add a value and it's color to the line. |
void |
append(java.lang.Double value,
org.eclipse.swt.graphics.Color color)
Add a value and it's color to the line. |
void |
append(double open,
double high,
double low,
double close)
|
void |
appendColorBar(org.eclipse.swt.graphics.Color color)
|
void |
dispose()
Disposes the operating system resources associated with this object. |
Bar |
getBar(int index)
|
Bar |
getBarData(int index)
|
org.eclipse.swt.graphics.Color |
getColor()
Get the color used to draw this line. |
org.eclipse.swt.graphics.Color |
getColor(int index)
Get the color used to draw the line value at the specificed position. |
java.lang.Object |
getData()
|
double |
getData(int index)
Get the line value at the specified position. |
java.lang.Object |
getData(java.lang.String key)
|
java.lang.Double |
getDouble(int index)
|
double |
getDoubleValue(int index)
|
double |
getHigh()
|
java.lang.String |
getLabel()
Return the descriptive label of this line. |
int |
getLineWidth()
|
double |
getLow()
|
boolean |
getScaleFlag()
|
int |
getSize()
Get the number of values in the list. |
int |
getType()
|
java.util.Iterator |
iterator()
|
void |
prepend(Bar bar)
|
void |
prepend(org.eclipse.swt.graphics.Color color,
Bar bar)
|
void |
prepend(org.eclipse.swt.graphics.Color color,
double open,
double high,
double low,
double close)
|
void |
prepend(double value)
Add a value to the beginning of the line. |
void |
prepend(java.lang.Double value)
Add a value to the beginning of the line. |
void |
prepend(double value,
org.eclipse.swt.graphics.Color color)
Add a value and it's color to the beginning of the line. |
void |
prepend(java.lang.Double value,
org.eclipse.swt.graphics.Color color)
Add a value and it's color to the beginning of the line. |
void |
prepend(double open,
double high,
double low,
double close)
|
void |
prependColorBar(org.eclipse.swt.graphics.Color color)
|
void |
setColor(org.eclipse.swt.graphics.Color color)
Set the color used to draw this line. |
void |
setData(int index,
double value)
|
void |
setData(java.lang.Object data)
|
void |
setData(java.lang.String key,
java.lang.Object data)
|
void |
setHigh(double high)
|
void |
setLabel(java.lang.String label)
Set the descriptive label for this line. |
void |
setLineWidth(int lineWidth)
|
void |
setLow(double low)
|
void |
setScaleFlag(boolean scaleFlag)
|
void |
setType(int lineStyle)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int DOT
public static final int DASH
public static final int HISTOGRAM
public static final int HISTOGRAM_BAR
public static final int LINE
public static final int INVISIBLE
public static final int HORIZONTAL
public static final int BAR
public static final int CANDLE
Constructor Detail |
public PlotLine()
public PlotLine(BarData barData, int field)
public PlotLine(java.lang.String label)
public PlotLine(java.lang.String label, BarData barData, int field)
Method Detail |
public void dispose()
public java.lang.String getLabel()
public void setLabel(java.lang.String label)
label
- - the line labelpublic org.eclipse.swt.graphics.Color getColor()
public void setColor(org.eclipse.swt.graphics.Color color)
color
- - the colorpublic org.eclipse.swt.graphics.Color getColor(int index)
index
- - the value position
public int getType()
public void setType(int lineStyle)
public int getLineWidth()
public void setLineWidth(int lineWidth)
public void append(java.lang.Double value)
value
- - the value to addpublic void append(java.lang.Double value, org.eclipse.swt.graphics.Color color)
value
- - the value to addcolor
- - the colorpublic void append(double value)
value
- - the value to addpublic void append(double value, org.eclipse.swt.graphics.Color color)
value
- - the value to addcolor
- - the colorpublic void append(double open, double high, double low, double close)
public void append(org.eclipse.swt.graphics.Color color, double open, double high, double low, double close)
public void append(Bar bar)
public void append(org.eclipse.swt.graphics.Color color, Bar bar)
public void appendColorBar(org.eclipse.swt.graphics.Color color)
public void prepend(java.lang.Double value)
value
- - the value to addpublic void prepend(java.lang.Double value, org.eclipse.swt.graphics.Color color)
value
- - the value to addcolor
- - the colorpublic void prepend(double value)
value
- - the value to addpublic void prepend(double value, org.eclipse.swt.graphics.Color color)
value
- - the value to addcolor
- - the colorpublic void prepend(double open, double high, double low, double close)
public void prepend(org.eclipse.swt.graphics.Color color, double open, double high, double low, double close)
public void prepend(Bar bar)
public void prepend(org.eclipse.swt.graphics.Color color, Bar bar)
public void prependColorBar(org.eclipse.swt.graphics.Color color)
public java.lang.Double getDouble(int index)
public double getDoubleValue(int index)
public Bar getBar(int index)
public int getSize()
public java.util.Iterator iterator()
public double getData(int index)
index
- - the position of the value
public void setData(int index, double value)
public Bar getBarData(int index)
public boolean getScaleFlag()
public void setScaleFlag(boolean scaleFlag)
public double getHigh()
public void setHigh(double high)
public double getLow()
public void setLow(double low)
public java.lang.Object getData()
public java.lang.Object getData(java.lang.String key)
public void setData(java.lang.Object data)
public void setData(java.lang.String key, java.lang.Object data)
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |