|
||||||||||
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
public class CustomPoint
Title: CustomPoint class
Description: Base Series class inherited by a number of TeeChart series styles.
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 CustomStack |
iStacked
|
protected ChartPen |
linePen
|
protected SeriesPointer |
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 | |
---|---|
CustomPoint()
|
|
CustomPoint(IBaseChart c)
|
Method Summary | |
---|---|
void |
addSeriesMouseListener(SeriesMouseListener l)
|
void |
assign(Series source)
Copies all properties from one Series component to another. |
void |
calcHorizMargins(Margins margins)
Returns the number of pixels for horizontal margins |
void |
calcVerticalMargins(Margins margins)
Returns the number of pixels for vertical margins |
int |
calcXPos(int valueIndex)
Returns horizontal screen position for a given point. |
int |
calcYPos(int valueIndex)
Returns vertical screen position for a given point. |
void |
calcZOrder()
|
int |
clicked(int x,
int y)
Returns the ValueIndex of the "clicked" point in the Series. |
boolean |
clickedPointer(int valueIndex,
int tmpX,
int tmpY,
int x,
int y)
For internal use |
protected void |
drawLegendShape(IGraphics3D g,
int valueIndex,
Rectangle rect)
|
protected void |
drawMark(int valueIndex,
java.lang.String s,
SeriesMarksPosition position)
|
void |
drawPointer(int aX,
int aY,
Color aColor,
int valueIndex)
Draws series pointer to the Canvas. |
void |
drawValue(int valueIndex)
Called internally. |
ChartPen |
getLinePen()
Determines pen to draw the line connecting all points. |
double |
getMaxXValue()
Returns the Maximum Value of the Series X Values List. |
double |
getMaxYValue()
Returns the Maximum Value of the Series Y Values List. |
double |
getMinXValue()
Returns the Minimum Value of the Series X Values List. |
double |
getMinYValue()
Returns the Minimum Value of the Series Y Values List. |
protected int |
getOriginPos(int valueIndex)
|
SeriesPointer |
getPointer()
Defines all necessary properties of the Series Pointer. |
CustomStack |
getStacked()
Defines how multiple series will be displayed. |
protected PointerStyle |
onGetPointerStyle(int valueIndex,
PointerStyle style)
|
void |
removePointerStyleResolver()
|
void |
removeSeriesMouseListener(SeriesMouseListener l)
|
void |
setChart(IBaseChart c)
Chart associated with this object. |
void |
setPointerStyleResolver(PointerStyleResolver resolver)
|
void |
setStacked(CustomStack value)
Defines how multiple series will be displayed. |
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 SeriesPointer point
protected CustomStack iStacked
protected ChartPen linePen
Constructor Detail |
---|
public CustomPoint()
public CustomPoint(IBaseChart c)
Method Detail |
---|
public void assign(Series source)
Series
source
- Seriespublic void addSeriesMouseListener(SeriesMouseListener l)
addSeriesMouseListener
in class Series
public void removeSeriesMouseListener(SeriesMouseListener l)
removeSeriesMouseListener
in class Series
public void setPointerStyleResolver(PointerStyleResolver resolver)
public void removePointerStyleResolver()
public CustomStack getStacked()
public void setStacked(CustomStack value)
value
- CustomStackpublic SeriesPointer getPointer()
public void setChart(IBaseChart c)
TeeBase
setChart
in interface ISeries
c
- IBaseChartprotected PointerStyle onGetPointerStyle(int valueIndex, PointerStyle style)
public void calcHorizMargins(Margins margins)
Series
calcHorizMargins
in class Series
margins
- Marginspublic void calcVerticalMargins(Margins margins)
Series
calcVerticalMargins
in class Series
margins
- Marginspublic void calcZOrder()
calcZOrder
in class Series
public boolean clickedPointer(int valueIndex, int tmpX, int tmpY, int x, int y)
valueIndex
- inttmpX
- inttmpY
- intx
- inty
- int
protected void drawLegendShape(IGraphics3D g, int valueIndex, Rectangle rect)
drawLegendShape
in class Series
protected void drawMark(int valueIndex, java.lang.String s, SeriesMarksPosition position)
drawMark
in class Series
public void drawPointer(int aX, int aY, Color aColor, int valueIndex)
aX
- intaY
- intaColor
- ColorvalueIndex
- intpublic int calcYPos(int valueIndex)
calcYPos
in class Series
valueIndex
- int
public int calcXPos(int valueIndex)
calcXPos
in class Series
valueIndex
- int
protected int getOriginPos(int valueIndex)
public void drawValue(int valueIndex)
drawValue
in interface ISeries
drawValue
in class Series
valueIndex
- intpublic int clicked(int x, int y)
clicked
in interface ISeries
clicked
in class Series
x
- inty
- int
public double getMaxXValue()
getMaxXValue
in class Series
public double getMinXValue()
getMinXValue
in class Series
public double getMaxYValue()
getMaxYValue
in class Series
public double getMinYValue()
getMinYValue
in class Series
public ChartPen getLinePen()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |