com.odesys.chart
Interface ChartElement

All Known Subinterfaces:
BarData, BubbleData, PointData, SliceData
All Known Implementing Classes:
DefaultElement

public interface ChartElement

Interface that should be implemented by all chart elements (e.g. Slices, Bars, Points etc.) Ususally the elements implement a subinterface of ChartElement, which defines the data for the particular element.


Method Summary
 java.awt.Color getColor()
          Gets the Color of this ChartElement
 java.lang.String getLabel()
          Gets the label of this ChartElement
 ChartModel getModel()
          Gets the ChartModel this ChartElement belongs to
 Series getSeries()
          Gets the Series this ChartElement belongs to
 void setColor(java.awt.Color color)
          Sets the Color of this ChartElement
 void setLabel(java.lang.String label)
          Sets the label of this ChartElement
 

Method Detail

getColor

public java.awt.Color getColor()
Gets the Color of this ChartElement

setColor

public void setColor(java.awt.Color color)
Sets the Color of this ChartElement

getLabel

public java.lang.String getLabel()
Gets the label of this ChartElement

setLabel

public void setLabel(java.lang.String label)
Sets the label of this ChartElement

getSeries

public Series getSeries()
Gets the Series this ChartElement belongs to

getModel

public ChartModel getModel()
Gets the ChartModel this ChartElement belongs to