org.eclipse.birt.chart.event
Class ArcRenderEvent
java.lang.Object
java.util.EventObject
org.eclipse.birt.chart.event.ChartEvent
org.eclipse.birt.chart.event.PrimitiveRenderEvent
org.eclipse.birt.chart.event.ArcRenderEvent
- All Implemented Interfaces:
- java.lang.Comparable, java.io.Serializable
- Direct Known Subclasses:
- Arc3DRenderEvent
- public 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()
- Specified by:
reset in class ChartEvent
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.
setAngleExtent
public final void setAngleExtent(double angleExtent)
- Parameters:
angleExtent - The angle extent- Since:
- 2.1
setEndAngle
public final void setEndAngle(double endAngle)
- Deprecated. in 2.1. Use setAngleExtent instead
- Parameters:
endAngle - The angle extent- See Also:
setAngleExtent(double)
getBackground
public final Fill getBackground()
- Returns:
- Returns the background.
setBackground
public final void setBackground(Fill ifBackground)
- Parameters:
ifBackground - The background to set.
getWidth
public double getWidth()
- Returns:
- Returns the width.
setWidth
public void setWidth(double width)
getHeight
public double getHeight()
- Returns:
- Returns the height.
setHeight
public 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 Bounds getEllipseBounds()
- Returns:
getBounds
public 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.