public class AreaRenderEvent extends PrimitiveRenderEvent
DRAW, FILL, iObjIndex| Constructor and Description |
|---|
AreaRenderEvent(java.lang.Object oSource)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(PrimitiveRenderEvent pre)
Add a sub event to this area.
|
void |
clear()
Removes all sub events associated with current area.
|
PrimitiveRenderEvent |
copy() |
void |
draw(IDeviceRenderer idr)
Causes this instruction to 'draw' itself on the device renderer
|
void |
fill(IDeviceRenderer idr)
Causes this instruction to 'fill' itself on the device renderer
|
Fill |
getBackground() |
Bounds |
getBounds()
Returns the mimimum bounds required to contain the rendering area for
current event.
|
PrimitiveRenderEvent |
getElement(int i)
Returns the specific sub event by given index.
|
int |
getElementCount() |
LineAttributes |
getLineAttributes() |
LineAttributes |
getOutline() |
java.util.Iterator<PrimitiveRenderEvent> |
iterator()
Returns the iterator for the subordinate event list.
|
void |
reset()
Resets the inner state of current event.
|
void |
setBackground(Fill fill)
Sets the background of this area.
|
void |
setOutline(LineAttributes outline)
Sets the outline of this area.
|
compareRegular, compareTo, compareTransposed, getDepth, getLabel, isEnabled, setDepth, setEnablesetSourceObjectpublic AreaRenderEvent(java.lang.Object oSource)
public final void clear()
public void reset()
ChartEventreset in class ChartEventpublic final void add(PrimitiveRenderEvent pre)
pre - public final int getElementCount()
public final java.util.Iterator<PrimitiveRenderEvent> iterator()
public final PrimitiveRenderEvent getElement(int i)
i - public final Fill getBackground()
getBackground in class PrimitiveRenderEventpublic final void setBackground(Fill fill)
fill - The fill to set.public final Bounds getBounds()
PrimitiveRenderEventgetBounds in class PrimitiveRenderEventpublic final LineAttributes getOutline()
public final void setOutline(LineAttributes outline)
outline - The outline to set.public PrimitiveRenderEvent copy() throws ChartException
copy in class PrimitiveRenderEventChartExceptionpublic void draw(IDeviceRenderer idr) throws ChartException
PrimitiveRenderEventdraw in class PrimitiveRenderEventChartExceptionpublic void fill(IDeviceRenderer idr) throws ChartException
PrimitiveRenderEventfill in class PrimitiveRenderEventChartExceptionpublic LineAttributes getLineAttributes()
getLineAttributes in class PrimitiveRenderEventCopyright © 2005-2008 Actuate Corp. All rights reserved.