public interface IDeviceRenderer extends IPrimitiveRenderer, IStructureDefinitionListener
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
AREA_ALT_ENABLED
A property name that indicates if alt attribute in area tag of image map
will be used to display data point value.
|
static java.lang.String |
CACHE_ON_DISK
A Property to enable/disable the caching of the image stream on disk
Default is false.
|
static java.lang.String |
CACHED_IMAGE
A property name that identifies an instance of a cached java.awt.Image
that may be passed in for potential reuse.
|
static java.lang.String |
COMPRESSED_OUTPUT
A property name that indicates if the output associated with the device
should be compressed ('true') or written out as is uncompressed
('false').
|
static java.lang.String |
DPI_RESOLUTION
A property name that indicates the dpi (dots/pixels per inch) resolution
to use when rendering to the device.
|
static java.lang.String |
EXPECTED_BOUNDS
A property name that identifies the expected bounds of the chart being
generated.
|
static java.lang.String |
FILE_IDENTIFIER
A property name that identifies a device-specific file identifier.
|
static java.lang.String |
FORMAT_IDENTIFIER
A property name that identifies an output format identifier
|
static java.lang.String |
GRAPHICS_CONTEXT
A property name that identifies a device-specific graphics context
|
static java.lang.String |
UPDATE_NOTIFIER
A property name that identifies a device-specific visual component (e.g.
|
AFTER_DRAW_AXIS_LABEL, AFTER_DRAW_AXIS_TITLE, AFTER_DRAW_BLOCK, AFTER_DRAW_DATA_POINT, AFTER_DRAW_DATA_POINT_LABEL, AFTER_DRAW_ELEMENT, AFTER_DRAW_FITTING_CURVE, AFTER_DRAW_LEGEND_ENTRY, AFTER_DRAW_LEGEND_ITEM, AFTER_DRAW_MARKER, AFTER_DRAW_MARKER_LINE, AFTER_DRAW_MARKER_RANGE, AFTER_DRAW_SERIES, AFTER_DRAW_SERIES_TITLE, BEFORE_DRAW_AXIS_LABEL, BEFORE_DRAW_AXIS_TITLE, BEFORE_DRAW_BLOCK, BEFORE_DRAW_DATA_POINT, BEFORE_DRAW_DATA_POINT_LABEL, BEFORE_DRAW_ELEMENT, BEFORE_DRAW_FITTING_CURVE, BEFORE_DRAW_LEGEND_ENTRY, BEFORE_DRAW_LEGEND_ITEM, BEFORE_DRAW_MARKER, BEFORE_DRAW_MARKER_LINE, BEFORE_DRAW_MARKER_RANGE, BEFORE_DRAW_SERIES, BEFORE_DRAW_SERIES_TITLE
Modifier and Type | Method and Description |
---|---|
void |
after()
A notification sent to the device to cleanup after rendering is done
|
void |
before()
A notification sent to the device to initialize itself before rendering
begins
|
void |
dispose()
A notification sent to the device to free all allocated system resources.
|
IChartComputation |
getChartComputation()
Returns the chart computation.
|
IDisplayServer |
getDisplayServer()
Returns an instance of the low level display server capable of providing
text metrics, screen resolution, etc.
|
java.lang.Object |
getGraphicsContext()
Returns an instance of the low level graphics context being used to
render primitives
|
java.util.Locale |
getLocale()
Deprecated.
use
getULocale() instead. |
java.lang.String |
getMimeType()
Returns the MIME type of the output image that the device renderer
creates.
|
com.ibm.icu.util.ULocale |
getULocale()
Provides the locale to device renderer implementations as needed to
retrieve localized resources for presentation.
|
boolean |
needsStructureDefinition()
Indicated to the caller if the device renderer needs additional structure
definition callbacks to identify how primitives are to be grouped to
possibly aid in client side event handling.
|
void |
presentException(java.lang.Exception ex)
Notifies a device renderer to present an exception in its context
|
void |
setChartComputation(IChartComputation cComp)
Sets the chart computation.
|
void |
setProperty(java.lang.String sProperty,
java.lang.Object oValue)
Device-specific write-only properties that may be set for each device
renderer
|
applyTransformation, drawArc, drawArea, drawImage, drawLine, drawOval, drawPolygon, drawRectangle, drawText, enableInteraction, fillArc, fillArea, fillOval, fillPolygon, fillRectangle, setClip
changeStructure
static final java.lang.String FILE_IDENTIFIER
static final java.lang.String FORMAT_IDENTIFIER
static final java.lang.String GRAPHICS_CONTEXT
static final java.lang.String UPDATE_NOTIFIER
static final java.lang.String EXPECTED_BOUNDS
static final java.lang.String CACHED_IMAGE
static final java.lang.String COMPRESSED_OUTPUT
static final java.lang.String DPI_RESOLUTION
static final java.lang.String CACHE_ON_DISK
static final java.lang.String AREA_ALT_ENABLED
void setProperty(java.lang.String sProperty, java.lang.Object oValue)
sProperty
- The property whose value is to be setoValue
- The value associated with the propertyjava.lang.Object getGraphicsContext()
IDisplayServer getDisplayServer()
boolean needsStructureDefinition()
void before() throws ChartException
ChartException
void after() throws ChartException
ChartException
void dispose()
void presentException(java.lang.Exception ex)
ex
- The exception to be presentedjava.util.Locale getLocale()
getULocale()
instead.com.ibm.icu.util.ULocale getULocale()
java.lang.String getMimeType()
IChartComputation getChartComputation()
void setChartComputation(IChartComputation cComp)
cComp
- IChartComputationCopyright © 2005-2008 Actuate Corp. All rights reserved.