rice.visualization.data
Class PieChartView
java.lang.Object
rice.visualization.data.DataView
rice.visualization.data.PieChartView
-
All Implemented Interfaces:
- java.io.Serializable
-
public class PieChartView
- extends DataView
- See Also:
- Serialized Form
Field Summary |
protected java.util.Vector |
items
|
protected java.util.Vector |
labels
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
items
protected java.util.Vector items
labels
protected java.util.Vector labels
PieChartView
public PieChartView(java.lang.String name,
int width,
int height,
Constraints constraints)
addItem
public void addItem(java.lang.String name,
double value)
-
getItemCount
public int getItemCount()
-
getValue
public double getValue(int index)
-
getLabel
public java.lang.String getLabel(int index)
-
Copyright © 2001-2005 - Rice Pastry.