|
||||||||||
| 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.PolygonRenderEvent
public class PolygonRenderEvent
A rendering event type for rendering Polygon object.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.birt.chart.event.PrimitiveRenderEvent |
|---|
DRAW, FILL, iObjIndex |
| Constructor Summary | |
|---|---|
PolygonRenderEvent(java.lang.Object oSource)
The constructor. |
|
| Method Summary | |
|---|---|
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. |
LineAttributes |
getLineAttributes()
|
LineAttributes |
getOutline()
|
Location[] |
getPoints()
|
void |
reset()
Resets the inner state of current event. |
void |
setBackground(Fill ifBackground)
Sets the background fill attributes for the polygon |
void |
setOutline(LineAttributes lia)
Sets the polygon outline attributes |
void |
setPoints(Location[] la)
Sets the co-ordinates for each point that defines the polygon. |
| Methods inherited from class org.eclipse.birt.chart.event.PrimitiveRenderEvent |
|---|
compareRegular, compareTo, compareTransposed, getDepth, getLabel, setDepth |
| 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 PolygonRenderEvent(java.lang.Object oSource)
| Method Detail |
|---|
public final void setPoints(Location[] la)
public final Location[] getPoints()
public Fill getBackground()
getBackground in class PrimitiveRenderEventpublic void setBackground(Fill ifBackground)
public LineAttributes getOutline()
public void setOutline(LineAttributes lia)
public Bounds getBounds()
throws ChartException
PrimitiveRenderEvent
getBounds in class PrimitiveRenderEventChartException - if not implemented by concrete classpublic PrimitiveRenderEvent copy()
copy in class PrimitiveRenderEvent
public final void draw(IDeviceRenderer idr)
throws ChartException
PrimitiveRenderEvent
draw in class PrimitiveRenderEventChartException
public final void fill(IDeviceRenderer idr)
throws ChartException
PrimitiveRenderEvent
fill in class PrimitiveRenderEventChartExceptionpublic void reset()
ChartEvent
reset in class ChartEventpublic LineAttributes getLineAttributes()
getLineAttributes in class PrimitiveRenderEvent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||