com.steema.teechart.styles
Class Smith

java.lang.Object
  extended by com.steema.teechart.TeeBase
      extended by com.steema.teechart.styles.Series
          extended by com.steema.teechart.styles.Circular
              extended by com.steema.teechart.styles.Smith
All Implemented Interfaces:
ISeries

public class Smith
extends Circular

Title: Smith class

Description: Smith Series

Copyright (c) 2005-2013 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
 
Fields inherited from class com.steema.teechart.styles.Circular
circleHeight, circleWidth, iAdjustCircleForMarks, iCircleXCenter, iCircleYCenter, iXRadius, iYRadius, PIDEGREE, rCircleRect, rotDegree
 
Fields inherited from class com.steema.teechart.styles.Series
AUTODEPTH, AUTOZORDER, bActive, bBrush, bColorEach, calcVisiblePoints, colorMember, customMarkText, drawBetweenPoints, endZ, firstVisible, hasZValues, iColors, 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, InternalUse
 
Constructor Summary
Smith()
           
Smith(IBaseChart c)
           
 
Method Summary
protected  void addSampleValues(int numValues)
           
 int calcXPos(int valueIndex)
          The pixel Screen Horizontal coordinate of the ValueIndex Series value.
 int calcYPos(int valueIndex)
          The pixel Screen Vertical coordinate of the ValueIndex Series value.
 int clicked(int x, int y)
          The ValueIndex of the "clicked" point in the Series.
protected  void doBeforeDrawValues()
           
protected  void draw()
           
 void drawValue(int valueIndex)
          Called internally.
 ChartBrush getBrush()
          Defines Brush to fill Chart.
 GridPen getCCirclePen()
          Defines Pen to draw CCircles of the Smith Series.
 ChartPen getCirclePen()
          Defines Pen to draw external Circle of the Smith Series.
 boolean getCLabels()
          Shows/hides the static finalant reactance labels.
 ChartFont getCLabelsFont()
          xCircle labels font.
 java.lang.String getDescription()
          Gets descriptive text.
 java.lang.String getImagSymbol()
          Specifies the text used to display together with axis labels around a Smith circle series.
 ChartPen getPen()
          Defines pen to draw SmithSeries Chart.
 SeriesPointer getPointer()
          Defines pen to draw SmithSeries Chart.
 GridPen getRCirclePen()
          Defines Pen to draw RCircles of the Smith Series.
 boolean getRLabels()
          Shows/hides the static finalant resistance labels.
 ChartFont getRLabelsFont()
          rCircle labels font.
 void prepareForGallery(boolean isEnabled)
           
 void setChart(IBaseChart c)
          Chart associated with this object.
 void setCLabels(boolean value)
          Shows/hides the static finalant reactance labels.
 void setImagSymbol(java.lang.String value)
          Specifies the text used to display together with axis labels around a Smith circle series.
 void setRLabels(boolean value)
          Shows/hides the static finalant resistance labels.
 
Methods inherited from class com.steema.teechart.styles.Circular
adjustCircleRect, angleToPos, associatedToAxis, calcCircleBackColor, calcCircleGradient, calcRadius, getCircleBackColor, getCircled, getCircleGradient, getCircleHeight, getCircleRect, getCircleWidth, getCircleXCenter, getCircleYCenter, getCustomXRadius, getCustomYRadius, getRotationAngle, getUniqueCustomRadius, getXRadius, getYRadius, onDisposing, pointToAngle, pointToRadius, prepareLegendCanvas, readResolve, reCalcCircleRect, rotate, setActive, setCircleBackColor, setCircled, setCustomXRadius, setCustomYRadius, setParentProperties, setRotationAngle, setUniqueCustomRadius, shouldSerializeCircleBackColor
 
