org.eclipse.birt.chart.event
Class ArcRenderEvent
java.lang.Object
java.util.EventObject
org.eclipse.birt.chart.event.PrimitiveRenderEvent
org.eclipse.birt.chart.event.ArcRenderEvent
- All Implemented Interfaces:
- java.lang.Comparable, java.io.Serializable
- public final class ArcRenderEvent
- extends PrimitiveRenderEvent
ArcRenderEvent
- See Also:
- Serialized Form
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
OPEN
public static final int OPEN
- See Also:
- Constant Field Values
CLOSED
public static final int CLOSED
- See Also:
- Constant Field Values
SECTOR
public static final int SECTOR
- See Also:
- Constant Field Values
ArcRenderEvent
public ArcRenderEvent(java.lang.Object oSource)
- Parameters:
oSource
-
reset
public void reset()
- Description copied from class:
PrimitiveRenderEvent
- Resets all fields to default value.
- Overrides:
reset
in class PrimitiveRenderEvent
getStyle
public final int getStyle()
- Returns:
- Returns the arc style.
setStyle
public final void setStyle(int style)
- Parameters:
style
- The arc style to set.
getTopLeft
public final Location getTopLeft()
- Returns:
- Returns the top left co-ordinates of the bounding elliptical box
for the arc
setTopLeft
public final void setTopLeft(Location loTopLeft)
- Parameters:
loTopLeft
- The top left co-ordinates of the bounding elliptical box for
the arc
getAngleExtent
public final double getAngleExtent()
- Returns:
- Returns the end arc angle.
setEndAngle
public final void setEndAngle(double endAngle)
- Parameters:
endAngle
- The end arc angle to set.
getBackground
public final Fill getBackground()
- Returns:
- Returns the background.
setBackground
public final void setBackground(Fill ifBackground)
- Parameters:
ifBackground
- The background to set.
getWidth
public final double getWidth()
- Returns:
- Returns the width.
setWidth
public final void setWidth(double width)
getHeight
public final double getHeight()
- Returns:
- Returns the height.
setHeight
public final void setHeight(double height)
getStartAngle
public final double getStartAngle()
- Returns:
- Returns the startAngle.
setStartAngle
public final void setStartAngle(double startAngle)
- Parameters:
startAngle
- The startAngle to set.
setBounds
public final void setBounds(Bounds bo)
- Parameters:
bo
-
getEllipseBounds
public final Bounds getEllipseBounds()
- Returns:
getBounds
public final Bounds getBounds()
- Overrides:
getBounds
in class PrimitiveRenderEvent
- Returns:
getOutline
public final LineAttributes getOutline()
- Returns:
- Returns the outline.
setOutline
public final void setOutline(LineAttributes outline)
- Parameters:
outline
- The outline to set.
getInnerRadius
public double getInnerRadius()
setInnerRadius
public void setInnerRadius(double innerRadius)
getOuterRadius
public double getOuterRadius()
setOuterRadius
public void setOuterRadius(double outerRadius)
copy
public PrimitiveRenderEvent copy()
throws ChartException
- Overrides:
copy
in class PrimitiveRenderEvent
- Returns:
- A copy of this primitive rendering instruction implemented by
subclasses
- Throws:
ChartException
draw
public void draw(IDeviceRenderer idr)
throws ChartException
- Description copied from class:
PrimitiveRenderEvent
- Causes this instruction to 'draw' itself on the device renderer
- Overrides:
draw
in class PrimitiveRenderEvent
- Parameters:
idr
-
- Throws:
ChartException
fill
public void fill(IDeviceRenderer idr)
throws ChartException
- Description copied from class:
PrimitiveRenderEvent
- Causes this instruction to 'fill' itself on the device renderer
- Overrides:
fill
in class PrimitiveRenderEvent
- Parameters:
idr
-
- Throws:
ChartException
Copyright © 2005 Actuate Corp. All rights reserved.