ePOST API

rice.visualization.data
Class PieChartView

java.lang.Object
  extended by rice.visualization.data.DataView
      extended by 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
           
 
Fields inherited from class rice.visualization.data.DataView
constraints, data, height, name, width
 
Constructor Summary
PieChartView(java.lang.String name, int width, int height, Constraints constraints)
           
 
Method Summary
 void addItem(java.lang.String name, double value)
           
 int getItemCount()
           
 java.lang.String getLabel(int index)
           
 double getValue(int index)
           
 
Methods inherited from class rice.visualization.data.DataView
getConstraints, getHeight, getName, getWidth, setData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

items

protected java.util.Vector items

labels

protected java.util.Vector labels
Constructor Detail

PieChartView

public PieChartView(java.lang.String name,
                    int width,
                    int height,
                    Constraints constraints)
Method Detail

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)

ePOST API

Copyright © 2001-2005 - Rice Pastry.