Methods inherited from class com.steema.teechart.styles.Series
add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, addChartValue, added, addedValue, addNull, addNullXY, addSeriesMouseListener, addSeriesPaintListener, addValues, assign, assignDispose, assignValues, beginUpdate, calcFirstLastVisibleIndex, calcHorizMargins, calcPercentSt, calcPosValue, calculateMarkPosition, calcVerticalMargins, calcXPosValue, calcXSizeValue, calcYPosValue, calcYSizeValue, calcZOrder, canAddRandomPoints, changeType, checkDataSource, checkMouse, checkOrder, checkOtherSeries, clear, clearLists, clicked, clone, cloneSeries, convertArray, countLegendItems, createNewSeries, createNewSeries, createNewSeries, createSubGallery, dataSourceArray, delete, delete, delete, dispose, doAfterDrawValues, doBeforeDrawChart, doClick, doClickPointer, doDoubleClick, drawHiddenValue, drawLegend, drawLegend, drawLegendShape, drawMark, drawMarks, drawMarksSeries, drawSeries, drawSeriesForward, drawValuesForward, endUpdate, fillSampleValues, fillSampleValues, fireSeriesMouseEvent, fireSeriesPaint, firstDisplayed, galleryChanged3D, getActive, getAllowSinglePoint, getColor, getColorEach, getColorMember, getColors, getCount, getCountLegendItems, getCursor, getCustomHorizAxis, getCustomVertAxis, getDataSource, getDefaultColor, getDefaultNullValue, getDepth, getEndZ, getFields, getFirstVisible, getFunction, getHasZValues, getHorizAxis, getHorizontalAxis, getLabelMember, getLabels, getLastVisible, getLegendString, getMandatory, getMandatoryAxis, getMarks, getMarkText, getMarkValue, getMaxXValue, getMaxYValue, getMaxZValue, getMiddleZ, getMinXValue, getMinYValue, getMinZValue, getNotMandatory, getNumGallerySeries, getNumSampleValues, getOriginValue, getPercentFormat, getPoint, getSeriesColor, getShowInLegend, getStartZ, getTitle, getUseAxis, getValueColor, getValueFormat, getValueIndexSwapper, getValueList, getValueList, getValueMarkText, getValuesLists, getVertAxis, getVerticalAxis, getVisible, getXValues, getYMandatory, getYValueList, getYValues, getZOrder, hasClickEvents, hasDataSource, hasListenersOf, hasNoMandatoryValues, isNull, isPointInChartRect, isValidSeriesSource, isValidSourceOf, lastDisplayed, lastVisibleMark, legendItemColor, legendToValueIndex, maxMarkWidth, moreSameZOrder, mouseEvent, newFromType, numSampleValues, randomBounds, recalcGetAxis, refreshSeries, removeMarkTextResolver, removeSeriesMouseListener, removeSeriesPaintListener, repaint, sameClass, setColor, setColorEach, setColorMember, setColors, setCursor, setCustomHorizAxis, setCustomHorizAxis, setCustomVertAxis, setCustomVertAxis, setDataSource, setDefaultNullValue, setDepth, setEndZ, setFunction, setHorizontal, setHorizontalAxis, setLabelMember, setLabels, setMarks, setMarkTextResolver, setMiddleZ, setNull, setNull, setPercentFormat, setSeriesColor, setShowInLegend, setStartZ, setSubGallery, setTitle, setValueFormat, setValueList, setVerticalAxis, setVisible, setXValues, setYValues, setZOrder, setZPositions, sortByLabels, sortByLabels, swapValueIndex, titleOrName, toString, valueListOfAxis, valuesListAdd, xScreenToValue, yScreenToValue
 
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
 

Constructor Detail

Smith

public Smith()

Smith

public Smith(IBaseChart c)
Method Detail

getPen

public ChartPen getPen()
Defines pen to draw SmithSeries Chart.

Returns:
ChartPen

getPointer

public SeriesPointer getPointer()
Defines pen to draw SmithSeries Chart.

Returns:
SeriesPointer

getImagSymbol

public java.lang.String getImagSymbol()
Specifies the text used to display together with axis labels around a Smith circle series.
Default value: ImagSymbol is a lowercase "i" letter.

