com.steema.teechart.styles
Class Callout

java.lang.Object
  extended by com.steema.teechart.TeeBase
      extended by com.steema.teechart.styles.SeriesPointer
          extended by com.steema.teechart.styles.Callout
Direct Known Subclasses:
AnnotationCallout, MarksCallout

public class Callout
extends SeriesPointer

Title: Callout class

Description: Mark Callout pointer characteristics

Copyright (c) 2005-2013 by Steema Software SL. All Rights Reserved.

Company: Steema Software SL


Field Summary
 
Fields inherited from class com.steema.teechart.styles.SeriesPointer
allowChangeSize, bVisible, defaultVisible, draw3D, xMinus, xPlus, yMinus, yPlus
 
Fields inherited from class com.steema.teechart.TeeBase
chart, InternalUse
 
Constructor Summary
Callout()
           
Callout(ISeries s)
           
 
Method Summary
 void draw(Color c, Point pFrom, Point pTo, int z)
           
 ChartPen getArrow()
          Arrow line between a Series Mark and a Series point.
 ArrowHeadStyle getArrowHead()
          Determines if callout line will display an "arrow" head at the end or not.
 int getArrowHeadSize()
          The size in pixels to display the arrow head at the end of the callout line.
 int getDistance()
          The length in pixels between a series point and the line connecting the series mark or annotation.
 void setArrow(ChartPen value)
          Sets the Arrow line between a Series Mark and a Series point.
 void setArrowHead(ArrowHeadStyle value)
          Determines if callout line will display an "arrow" head at the end or not.
 void setArrowHeadSize(int value)
          Sets the size in pixels of the arrow head at the end of the callout line.
 void setDistance(int value)
          The length in pixels between a series point and the line connecting the series mark or annotation.
 
Methods inherited from class com.steema.teechart.styles.SeriesPointer
assign, calcHorizMargins, calcVerticalMargins, draw, draw, draw, draw, draw, drawLegendShape, drawLegendShape, getBrush, getColor, getDark3D, getDraw3D, getEndZ, getGradient, getHorizSize, getInflateMargins, getMiddleZ, getPen, getSeries, getStartZ, getStyle, getTransparency, getVertSize, getVisible, prepareCanvas, readResolve, setChart, setColor, setDark3D, setDraw3D, setHorizSize, setInflateMargins, setStyle, setTransparency, setVertSize, setVisible
 
Methods inherited from class com.steema.teechart.TeeBase
getChart, invalidate, setBooleanProperty, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Callout

public Callout()

Callout

public Callout(ISeries s)
Method Detail

draw

public void draw(Color c,
                 Point pFrom,
                 Point pTo,
                 int z)

getArrow

public ChartPen getArrow()
Arrow line between a Series Mark and a Series point.
It is also used by Annotation tool to draw a line connecting the annotation and the series point.

Returns:
ChartPen

setArrow

public void setArrow(ChartPen value)
Sets the Arrow line between a Series Mark and a Series point.
It is also used by Annotation tool to draw a line connecting the annotation and the series point.

Parameters:
value - ChartPen

getArrowHead

public ArrowHeadStyle getArrowHead()
Determines if callout line will display an "arrow" head at the end or not.
See TArrowHeadStyle enumerated values for options.

Returns:
ArrowHeadStyle

setArrowHead

public void setArrowHead(ArrowHeadStyle value)
Determines if callout line will display an "arrow" head at the end or not.

Parameters:
value - ArrowHeadStyle

getArrowHeadSize

public int getArrowHeadSize()
The size in pixels to display the arrow head at the end of the callout line.

Returns:
int

setArrowHeadSize

public void setArrowHeadSize(int value)
Sets the size in pixels of the arrow head at the end of the callout line.

Parameters:
value - int

getDistance

public int getDistance()
The length in pixels between a series point and the line connecting the series mark or annotation.

Returns:
int

setDistance

public void setDistance(int value)
The length in pixels between a series point and the line connecting the series mark or annotation.

Parameters:
value - int