com.steema.teechart.styles
Class LinearGauge

java.lang.Object
  extended by com.steema.teechart.TeeBase
      extended by com.steema.teechart.styles.Series
          extended by com.steema.teechart.styles.CustomGauge
              extended by com.steema.teechart.styles.LinearGauge
All Implemented Interfaces:
ISeries
Direct Known Subclasses:
VerticalLinearGauge

public class LinearGauge
extends CustomGauge

Title: LinearGauge class

Description: LinearGauge 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.CustomGauge
BlackPalette, BluesPalette, fgreenLineEndValue, fgreenLineStartValue, fmaximum, fminimum, fredLineEndValue, fredLineStartValue, iNewRectangle, iOrigRectangle, iRange, LCDPalette, LEDPalette
 
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
LinearGauge()
           
LinearGauge(IBaseChart c)
           
 
Method Summary
protected  void calcOrigRectangle()
           
 void draw()
           
protected  void drawAxis(IGraphics3D g)
           
protected  void drawColorLines(IGraphics3D g)
           
protected  void drawFace(IGraphics3D g)
           
protected  void drawHand(IGraphics3D g)
           
 Axis getAxis()
           
 java.lang.String getDescription()
          Gets descriptive text.
 GaugeSeriesPointer getMaxValueIndicator()
           
 boolean getUseValueColorPalette()
           
 ChartBrush getValueAreaBrush()
           
 void prepareForGallery(boolean isEnabled)
           
 void setChart(IBaseChart value)
          Chart associated with this object.
 void setMaxValueIndicator(GaugeSeriesPointer value)
           
 void setRectangle(Rectangle value)
           
 void setUseValueColorPalette(boolean value)
           
 void setValue(double value)
           
 void setValueAreaBrush(ChartBrush value)
           
protected  void setValues()
           
 
Methods inherited from class com.steema.teechart.styles.CustomGauge
addSampleValues, calcNewRectangle, clicked, customBoundsIsEmpty, dispose, doBeforeDrawChart, draw, drawAxisMinorTick, drawAxisTick, drawFrame, drawFrame, getCustomBounds, getFaceBrush, getFrame, getGaugeColorPalette, getGaugePaletteColor, getGreenLine, getGreenLineEndValue, getGreenLineStartValue, getHand, getHorizontal, getMaximum, getMinimum, getMinorTickDistance, getMinorTicks, getRedLine, getRedLineEndValue, getRedLineStartValue, getTicks, getValue, isDefaultAxis, prepareGraphics, prepareGraphics, setAxisOnce, setCustomBounds, setFaceBrush, setFrame, setGaugeColorPalette, setGreenLine, setGreenLineEndValue, setGreenLineStartValue, setHand, setHorizontal, setMaximum, setMinimum, setMinorTickDistance, setMinorTicks, setRedLine, setRedLineEndValue, setRedLineStartValue, setTicks
 
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, associatedToAxis, beginUpdate, calcFirstLastVisibleIndex, calcHorizMargins, calcPercentSt, calcPosValue, calculateMarkPosition, calcVerticalMargins, calcXPos, calcXPosValue, calcXSizeValue, calcYPos, calcYPosValue, calcYSizeValue, calcZOrder, canAddRandomPoints, changeType, checkDataSource, checkMouse, checkOrder, checkOtherSeries, clear, clearLists, clicked, clone, cloneSeries, convertArray, countLegendItems, createNewSeries, createNewSeries, createNewSeries, createSubGallery, dataSourceArray, delete, delete, delete, doAfterDrawValues, doBeforeDrawValues, doClick, doClickPointer, doDoubleClick, drawHiddenValue, drawLegend, drawLegend, drawLegendShape, drawMark, drawMarks, drawMarksSeries, drawSeries, drawSeriesForward, drawValue, drawValuesForward, endUpdate, fillSampleValues, fillSampleValues, fireSeriesMouseEvent, fireSeriesPaint, firstDisplayed, galleryChanged3D, getActive, getAllowSinglePoint, getBrush, 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, onDisposing, prepareLegendCanvas, randomBounds, readResolve, recalcGetAxis, refreshSeries, removeMarkTextResolver, removeSeriesMouseListener, removeSeriesPaintListener, repaint, sameClass, setActive, 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

LinearGauge

public LinearGauge(IBaseChart c)

LinearGauge

public LinearGauge()
Method Detail

drawFace

protected void drawFace(IGraphics3D g)
Overrides:
drawFace in class CustomGauge

setValue

public void setValue(double value)
Overrides:
setValue in class CustomGauge

getAxis

public Axis getAxis()
Overrides:
getAxis in class CustomGauge

getDescription

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

Overrides:
getDescription in class Series
Returns:
String

draw

public void draw()
Overrides:
draw in class CustomGauge

setMaxValueIndicator

public void setMaxValueIndicator(GaugeSeriesPointer value)

getMaxValueIndicator

public GaugeSeriesPointer getMaxValueIndicator()

setUseValueColorPalette

public void setUseValueColorPalette(boolean value)

getUseValueColorPalette

public boolean getUseValueColorPalette()

setValueAreaBrush

public void setValueAreaBrush(ChartBrush value)

getValueAreaBrush

public ChartBrush getValueAreaBrush()

prepareForGallery

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

drawAxis

protected void drawAxis(IGraphics3D g)
Overrides:
drawAxis in class CustomGauge

drawHand

protected void drawHand(IGraphics3D g)
Overrides:
drawHand in class CustomGauge

drawColorLines

protected void drawColorLines(IGraphics3D g)
Overrides:
drawColorLines in class CustomGauge

setChart

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

Specified by:
setChart in interface ISeries
Overrides:
setChart in class Series
Parameters:
value - IBaseChart

setValues

protected void setValues()
Overrides:
setValues in class CustomGauge

calcOrigRectangle

protected void calcOrigRectangle()
Overrides:
calcOrigRectangle in class CustomGauge

setRectangle

public void setRectangle(Rectangle value)