public class PieTool extends ToolSeries
Title: PieTool class
Description: Pie Slices tool.
Copyright (c) 2005-2019 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Tool.ToolListener
iSeries
bBrush, clickTolerance, listenerList, pPen
chart, 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, setSeries
addMouseMotionListener, addToolListener, chartEvent, dispose, fireActiveChanged, fireChanged, fireClicked, fireDragged, fireDragging, fireMouse, fireResized, getActive, getBitmapEditor, readResolve, removeMouseMotionListener, removeToolListener, setActive, setChart, toString
getChart, invalidate, setBooleanProperty, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty
public PieTool()
public PieTool(IBaseChart c)
public java.lang.String getDescription()
getDescription
in class Tool
public java.lang.String getSummary()
getSummary
in class Tool
public Cursor mouseEvent(FrameworkMouseEvent e, Cursor c)
mouseEvent
in class Tool
public int getSlice()
public PieToolStyle getStyle()
public void setStyle(PieToolStyle value)
value
- PieToolStylepublic int getEventKind()
public void setEventKind(int value)
value
- intpublic ChartPen getPen()