Returns:
String

setImagSymbol

public void setImagSymbol(java.lang.String value)
Specifies the text used to display together with axis labels around a Smith circle series.
Default value: ImagSymbol is a lowercase "i" letter.

Parameters:
value - String

getBrush

public ChartBrush getBrush()
Defines Brush to fill Chart.

Overrides:
getBrush in class Series
Returns:
ChartBrush

addSampleValues

protected void addSampleValues(int numValues)
Overrides:
addSampleValues in class Series

getCCirclePen

public GridPen getCCirclePen()
Defines Pen to draw CCircles of the Smith Series.
xCircle (reactance circle) pen.
Read CCirclePen to obtain the TChartPen object that represents the color and style of the CCircles of the Smith Series.
Use CCirclePen to change the color or style.

Returns:
GridPen

getRCirclePen

public GridPen getRCirclePen()
Defines Pen to draw RCircles of the Smith Series.
rCircle (resistance circle) pen.
Read RCirclePen to obtain the Pen object that represents the color and style of the RCircles of the Smith Series.
Use RCirclePen to change the color or style.

Returns:
GridPen

getCirclePen

public ChartPen getCirclePen()
Defines Pen to draw external Circle of the Smith Series.
Resistance = 0 rCircle pen (biggest circle).
Read CirclePen to obtain the Pen object that represents the color and style of the external circle of the Smith Series.
Use CirclePen to change the color or style.

Returns:
ChartPen

getCLabels

public boolean getCLabels()
Shows/hides the static finalant reactance labels.
When set to true, constant reactance labels are shown.

Returns:
boolean

setCLabels

public void setCLabels(boolean value)
Shows/hides the static finalant reactance labels.
When set to true, constant reactance labels are shown.

Parameters:
value - boolean

getRLabels

public boolean getRLabels()
Shows/hides the static finalant resistance labels.
When set to true constant resistance labels are shown.

Returns:
boolean

setRLabels

public void setRLabels(boolean value)
Shows/hides the static finalant resistance labels.
When set to true constant resistance labels are shown.

Parameters:
value - boolean

doBeforeDrawValues

protected void doBeforeDrawValues()
Overrides:
doBeforeDrawValues in class Circular

draw

protected void draw()
Overrides:
draw in class Series

drawValue

public void drawValue(int valueIndex)
Called internally. Draws the "ValueIndex" point of the Series.

Specified by:
drawValue in interface ISeries
Overrides:
drawValue in class Series
Parameters:
valueIndex - int

prepareForGallery

public void prepareForGallery(boolean isEnabled)
Overrides:
prepareForGallery in class Series

setChart

public void setChart(IBaseChart c)
Description copied from class: TeeBase
Chart associated with this object.

Specified by:
setChart in interface ISeries
Overrides:
setChart in class Circular
Parameters:
c - IBaseChart

calcXPos

public int calcXPos(int valueIndex)
The pixel Screen Horizontal coordinate of the ValueIndex Series value.
This coordinate is calculated using the Series associated Horizontal Axis.

Overrides:
calcXPos in class Series
Parameters:
valueIndex - int
Returns:
int

calcYPos

public int calcYPos(int valueIndex)
The pixel Screen Vertical coordinate of the ValueIndex Series value.
This coordinate is calculated using the Series associated Vertical Axis.

Overrides:
calcYPos in class Series
Parameters:
valueIndex - int
Returns:
int

clicked

public int clicked(int x,
                   int y)
The ValueIndex of the "clicked" point in the Series.

Specified by:
clicked in interface ISeries
Overrides:
clicked in class Circular
Parameters:
x - int
y - int
Returns:
int

getCLabelsFont

public ChartFont getCLabelsFont()
xCircle labels font.

Returns:
ChartFont

getRLabelsFont

public ChartFont getRLabelsFont()
rCircle labels font.

Returns:
ChartFont

getDescription

public java.lang.String getDescription()
Gets descriptive text.

Overrides:
getDescription in class Series
Returns:
String