|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.ucla.stat.SOCR.chart.gui.CustomPieSectionLabelGenerator
public class CustomPieSectionLabelGenerator
A custom label generator (returns null for one item as a test).
Constructor Summary | |
---|---|
CustomPieSectionLabelGenerator()
|
Method Summary | |
---|---|
java.text.AttributedString |
generateAttributedSectionLabel(PieDataset dataset,
java.lang.Comparable key)
|
java.lang.String |
generateSectionLabel(PieDataset dataset,
java.lang.Comparable key)
Generates a label for a pie section. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CustomPieSectionLabelGenerator()
Method Detail |
---|
public java.lang.String generateSectionLabel(PieDataset dataset, java.lang.Comparable key)
dataset
- the dataset (null
not permitted).key
- the section key (null
not permitted).
null
).public java.text.AttributedString generateAttributedSectionLabel(PieDataset dataset, java.lang.Comparable key)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |