|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
org.eclipse.birt.chart.event.ChartEvent
org.eclipse.birt.chart.event.PrimitiveRenderEvent
org.eclipse.birt.chart.event.AreaRenderEvent
public class AreaRenderEvent
A rendering event type for rendering Area object.
Field Summary |
---|
Fields inherited from class org.eclipse.birt.chart.event.PrimitiveRenderEvent |
---|
DRAW, FILL, iObjIndex |
Constructor Summary | |
---|---|
AreaRenderEvent(java.lang.Object oSource)
The constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.eclipse.birt.chart.event.PrimitiveRenderEvent |
---|
compareRegular, compareTo, compareTransposed, getDepth, getLabel, isEnabled, setDepth, setEnable |
Methods inherited from class org.eclipse.birt.chart.event.ChartEvent |
---|
setSourceObject |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AreaRenderEvent(java.lang.Object oSource)
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |