com.steema.teechart.tools
Class PieTool

java.lang.Object
  extended by com.steema.teechart.TeeBase
      extended by com.steema.teechart.tools.Tool
          extended by com.steema.teechart.tools.ToolSeries
              extended by com.steema.teechart.tools.PieTool

public class PieTool
extends ToolSeries

Title: PieTool class

Description: Pie Slices tool.

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

Company: Steema Software SL


Field Summary
 
Fields inherited from class com.steema.teechart.tools.ToolSeries
iSeries
 
Fields inherited from class com.steema.teechart.tools.Tool
bBrush, clickTolerance, listenerList, pPen
 
Fields inherited from class com.steema.teechart.TeeBase
chart, InternalUse
 
Constructor Summary
PieTool()
           
PieTool(IBaseChart c)
           
 
Method Summary
 java.lang.String getDescription()
          Gets descriptive text.
 ChartPen getPen()
          Element Pen characteristics.
 int getSlice()
          Returns the currently focused slice.
 PieToolStyle getStyle()
          Makes the pie tool draw a border around the focused pie slice.
 java.lang.String getSummary()
          Gets detailed descriptive text.
 Cursor mouseEvent(FrameworkMouseEvent e, Cursor c)
           
 void setStyle(PieToolStyle value)
          Makes the pie tool draw a border around the focused pie slice.
 
Methods inherited from class com.steema.teechart.tools.ToolSeries
getHorizAxis, getSeries, getVertAxis, setSeries
 
Methods inherited from class com.steema.teechart.tools.Tool
chartEvent, dispose, fireChanged, fireClicked, fireDragged, fireDragging, fireMouse, fireResized, getActive, readResolve, setActive, setChart, toString
 
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, wait, wait, wait
 

Constructor Detail

PieTool

public PieTool()

PieTool

public PieTool(IBaseChart c)
Method Detail

getDescription

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

Overrides:
getDescription in class Tool
Returns:
String

getSummary

public java.lang.String getSummary()
Gets detailed descriptive text.

Overrides:
getSummary in class Tool
Returns:
String

mouseEvent

public Cursor mouseEvent(FrameworkMouseEvent e,
                         Cursor c)
Overrides:
mouseEvent in class Tool

getSlice

public int getSlice()
Returns the currently focused slice. (Point index)

Returns:
int

getStyle

public PieToolStyle getStyle()
Makes the pie tool draw a border around the focused pie slice.
Set Style to Explode to explode and un-explode the focused slice.
Default value: PieToolStyle.Focus

Returns:
PieToolStyle

setStyle

public void setStyle(PieToolStyle value)
Makes the pie tool draw a border around the focused pie slice.
Default value: PieToolStyle.Focus

Parameters:
value - PieToolStyle

getPen

public ChartPen getPen()
Element Pen characteristics.

Returns:
ChartPen