i-net Clear Reports

com.inet.report.chart.plot
Class ChartStyle

java.lang.Object
  extended by com.inet.report.chart.plot.ChartStyle
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AreaStyle, BarStyle, Chart3DStyle, com.inet.report.chart.plot.ContinuousStyle, GanttStyle, LineStyle, MultiplePieStyle, PieStyle, PolarStyle, StockStyle, XYStyle

public abstract class ChartStyle
extends java.lang.Object
implements java.io.Serializable

A general class for all chart styles.

Since:
8.0
See Also:
BarStyle, LineStyle, AreaStyle, Chart3DStyle, PieStyle, MultiplePieStyle, PolarStyle, StockStyle, XYStyle, GanttStyle, ContinuousBarStyle, ContinuousLineStyle, ContinuousAreaStyle, Serialized Form

Constructor Summary
protected ChartStyle(java.lang.String name)
          Set the name with this method.
 
Method Summary
 boolean equals(java.lang.Object obj)
          
abstract  java.util.List getAllowedDatasets(Chart2 chart)
          Returns the list of dataset supported by this chart style.
abstract  AbstractPlot getDefaultPlot()
          Creates a default plot properly for this chart style.
 int hashCode()
          
 java.lang.String toString()
          
 

Constructor Detail

ChartStyle

protected ChartStyle(java.lang.String name)
Set the name with this method.

Parameters:
name - of the chart style.,
Method Detail

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()

Overrides:
hashCode in class java.lang.Object

getDefaultPlot

public abstract AbstractPlot getDefaultPlot()
Creates a default plot properly for this chart style.

Returns:
the plot.
Since:
8.0
See Also:
AbstractPlot

getAllowedDatasets

public abstract java.util.List getAllowedDatasets(Chart2 chart)
Returns the list of dataset supported by this chart style.

Parameters:
chart - the chart
Returns:
the list of datasets.
Since:
8.0
See Also:
Chart2

i-net Clear Reports

Copyright © 1999-2011 by i-net software GmbH