i-net Clear Reports

com.inet.report.chart.plot
Class PieStyle

java.lang.Object
  extended by com.inet.report.chart.plot.ChartStyle
      extended by com.inet.report.chart.plot.PieStyle
All Implemented Interfaces:
java.io.Serializable

public class PieStyle
extends ChartStyle

This class defines the different styles of the pie chart. This style belongs to the plot PiePlot.

Since:
8.0
See Also:
PIE2D, PIE3D, RING2D, RING3D, Serialized Form

Field Summary
static PieStyle PIE2D
          The pie 2D style.
static PieStyle PIE3D
          The pie 3D style.
static PieStyle RING2D
          The ring 2D style.
static PieStyle RING3D
          The ring 3D style.
 
Constructor Summary
protected PieStyle(java.lang.String name)
          Private constructor.
 
Method Summary
 boolean equals(java.lang.Object obj)
          
 java.util.List getAllowedDatasets(Chart2 chart)
          Returns the list of dataset supported by this chart style.
 AbstractPlot getDefaultPlot()
          Creates a new pie plot and initializes the plot with default settings.
 
Methods inherited from class com.inet.report.chart.plot.ChartStyle
hashCode, toString
 

Field Detail

PIE2D

public static final PieStyle PIE2D
The pie 2D style.


PIE3D

public static final PieStyle PIE3D
The pie 3D style.


RING2D

public static final PieStyle RING2D
The ring 2D style.


RING3D

public static final PieStyle RING3D
The ring 3D style.

Constructor Detail

PieStyle

protected PieStyle(java.lang.String name)
Private constructor.

Parameters:
name - the name
Since:
8.0
Method Detail

equals

public boolean equals(java.lang.Object obj)

Overrides:
equals in class ChartStyle

getDefaultPlot

public AbstractPlot getDefaultPlot()
Creates a new pie plot and initializes the plot with default settings.

Specified by:
getDefaultPlot in class ChartStyle
Returns:
the plot of type PiePlot.
Since:
8.0
See Also:
AbstractPlot

getAllowedDatasets

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

Specified by:
getAllowedDatasets in class ChartStyle
Parameters:
chart - the chart
Returns:
the list of datasets.
See Also:
Chart2

i-net Clear Reports

Copyright © 1999-2011 by i-net software GmbH