|
JMSLTM Numerical Library 3.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.imsl.chart.ChartNode
com.imsl.chart.Data
com.imsl.chart.PieSlice
One wedge of a pie chart.
Pie creates PieSlice objects as its children, one per
pie wedge.
A specific slice can be retrieved using the method Pie.getPieSlice(int).
All of the slices can be retrieved using the method Pie.getPieSlice().
The drawing of the slice is controlled by the fill attributes in this node.
| Field Summary |
| Method Summary | |
void |
paint(Draw draw)
Paints this node and all of its children. |
protected void |
setAngles(double angleA,
double angleB)
Sets the angles, in degrees, that determine the extent of this slice. |
| Methods inherited from class com.imsl.chart.Data |
dataRange, formatLabel |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
protected void setAngles(double angleA,
double angleB)
angleA - is the angle, in degrees, at which the slice beginsangleB - is the angle, in degrees, at which the slice endspublic void paint(Draw draw)
paint in class Datadraw - the Draw object to be painted
|
JMSLTM Numerical Library 3.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||