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, setEnable
setSourceObject
public AreaRenderEvent(java.lang.Object oSource)
public final void clear()
public void reset()
ChartEvent
reset
in class ChartEvent
public 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 PrimitiveRenderEvent
public final void setBackground(Fill fill)
fill
- The fill to set.public final Bounds getBounds()
PrimitiveRenderEvent
getBounds
in class PrimitiveRenderEvent
public final LineAttributes getOutline()
public final void setOutline(LineAttributes outline)
outline
- The outline to set.public PrimitiveRenderEvent copy() throws ChartException
copy
in class PrimitiveRenderEvent
ChartException
public void draw(IDeviceRenderer idr) throws ChartException
PrimitiveRenderEvent
draw
in class PrimitiveRenderEvent
ChartException
public void fill(IDeviceRenderer idr) throws ChartException
PrimitiveRenderEvent
fill
in class PrimitiveRenderEvent
ChartException
public LineAttributes getLineAttributes()
getLineAttributes
in class PrimitiveRenderEvent
Copyright © 2005-2008 Actuate Corp. All rights reserved.