|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.birt.chart.render.BaseRenderer
org.eclipse.birt.chart.render.AxesRenderer
public abstract class AxesRenderer
Provides a base framework for custom series rendering extensions that are interested in being rendered in a pre-computed plot containing axes. Series type extensions could subclass this class to participate in the axes rendering framework.
Constructor Summary | |
---|---|
AxesRenderer()
The constructor. |
Method Summary | |
---|---|
IAxesDecorator |
getAxesDecorator(OneAxis ax)
Returns the decorator renderer associated with current series, default is none. |
Axis |
getAxis()
Gets current model Axis |
Object3D |
getFloor()
|
Object3D |
getLeftWall()
|
Object3D |
getRightWall()
|
boolean |
isDimension3D()
Returns if its a 3D rendering. |
boolean |
isLastRuntimeSeriesInAxis()
|
boolean |
isLastRuntimeSeriesInGroup()
To judge whether current series is the last runtime series in a series definition or not . |
boolean |
isTransposed()
Returns if current chart is transposed. |
void |
render(java.util.Map<Series,LegendItemRenderingHints> htRenderers,
Bounds bo)
Overridden behavior for graphic element series that are plotted along axes |
void |
renderEachAxis(IPrimitiveRenderer ipr,
Plot pl,
OneAxis ax,
int iWhatToDraw)
Renders the axis. |
void |
renderPlot(IPrimitiveRenderer ipr,
Plot p)
This method renders the bar graphic elements superimposed over the plot background and any previously rendered series' graphic elements. |
void |
set(Chart _cm,
PlotComputation _o,
Series _se,
Axis _ax,
SeriesDefinition _sd)
|
Methods inherited from class org.eclipse.birt.chart.render.BaseRenderer |
---|
getComputations, getDeferredCache, getDeferredCacheManager, getDevice, getDeviceScale, getFilteredMinSliceEntry, getModel, getRenderer, getRunTimeContext, getSeries, getSeriesCount, getSeriesDefinition, getSeriesIndex, getSeriesRenderingHints, getX, getXServer, getY, instances, isInteractivityEnabled, isRightToLeft, processTrigger, renderLabel, renderLabel, renderLabel, renderLegend, renderTitle, set, set, set, set, set, set, set, setDeferredCacheManager, switchAnchor, switchPosition, switchTextAlignment, updateTranslucency |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.birt.chart.render.ISeriesRenderer |
---|
compute, renderLegendGraphic, renderSeries |
Constructor Detail |
---|
public AxesRenderer()
Method Detail |
---|
public Object3D getLeftWall()
public Object3D getRightWall()
public Object3D getFloor()
public final void render(java.util.Map<Series,LegendItemRenderingHints> htRenderers, Bounds bo) throws ChartException
render
in class BaseRenderer
bo
-
ChartException
public void renderPlot(IPrimitiveRenderer ipr, Plot p) throws ChartException
renderPlot
in class BaseRenderer
ipr
- The Primitive Renderer of a Device Rendererp
- The Plot to render
ChartException
public IAxesDecorator getAxesDecorator(OneAxis ax)
getAxesDecorator
in class BaseRenderer
public final void renderEachAxis(IPrimitiveRenderer ipr, Plot pl, OneAxis ax, int iWhatToDraw) throws ChartException
ipr
- pl
- ax
- iWhatToDraw
-
ChartException
public void set(Chart _cm, PlotComputation _o, Series _se, Axis _ax, SeriesDefinition _sd)
public final boolean isDimension3D()
public boolean isTransposed()
isTransposed
in class BaseRenderer
public final boolean isLastRuntimeSeriesInAxis()
public final boolean isLastRuntimeSeriesInGroup()
public final Axis getAxis()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |