|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.odesys.chart.DefaultChartModel
|
+--com.odesys.chart.barchart.DefaultBarChartModel
DefaultBarChartModel is a default implementation of the BarChartModel interface.
| Field Summary | |
protected java.util.Vector |
m_categories
|
| Fields inherited from class com.odesys.chart.DefaultChartModel |
m_series, m_seriesData |
| Fields inherited from interface com.odesys.chart.ChartModel |
COLOR, LABEL, SERIES, VALUE |
| Constructor Summary | |
DefaultBarChartModel()
Creates a new DefaultBarChartModel instance. |
|
| Method Summary | |
Series |
addCategory()
Adds a new data category to this DefaultChartModel |
java.util.Enumeration |
categories()
Returns an Enumeration of the data Categories of this model |
Series |
createCategory()
Factory method for data category instances for this DefaultBarChartModel. |
ChartElement |
createChartElement(Series series)
Throws an Error, because this method is not allowed in DefaultBarChartModel. |
ChartElement |
createChartElement(Series series,
Series category)
Factory method that creates ChartElement instances for this DefaultBarChartModel. |
java.util.Vector |
createSeriesElements(Series series)
Factory method used to create a Vector of BarData instances for the specified Series. |
java.util.Enumeration |
elementsOf(Series series)
Returns an Enumeration of the BarData instances in the specified series. |
int |
getCategoriesSize()
Gets the number of data Categories of this ChartModel |
Series |
getCategoryAt(int index)
Gets the data category at the specified index. |
ChartElement |
getElementAt(Series series,
int index)
Gets the BarData instance at the specified index in the specified series. |
int |
getSizeOf(Series series)
Returns the number of the BarData elements in the specified series. |
Series |
insertCategoryAt(int index)
Inserts a new data category to this DefaultChartModel at the specified index. |
void |
removeCategoryAt(int index)
Removes the data category at the specified index. |
void |
removeElementAt(Series series,
int index)
Throws an Error, because this method is not allowed in DefaultBarChartModel. |
| Methods inherited from class com.odesys.chart.DefaultChartModel |
addElement, addModelChangeListener, addSeries, createSeries, fireModelChanged, getSeriesAt, getSeriesSize, insertElementAt, insertSeriesAt, nextColor, removeModelChangeListener, removeSeriesAt, series, setUpdateLocked |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.odesys.chart.ChartModel |
addModelChangeListener, fireModelChanged, getSeriesSize, removeModelChangeListener, series |
| Field Detail |
protected java.util.Vector m_categories
| Constructor Detail |
public DefaultBarChartModel()
| Method Detail |
public int getCategoriesSize()
getCategoriesSize in interface BarChartModelpublic java.util.Enumeration categories()
categories in interface BarChartModelpublic int getSizeOf(Series series)
getSizeOf in class DefaultChartModelcom.odesys.chart.DefaultChartModelpublic java.util.Enumeration elementsOf(Series series)
elementsOf in class DefaultChartModelcom.odesys.chart.DefaultChartModel
public ChartElement getElementAt(Series series,
int index)
getElementAt in class DefaultChartModelcom.odesys.chart.DefaultChartModelpublic Series addCategory()
public Series insertCategoryAt(int index)
public Series getCategoryAt(int index)
public void removeCategoryAt(int index)
public Series createCategory()
public java.util.Vector createSeriesElements(Series series)
createSeriesElements in class DefaultChartModelcom.odesys.chart.DefaultChartModel
public ChartElement createChartElement(Series series,
Series category)
public ChartElement createChartElement(Series series)
createChartElement in class DefaultChartModel
public void removeElementAt(Series series,
int index)
removeElementAt in class DefaultChartModel
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||