|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.birt.chart.render.DeferredCache
This class implements deferred rendering capability for chart.
Field Summary | |
static int |
FLUSH_3D
|
static int |
FLUSH_ALL
|
static int |
FLUSH_LABLE
|
static int |
FLUSH_LINE
|
static int |
FLUSH_MARKER
|
static int |
FLUSH_PLANE
|
static int |
FLUSH_PLANE_SHADOW
|
Constructor Summary | |
DeferredCache(IDeviceRenderer idr,
Chart c)
The constructor. |
Method Summary | |
void |
addLabel(TextRenderEvent tre)
Adds text rendering event to cache. |
void |
addLine(LineRenderEvent lre)
Adds line rendering event to cache. |
void |
addMarker(PrimitiveRenderEvent pre,
int iInstruction,
double iMarkerSize)
Adds marker rendering event to cache. |
void |
addModel(WrappedInstruction wi)
Adds wrapped rendering event to cache. |
void |
addPlane(PrimitiveRenderEvent pre,
int iInstruction)
Adds rendering Plane event to cache. |
void |
addPlaneShadow(PrimitiveRenderEvent pre,
int iInstruction)
Adds rendering Plane event to cache. |
void |
flush()
Flush the cache, perform all pending rendering tasks. |
void |
flushOptions(int options)
Flush the cache of specified types. |
java.util.List |
getAllLabels()
Returns all cached labels. |
java.util.List |
getAllMarkers()
Returns all cached markers. |
boolean |
isTransposed()
|
void |
process3DEvent(Engine3D engine,
double xOffset,
double yOffset)
Pre-process all the 3D rendering events. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int FLUSH_PLANE
public static final int FLUSH_LINE
public static final int FLUSH_MARKER
public static final int FLUSH_LABLE
public static final int FLUSH_3D
public static final int FLUSH_PLANE_SHADOW
public static final int FLUSH_ALL
Constructor Detail |
public DeferredCache(IDeviceRenderer idr, Chart c)
Method Detail |
public final void addPlane(PrimitiveRenderEvent pre, int iInstruction)
pre
- As of now, supported types are RectanguleRenderEvent and
PolygonRenderEventpublic final void addPlaneShadow(PrimitiveRenderEvent pre, int iInstruction)
pre
- As of now, supported types are RectanguleRenderEvent and
PolygonRenderEventpublic final void addModel(WrappedInstruction wi)
public final void addLine(LineRenderEvent lre)
public final void addLabel(TextRenderEvent tre)
public final void addMarker(PrimitiveRenderEvent pre, int iInstruction, double iMarkerSize)
public final void flush() throws ChartException
ChartException
public final void flushOptions(int options) throws ChartException
options
- types
ChartException
FLUSH_3D
,
FLUSH_LABLE
,
FLUSH_LINE
,
FLUSH_MARKER
,
FLUSH_PLANE
public void process3DEvent(Engine3D engine, double xOffset, double yOffset)
flush()
.
public boolean isTransposed()
public java.util.List getAllMarkers()
public java.util.List getAllLabels()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |