org.eclipse.birt.chart.computation.withoutaxes
Class PlotWithoutAxes

java.lang.Object
  extended by org.eclipse.birt.chart.computation.PlotComputation
      extended by org.eclipse.birt.chart.computation.withoutaxes.PlotWithoutAxes

public final class PlotWithoutAxes
extends PlotComputation

This class is capable of computing the content of a chart (without axes) based on preferred sizes, text rotation, fit ability, scaling, etc and prepares it for rendering. WARNING: This is an internal class and subject to change


Constructor Summary
PlotWithoutAxes(IDisplayServer xs, ChartWithoutAxes cwoa, RunTimeContext rtc)
          The constructor.
 
Method Summary
 void compute(Bounds bo)
          This method computes the entire chart within the given bounds.
 Coordinates getCellCoordinates(int iCell)
           
 Size getCellSize()
           
 int getColumnCount()
           
 ChartWithoutAxes getModel()
           
 int getRowCount()
           
 SeriesRenderingHints getSeriesRenderingHints(SeriesDefinition sdOrthogonal, Series seOrthogonal)
           
 
Methods inherited from class org.eclipse.birt.chart.computation.PlotComputation
getChartComputation, getPlotBounds, getPlotInsets, getPointToPixel, getRunTimeContext
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlotWithoutAxes

public PlotWithoutAxes(IDisplayServer xs,
                       ChartWithoutAxes cwoa,
                       RunTimeContext rtc)
The constructor.

Parameters:
xs -
cwoa -
rtc -
Method Detail

compute

public final void compute(Bounds bo)
Description copied from class: PlotComputation
This method computes the entire chart within the given bounds. If the dataset has changed but none of the axis attributes have changed, simply re-compute without 'rebuilding axes'.

Specified by:
compute in class PlotComputation

getCellSize

public final Size getCellSize()

getCellCoordinates

public final Coordinates getCellCoordinates(int iCell)

getColumnCount

public final int getColumnCount()

getRowCount

public final int getRowCount()

getModel

public final ChartWithoutAxes getModel()
Overrides:
getModel in class PlotComputation

getSeriesRenderingHints

public final SeriesRenderingHints getSeriesRenderingHints(SeriesDefinition sdOrthogonal,
                                                          Series seOrthogonal)
                                                   throws ChartException,
                                                          java.lang.IllegalArgumentException
Specified by:
getSeriesRenderingHints in class PlotComputation
Returns:
ISeriesRenderingHints
Throws:
ChartException
java.lang.IllegalArgumentException


Copyright © 2005-2008 Actuate Corp. All rights reserved.