org.eclipse.birt.chart.event
Class RectangleRenderEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.eclipse.birt.chart.event.PrimitiveRenderEvent
          extended byorg.eclipse.birt.chart.event.RectangleRenderEvent
All Implemented Interfaces:
java.lang.Comparable, java.io.Serializable

public final class RectangleRenderEvent
extends PrimitiveRenderEvent

RectangleRenderEvent

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.eclipse.birt.chart.event.PrimitiveRenderEvent
DRAW, FILL, iObjIndex
 
Constructor Summary
RectangleRenderEvent(java.lang.Object oSource)
           
 
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()
           
 LineAttributes getOutline()
           
 void setBackground(Fill ifBackground)
           
 void setBounds(Bounds bo)
           
 void setOutline(LineAttributes lia)
           
 void updateFrom(Block bl, double dScale)
           
 
Methods inherited from class org.eclipse.birt.chart.event.PrimitiveRenderEvent
compareRegular, compareTo, compareTransposed, getDepth, reset, setDepth, 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

RectangleRenderEvent

public RectangleRenderEvent(java.lang.Object oSource)
Parameters:
oSource -
Method Detail

getBounds

public Bounds getBounds()
Overrides:
getBounds in class PrimitiveRenderEvent
Returns:
Returns the bounds associated with this rectangle.

setBounds

public void setBounds(Bounds bo)
Parameters:
bo - The bounds associated with this rectangle to set.

getBackground

public Fill getBackground()
Returns:
Returns the background fill associated with the rectangle.

setBackground

public void setBackground(Fill ifBackground)

getOutline

public LineAttributes getOutline()
Returns:
Returns the ls.

setOutline

public void setOutline(LineAttributes lia)

updateFrom

public final void updateFrom(Block bl,
                             double dScale)
Parameters:
bl -

copy

public final PrimitiveRenderEvent copy()
Overrides:
copy in class PrimitiveRenderEvent
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 class PrimitiveRenderEvent
Parameters:
idr -
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 class PrimitiveRenderEvent
Parameters:
idr -
Throws:
ChartException


Copyright © 2005 Actuate Corp. All rights reserved.