com.infoviz.piechart
Class PieChartModel

java.lang.Object
  extended bycom.infoviz.piechart.PieChartModel

public class PieChartModel
extends java.lang.Object

$Id$ $Revision$ $Author$


Constructor Summary
PieChartModel()
           
 
Method Summary
 void addNode(PieChartNode node)
           
 java.util.Collection getNodes()
          get all the nodes in this model
 double getTotalValueOfAllNodes()
           
 void removeNode(PieChartNode node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PieChartModel

public PieChartModel()
Method Detail

addNode

public void addNode(PieChartNode node)

removeNode

public void removeNode(PieChartNode node)

getNodes

public java.util.Collection getNodes()
get all the nodes in this model

Returns:
a read-only collection

getTotalValueOfAllNodes

public double getTotalValueOfAllNodes()