|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.steema.teechart.TeeBase
com.steema.teechart.styles.Series
com.steema.teechart.styles.CustomPoint
com.steema.teechart.styles.Points
com.steema.teechart.styles.Arrow
public class Arrow
Title: Arrow class
Description: Arrow Series.
Copyright (c) 2005-2006 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.steema.teechart.styles.Series |
---|
Series.MarkTextResolver |
Field Summary | |
---|---|
protected ChartPen |
linePen
|
Fields inherited from class com.steema.teechart.styles.CustomPoint |
---|
iStacked, point |
Fields inherited from class com.steema.teechart.styles.Series |
---|
AUTODEPTH, AUTOZORDER, bActive, bBrush, bColorEach, calcVisiblePoints, colorMember, customMarkText, drawBetweenPoints, endZ, firstVisible, hasZValues, iColors, InternalUse, iNumSampleValues, iZOrder, labelMember, lastVisible, listenerList, mandatory, manualData, marks, middleZ, notMandatory, percentDecimal, percentFormat, sLabels, startZ, useAxis, useSeriesColor, valueFormat, vxValues, vyValues, yMandatory |
Fields inherited from class com.steema.teechart.TeeBase |
---|
chart |
Constructor Summary | |
---|---|
Arrow()
|
|
Arrow(IBaseChart c)
|
Method Summary | |
---|---|
int |
add(double x0,
double y0,
double x1,
double y1)
Adds an Arrow with start and end coordinates. |
int |
add(double x0,
double y0,
double x1,
double y1,
Color color)
Returns the position of the Arrow in the list. |
int |
add(double x0,
double y0,
double x1,
double y1,
java.lang.String text)
Adds an Arrow with start and end coordinates and label. |
int |
add(double x0,
double y0,
double x1,
double y1,
java.lang.String text,
Color color)
Returns the position of the Arrow in the list. |
protected void |
addSampleValues(int numValues)
|
int |
clicked(int x,
int y)
Returns the ValueIndex of the "clicked" point in the Series. |
void |
drawValue(int valueIndex)
Called internally. |
int |
getArrowHeight()
Determines the vertical arrow head size in pixels. |
int |
getArrowWidth()
Determines the horizontal arrow head size in pixels. |
java.lang.String |
getDescription()
Gets descriptive text. |
ValueList |
getEndXValues()
The X1 values for Arrows. |
ValueList |
getEndYValues()
The Y1 values for Arrows. |
double |
getMaxXValue()
The Maximum Value of the Series X Values List. |
double |
getMaxYValue()
The Maximum Value of the Series Y Values List. |
double |
getMinXValue()
The Minimum Value of the Series X Values List. |
double |
getMinYValue()
The Minimum Value of the Series Y Values List. |
ValueList |
getStartXValues()
The X0 values for Arrows. |
ValueList |
getStartYValues()
The Y0 values for Arrows. |
void |
setArrowHeight(int value)
Sets the vertical arrow head size in pixels. |
void |
setArrowWidth(int value)
Sets the horizontal arrow head size in pixels. |
void |
setEndXValues(ValueList value)
Sets X1 values for Arrows. |
void |
setEndYValues(ValueList value)
Sets Y1 values for Arrows. |
void |
setStartXValues(ValueList value)
Sets X0 values for Arrows. |
void |
setStartYValues(ValueList value)
Sets Y0 values for Arrows. |
Methods inherited from class com.steema.teechart.styles.Points |
---|
canDoExtra, createSubGallery, getColor, getLinePen, setColor, setColorEach, setSubGallery |
Methods inherited from class com.steema.teechart.styles.CustomPoint |
---|
addSeriesMouseListener, assign, calcHorizMargins, calcVerticalMargins, calcXPos, calcYPos, calcZOrder, clickedPointer, drawLegendShape, drawMark, drawPointer, getOriginPos, getPointer, getStacked, onGetPointerStyle, removePointerStyleResolver, removeSeriesMouseListener, setChart, setPointerStyleResolver, setStacked |
Methods inherited from class com.steema.teechart.TeeBase |
---|
getChart, invalidate, setBooleanProperty, setColorProperty, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.steema.teechart.styles.ISeries |
---|
getChart, invalidate |
Field Detail |
---|
protected ChartPen linePen
Constructor Detail |
---|
public Arrow()
public Arrow(IBaseChart c)
Method Detail |
---|
public int getArrowHeight()
public void setArrowHeight(int value)
value
- intgetArrowHeight()
public int getArrowWidth()
public void setArrowWidth(int value)
value
- intpublic ValueList getStartXValues()
public void setStartXValues(ValueList value)
value
- ValueListpublic ValueList getStartYValues()
public void setStartYValues(ValueList value)
value
- ValueListpublic ValueList getEndXValues()
public void setEndXValues(ValueList value)
value
- ValueListpublic ValueList getEndYValues()
public void setEndYValues(ValueList value)
value
- ValueListpublic int add(double x0, double y0, double x1, double y1)
x0
- double arrow start x coordinatey0
- double arrow start y coordinatex1
- double arrow end x coordinatey1
- double arrow end y coordinate
public int add(double x0, double y0, double x1, double y1, java.lang.String text)
x0
- double arrow start x coordinatey0
- double arrow start y coordinatex1
- double arrow end x coordinatey1
- double arrow end y coordinatetext
- String label text
public int add(double x0, double y0, double x1, double y1, Color color)
x0
- double arrow start x coordinatey0
- double arrow start y coordinatex1
- double arrow end x coordinatey1
- double arrow end y coordinatecolor
- Color arrow color
public int add(double x0, double y0, double x1, double y1, java.lang.String text, Color color)
x0
- double arrow start x coordinatey0
- double arrow start y coordinatex1
- double arrow end x coordinatey1
- double arrow end y coordinatetext
- String label textcolor
- Color arrow color
protected void addSampleValues(int numValues)
addSampleValues
in class Series
public int clicked(int x, int y)
CustomPoint
clicked
in interface ISeries
clicked
in class CustomPoint
x
- inty
- int
public double getMaxXValue()
getMaxXValue
in class CustomPoint
public double getMinXValue()
getMinXValue
in class CustomPoint
public double getMaxYValue()
getMaxYValue
in class CustomPoint
public double getMinYValue()
getMinYValue
in class CustomPoint
public void drawValue(int valueIndex)
drawValue
in interface ISeries
drawValue
in class CustomPoint
valueIndex
- intpublic java.lang.String getDescription()
getDescription
in class Points
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |