org.eclipse.birt.chart.render
Interface IModelAccess


public interface IModelAccess

This interface provides internal access to the model for every renderer extension

Author:
Actuate Corporation

Method Summary
 Axis getAxis()
           
 java.lang.Object getComputations()
           
 IDeviceRenderer getDevice()
           
 Chart getModel()
           
 Series getSeries()
           
 void set(Chart _cm, java.lang.Object _o, Series _se, Axis _ax)
          This method is internally invoked on to set the references to each of the model elements
 void set(IDeviceRenderer _idr)
           
 

Method Detail

set

public void set(Chart _cm,
                java.lang.Object _o,
                Series _se,
                Axis _ax)
This method is internally invoked on to set the references to each of the model elements

Parameters:
_cm - An instance of the chart model
_o - An instance of the computations class
_se - An instance of the series being represented by this renderer

set

public void set(IDeviceRenderer _idr)
Parameters:
_idr -

getModel

public Chart getModel()
Returns:
An instance of the model associated with the renderer

getSeries

public Series getSeries()
Returns:
An instance of the series associated with the renderer

getAxis

public Axis getAxis()
Returns:
An instance of the Axis that holds the series being rendered

getComputations

public java.lang.Object getComputations()
Returns:
An instance of the internal computational class responsible for computing the building the chart Typically, renderer extensions should NOT attempt to directly access this

getDevice

public IDeviceRenderer getDevice()
Returns:
An instance of the rendering device to which primitives (and block renders) are submitted


Copyright © 2005 Actuate Corp. All rights reserved.