org.jboss.console.manager.interfaces.impl
Class GraphMBeanAttributeAction.MBeanXYDataset

java.lang.Object
  extended by org.jfree.data.general.AbstractDataset
      extended by org.jfree.data.general.AbstractSeriesDataset
          extended by org.jfree.data.xy.AbstractXYDataset
              extended by org.jboss.console.manager.interfaces.impl.GraphMBeanAttributeAction.MBeanXYDataset
All Implemented Interfaces:
ObjectInputValidation, Serializable, Cloneable, EventListener, org.jfree.data.general.Dataset, org.jfree.data.general.SeriesChangeListener, org.jfree.data.general.SeriesDataset, org.jfree.data.xy.XYDataset
Enclosing class:
GraphMBeanAttributeAction

public class GraphMBeanAttributeAction.MBeanXYDataset
extends org.jfree.data.xy.AbstractXYDataset

See Also:
Serialized Form

Constructor Summary
GraphMBeanAttributeAction.MBeanXYDataset()
          Default constructor.
 
Method Summary
 void add(Object num)
           
 void clear()
           
 int getItemCount(int series)
          Returns the number of items in the specified series.
 int getSeriesCount()
          Returns the number of series in the dataset.
 String getSeriesName(int series)
          Returns the name of the series.
 Number getX(int series, int item)
          Returns the x-value for the specified series and item.
 double getXValue(int series, int item)
          Returns the x-value for the specified series and item.
 Number getY(int series, int item)
          Returns the y-value for the specified series and item.
 double getYValue(int series, int item)
          Returns the y-value for the specified series and item.
 
Methods inherited from class org.jfree.data.xy.AbstractXYDataset
getDomainOrder
 
Methods inherited from class org.jfree.data.general.AbstractSeriesDataset
seriesChanged
 
Methods inherited from class org.jfree.data.general.AbstractDataset
addChangeListener, clone, fireDatasetChanged, getGroup, notifyListeners, removeChangeListener, setGroup, 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
 

Constructor Detail

GraphMBeanAttributeAction.MBeanXYDataset

public GraphMBeanAttributeAction.MBeanXYDataset()
Default constructor.

Method Detail

clear

public void clear()

add

public void add(Object num)

getX

public Number getX(int series,
                   int item)
Returns the x-value for the specified series and item. Series are numbered 0, 1, ...

Parameters:
series - the index (zero-based) of the series.
item - the index (zero-based) of the required item.
Returns:
the x-value for the specified series and item.

getXValue

public double getXValue(int series,
                        int item)
Returns the x-value for the specified series and item. Series are numbered 0, 1, ...

Specified by:
getXValue in interface org.jfree.data.xy.XYDataset
Overrides:
getXValue in class org.jfree.data.xy.AbstractXYDataset
Parameters:
series - the index (zero-based) of the series.
item - the index (zero-based) of the required item.
Returns:
the x-value for the specified series and item.

getY

public Number getY(int series,
                   int item)
Returns the y-value for the specified series and item. Series are numbered 0, 1, ...

Parameters:
series - the index (zero-based) of the series.
item - the index (zero-based) of the required item.
Returns:
the y-value for the specified series and item.

getYValue

public double getYValue(int series,
                        int item)
Returns the y-value for the specified series and item. Series are numbered 0, 1, ...

Specified by:
getYValue in interface org.jfree.data.xy.XYDataset
Overrides:
getYValue in class org.jfree.data.xy.AbstractXYDataset
Parameters:
series - the index (zero-based) of the series.
item - the index (zero-based) of the required item.
Returns:
the y-value for the specified series and item.

getSeriesCount

public int getSeriesCount()
Returns the number of series in the dataset.

Specified by:
getSeriesCount in interface org.jfree.data.general.SeriesDataset
Specified by:
getSeriesCount in class org.jfree.data.general.AbstractSeriesDataset
Returns:
the number of series in the dataset.

getSeriesName

public String getSeriesName(int series)
Returns the name of the series.

Specified by:
getSeriesName in interface org.jfree.data.general.SeriesDataset
Specified by:
getSeriesName in class org.jfree.data.general.AbstractSeriesDataset
Parameters:
series - the index (zero-based) of the series.
Returns:
the name of the series.

getItemCount

public int getItemCount(int series)
Returns the number of items in the specified series.

Parameters:
series - the index (zero-based) of the series.
Returns:
the number of items in the specified series.


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.