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

java.lang.Object
  extended byAbstractXYDataset
      extended byorg.jboss.console.manager.interfaces.impl.GraphMBeanAttributeAction.MBeanXYDataset
Enclosing class:
GraphMBeanAttributeAction (src)

public class GraphMBeanAttributeAction.MBeanXYDataset
extends AbstractXYDataset

See Also:
Serialized Form

Constructor Summary
GraphMBeanAttributeAction.MBeanXYDataset()
          Default constructor.
 
Method Summary
 void add(java.lang.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.
 java.lang.String getSeriesName(int series)
          Returns the name of the series.
 java.lang.Number getXValue(int series, int item)
          Returns the x-value for the specified series and item.
 java.lang.Number getYValue(int series, int item)
          Returns the y-value for the specified series and item.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphMBeanAttributeAction.MBeanXYDataset

public GraphMBeanAttributeAction.MBeanXYDataset()
Default constructor.

Method Detail

clear

public void clear()

add

public void add(java.lang.Object num)

getXValue

public java.lang.Number getXValue(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.

getYValue

public java.lang.Number getYValue(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.

getSeriesCount

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

Returns:
the number of series in the dataset.

getSeriesName

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

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.