Class PieDatasetBean

  • All Implemented Interfaces:
    java.io.ObjectInputValidation, java.io.Serializable, java.lang.Cloneable, org.jfree.data.general.Dataset, org.jfree.data.general.PieDataset, org.jfree.data.KeyedValues, org.jfree.data.Values

    public class PieDatasetBean
    extends org.jfree.data.general.AbstractDataset
    implements org.jfree.data.general.PieDataset
    A pie dataset bean - develop this into something that can be edited with a gui.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      PieDatasetBean()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getIndex​(java.lang.Comparable arg0)  
      int getItemCount()  
      java.lang.Comparable getKey​(int arg0)  
      java.util.List getKeys()  
      java.lang.Number getValue​(int arg0)  
      java.lang.Number getValue​(java.lang.Comparable arg0)  
      • Methods inherited from class org.jfree.data.general.AbstractDataset

        addChangeListener, clone, fireDatasetChanged, getGroup, getNotify, hasListener, notifyListeners, removeChangeListener, setGroup, setNotify, validateObject
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.jfree.data.general.Dataset

        addChangeListener, getGroup, removeChangeListener, setGroup
    • Method Detail

      • getItemCount

        public int getItemCount()
        Specified by:
        getItemCount in interface org.jfree.data.Values
      • getValue

        public java.lang.Number getValue​(int arg0)
        Specified by:
        getValue in interface org.jfree.data.Values
      • getIndex

        public int getIndex​(java.lang.Comparable arg0)
        Specified by:
        getIndex in interface org.jfree.data.KeyedValues
      • getKey

        public java.lang.Comparable getKey​(int arg0)
        Specified by:
        getKey in interface org.jfree.data.KeyedValues
      • getKeys

        public java.util.List getKeys()
        Specified by:
        getKeys in interface org.jfree.data.KeyedValues
      • getValue

        public java.lang.Number getValue​(java.lang.Comparable arg0)
        Specified by:
        getValue in interface org.jfree.data.KeyedValues