public class Clock extends Custom2DPolar
Title: Clock class
Description: Clock Series
Example:
clock = new Clock(myChart.getChart()); clock.setColor(Color.RED); clock.setShowInLegend(false); clock.getBrush().setColor(Color.WHITE); clock.getBrush().setColor(Color.RED); clock.getPenHours().setColor(Color.BLACK); clock.getPenMinutes().setColor(Color.BLACK); clock.getPenSeconds().setColor(Color.BLACK);
Copyright (c) 2005-2013 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Series.MarkTextResolveriMaxValuesCount, iPointer, treatnullscircleHeight, circleWidth, iAdjustCircleForMarks, iCircleXCenter, iCircleYCenter, iXRadius, iYRadius, PIDEGREE, rCircleRect, rotDegreeAUTODEPTH, AUTOZORDER, bActive, bBrush, bColorEach, calcVisiblePoints, colorMember, customMarkText, drawBetweenPoints, endZ, firstVisible, hasZValues, iColors, iNumSampleValues, iZOrder, labelMember, lastVisible, listenerList, mandatory, manualData, marks, middleZ, notMandatory, oldDataSource, percentDecimal, percentFormat, sLabels, startZ, useAxis, useSeriesColor, valueFormat, vxValues, vyValues, yMandatorychart, InternalUse| Constructor and Description |
|---|
Clock() |
Clock(IBaseChart c) |
| Modifier and Type | Method and Description |
|---|---|
void |
assign(Series source)
Copies all properties from one Series component to another.
Only the common properties shared by both source and destination Series are copied. |
void |
dispose() |
protected void |
draw() |
protected java.lang.String |
getCircleLabel(double angle,
int index) |
java.lang.String |
getDescription()
Gets descriptive text.
|
ChartPen |
getPenHours()
Sets the Pen for the Clock's hour hand.
|
ChartPen |
getPenMinutes()
Sets the Pen for the Clock's minute hand.
|
ChartPen |
getPenSeconds()
Sets the Pen for the Clock's second hand.
|
ClockStyle |
getStyle()
The style of the clock figures, Roman or Decimal.
Default value: ClockStyle.Roman |
javax.swing.Timer |
getTimer()
Returns the Timer used by the clock series.
Internal timer used to display the clock seconds arrow in realtime. |
protected int |
numSampleValues() |
protected java.lang.Object |
readResolve() |
void |
setChart(IBaseChart c)
Chart associated with this object.
|
void |
setStyle(ClockStyle value)
Sets the style of the clock figures, Roman or Decimal.
Default value: ClockStyle.Roman |
galleryChanged3D, prepareForGallerycalcXPos, calcYPos, clicked, clickedSegment, doAfterDrawValues, doBeforeDrawValues, drawLegendShape, drawMark, drawRing, drawValue, drawZone, getAngleIncrement, getAngleValues, getBrush, getCircleCenter, getCircleLabels, getCircleLabelsFont, getCircleLabelsInside, getCircleLabelsRotated, getCirclePen, getClockWiseLabels, getCloseCircle, getFont, getPen, getPointer, getRadiusIncrement, getRadiusValues, getTransparency, getTreatNulls, getXValue, internalDrawValue, onGetPointerStyle, removePointerStyleResolver, setAngleIncrement, setCircleLabels, setCircleLabelsInside, setCircleLabelsRotated, setClockWiseLabels, setCloseCircle, setColor, setPointerStyleResolver, setRadiusIncrement, setTransparency, setTreatNullsadjustCircleRect, angleToPos, associatedToAxis, calcCircleBackColor, calcCircleGradient, calcRadius, getAutoPenColor, getCircleBackColor, getCircled, getCircleGradient, getCircleHeight, getCircleRect, getCircleWidth, getCircleXCenter, getCircleYCenter, getCustomXRadius, getCustomYRadius, getRotationAngle, getUniqueCustomRadius, getXRadius, getYRadius, onDisposing, pointToAngle, pointToRadius, prepareLegendCanvas, reCalcCircleRect, rotate, setActive, setAutoPenColor, setCircleBackColor, setCircled, setCustomXRadius, setCustomYRadius, setParentProperties, setRotationAngle, setUniqueCustomRadius, shouldSerializeCircleBackColoradd, 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, addSampleValues, addSeriesMouseListener, addSeriesPaintListener, addValues, 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, doBeforeDrawChart, doClick, doClickPointer, doDoubleClick, drawHiddenValue, drawLegend, drawLegend, drawMarks, drawMarksSeries, drawSeries, drawSeriesForward, drawValuesForward, endUpdate, fillSampleValues, fillSampleValues, fireSeriesMouseEvent, fireSeriesPaint, firstDisplayed, getActive, getAllowSinglePoint, getBitmapEditor, 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, hasColors, hasDataSource, hasLabels, hasListenersOf, hasNoMandatoryValues, isNull, isPointInChartRect, isValidSeriesSource, isValidSourceOf, lastDisplayed, lastVisibleMark, legendItemColor, legendToValueIndex, maxMarkWidth, moreSameZOrder, mouseEvent, newFromType, randomBounds, recalcGetAxis, refreshSeries, removeMarkTextResolver, removeSeriesMouseListener, removeSeriesPaintListener, repaint, sameClass, 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, sortDrawSeries, swapValueIndex, titleOrName, toString, valueListOfAxis, valuesListAdd, xScreenToValue, yScreenToValuegetChart, invalidate, setBooleanProperty, setColorProperty, setDoubleProperty, setIntegerProperty, setStringPropertyequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetChart, invalidatepublic Clock()
public Clock(IBaseChart c)
public void assign(Series source)
Seriesassign in class CustomPolarsource - Seriesprotected java.lang.Object readResolve()
readResolve in class Circularpublic void setChart(IBaseChart c)
TeeBasesetChart in interface ISeriessetChart in class CustomPolarc - IBaseChartpublic void dispose()
protected void draw()
draw in class CustomPolarprotected java.lang.String getCircleLabel(double angle,
int index)
getCircleLabel in class CustomPolarprotected int numSampleValues()
numSampleValues in class Seriespublic javax.swing.Timer getTimer()
public java.lang.String getDescription()
getDescription in class Seriespublic ChartPen getPenHours()
public ChartPen getPenMinutes()
public ChartPen getPenSeconds()
public ClockStyle getStyle()
public void setStyle(ClockStyle value)
value - ClockStyle