Package org.eclipse.birt.chart.event
Class OvalRenderEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.eclipse.birt.chart.event.ChartEvent
-
- org.eclipse.birt.chart.event.PrimitiveRenderEvent
-
- org.eclipse.birt.chart.event.OvalRenderEvent
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable
- Direct Known Subclasses:
Oval3DRenderEvent
public class OvalRenderEvent extends PrimitiveRenderEvent
A rendering event type for rendering Oval object.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.eclipse.birt.chart.event.PrimitiveRenderEvent
DRAW, FILL, iObjIndex
-
-
Constructor Summary
Constructors Constructor Description OvalRenderEvent(java.lang.Object oSource)
The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrimitiveRenderEvent
copy()
void
draw(IDeviceRenderer idr)
Causes this instruction to 'draw' itself on the device renderervoid
fill(IDeviceRenderer idr)
Causes this instruction to 'fill' itself on the device rendererFill
getBackground()
Bounds
getBounds()
Returns the mimimum bounds required to contain the rendering area for current event.LineAttributes
getLineAttributes()
LineAttributes
getOutline()
void
reset()
Resets the inner state of current event.void
setBackground(Fill ifBackground)
Sets the background attributes.void
setBounds(Bounds bo)
Sets the bounds of the oval.void
setOutline(LineAttributes lia)
Sets the outline attributes.-
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
-
-
-
-
Method Detail
-
setBounds
public final void setBounds(Bounds bo)
Sets the bounds of the oval.
-
getBounds
public final Bounds getBounds()
Description copied from class:PrimitiveRenderEvent
Returns the mimimum bounds required to contain the rendering area for current event.- Overrides:
getBounds
in classPrimitiveRenderEvent
- Returns:
- Returns the bounds of the oval.
-
getBackground
public Fill getBackground()
- Overrides:
getBackground
in classPrimitiveRenderEvent
- Returns:
- Returns the background.
-
setBackground
public void setBackground(Fill ifBackground)
Sets the background attributes.
-
getOutline
public LineAttributes getOutline()
- Returns:
- Returns the outline.
-
setOutline
public void setOutline(LineAttributes lia)
Sets the outline attributes.- Parameters:
ls
- The outline to set.
-
copy
public PrimitiveRenderEvent copy()
- Overrides:
copy
in classPrimitiveRenderEvent
- Returns:
- A copy of this primitive rendering instruction implemented by subclasses
-
draw
public final void draw(IDeviceRenderer idr) throws ChartException
Description copied from class:PrimitiveRenderEvent
Causes this instruction to 'draw' itself on the device renderer- Overrides:
draw
in classPrimitiveRenderEvent
- Throws:
ChartException
-
fill
public final void fill(IDeviceRenderer idr) throws ChartException
Description copied from class:PrimitiveRenderEvent
Causes this instruction to 'fill' itself on the device renderer- Overrides:
fill
in classPrimitiveRenderEvent
- Throws:
ChartException
-
reset
public void reset()
Description copied from class:ChartEvent
Resets the inner state of current event. This must be implemented if the object is cached and reused.- Specified by:
reset
in classChartEvent
-
getLineAttributes
public LineAttributes getLineAttributes()
- Overrides:
getLineAttributes
in classPrimitiveRenderEvent
- Returns:
- A reference to the LineAttributes
-
-