|
||||||||||
| 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-2008 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
|
protected TreatNullsStyle |
treatnulls
|
| 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 |
protected double |
calcMinMaxValue(boolean isMin)
|
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. |
TreatNullsStyle |
getTreatNulls()
Defines how null points are treated. |
protected PointerStyle |
onGetPointerStyle(int valueIndex,
PointerStyle style)
|
void |
removePointerStyleResolver()
|
void |
removeSeriesMouseListener(SeriesMouseListener l)
|
protected boolean |
sameClassOrigin(Series s)
|
void |
setChart(IBaseChart c)
Chart associated with this object. |
void |
setPointerStyleResolver(PointerStyleResolver resolver)
|
void |
setStacked(CustomStack value)
Defines how multiple series will be displayed. |
void |
setTreatNulls(TreatNullsStyle value)
|
| Methods inherited from class com.steema.teechart.TeeBase |
|---|
getChart, invalidate, setBooleanProperty, 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
protected TreatNullsStyle treatnulls
| 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 Seriespublic void removeSeriesMouseListener(SeriesMouseListener l)
removeSeriesMouseListener in class Seriespublic 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 ISeriesc - IBaseChartprotected boolean sameClassOrigin(Series s)
protected PointerStyle onGetPointerStyle(int valueIndex,
PointerStyle style)
public void calcHorizMargins(Margins margins)
Series
calcHorizMargins in class Seriesmargins - Marginspublic void calcVerticalMargins(Margins margins)
Series
calcVerticalMargins in class Seriesmargins - 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 SeriesvalueIndex - int
public int calcXPos(int valueIndex)
calcXPos in class SeriesvalueIndex - int
protected int getOriginPos(int valueIndex)
public void drawValue(int valueIndex)
drawValue in interface ISeriesdrawValue in class SeriesvalueIndex - int
public int clicked(int x,
int y)
clicked in interface ISeriesclicked in class Seriesx - inty - int
public double getMaxXValue()
getMaxXValue in class Seriespublic double getMinXValue()
getMinXValue in class Seriespublic double getMaxYValue()
getMaxYValue in class Seriespublic double getMinYValue()
getMinYValue in class Seriesprotected double calcMinMaxValue(boolean isMin)
public ChartPen getLinePen()
public TreatNullsStyle getTreatNulls()
public void setTreatNulls(TreatNullsStyle value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||