|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PieLabelRenderer
An interface implemented by objects that are responsible for painting the labels of a pie chart
| Method Summary | |
|---|---|
PointLabeler |
getPointLabeler()
|
int |
getTickLength()
|
void |
renderLabels(Graphics g,
Chart chart,
ChartModel model,
Point center,
int width,
int height,
int[] angles,
ChartStyle style)
Render the labels to the supplied graphics context |
void |
setPointLabeler(PointLabeler pointLabeler)
Set the object responsible for specifying what the labels should say |
void |
setTickLength(int tickLength)
Sets the tick length used to indicate the pie segments |
| Method Detail |
|---|
void setPointLabeler(PointLabeler pointLabeler)
int getTickLength()
void setTickLength(int tickLength)
tickLength - the length of the ticks in pixelsPointLabeler getPointLabeler()
void renderLabels(Graphics g,
Chart chart,
ChartModel model,
Point center,
int width,
int height,
int[] angles,
ChartStyle style)
g - the graphics contextchart - the chart to rendermodel - the model from which the points comecenter - the center of the piewidth - the width of the pieheight - the height of the pieangles - the angles to use for the segments of the piestyle - the chart style to use for displaying the segments
|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||