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
Tool.ToolListeneriSeriesbBrush, clickTolerance, listenerList, pPenchart, InternalUse| Constructor and Description |
|---|
PieTool() |
PieTool(IBaseChart c) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
Gets descriptive text.
|
int |
getEventKind()
Makes the pie tool to be triggered when the selected FrameworkMouseEvent occurs.
Set FrameworkMouseEvent to MOUSE_MOVED or MOUSE_PRESSED. Default value: FrameworkMouseEvent.MOUSE_MOVED |
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.
Set Style to Explode to explode and un-explode the focused slice. Default value: PieToolStyle.Focus |
java.lang.String |
getSummary()
Gets detailed descriptive text.
|
Cursor |
mouseEvent(FrameworkMouseEvent e,
Cursor c) |
void |
setEventKind(int value)
Makes the pie tool to be triggered when the selected FrameworkMouseEvent occurs.
Default value: FrameworkMouseEvent.MOUSE_MOVED |
void |
setStyle(PieToolStyle value)
Makes the pie tool draw a border around the focused pie slice.
Default value: PieToolStyle.Focus |
getHorizAxis, getSeries, getVertAxis, setSeriesaddMouseMotionListener, addToolListener, chartEvent, dispose, fireActiveChanged, fireChanged, fireClicked, fireDragged, fireDragging, fireMouse, fireResized, getActive, getBitmapEditor, readResolve, removeMouseMotionListener, removeToolListener, setActive, setChart, toStringgetChart, invalidate, setBooleanProperty, setColorProperty, setDoubleProperty, setIntegerProperty, setStringPropertypublic PieTool()
public PieTool(IBaseChart c)
public java.lang.String getDescription()
getDescription in class Toolpublic java.lang.String getSummary()
getSummary in class Toolpublic Cursor mouseEvent(FrameworkMouseEvent e, Cursor c)
mouseEvent in class Toolpublic int getSlice()
public PieToolStyle getStyle()
public void setStyle(PieToolStyle value)
value - PieToolStylepublic int getEventKind()
public void setEventKind(int value)
value - intpublic ChartPen getPen()