org.eclipse.birt.chart.event
Class AreaRenderEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.eclipse.birt.chart.event.ChartEvent
          extended byorg.eclipse.birt.chart.event.PrimitiveRenderEvent
              extended byorg.eclipse.birt.chart.event.AreaRenderEvent
All Implemented Interfaces:
java.lang.Comparable, java.io.Serializable
Direct Known Subclasses:
Area3DRenderEvent

public class AreaRenderEvent
extends PrimitiveRenderEvent

AreaRenderEvent

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.eclipse.birt.chart.event.PrimitiveRenderEvent
DRAW, FILL, iObjIndex
 
Constructor Summary
AreaRenderEvent(java.lang.Object oSource)
           
 
Method Summary
 void add(PrimitiveRenderEvent pre)
           
 void clear()
           
 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 bounds of all combined elements in this 'area'
 PrimitiveRenderEvent getElement(int i)
           
 int getElementCount()
           
 LineAttributes getOutline()
           
 java.util.Iterator iterator()
          Returns the iterator for the subordinate event list.
 void reset()
           
 void setBackground(Fill fill)
           
 void setOutline(LineAttributes outline)
           
 
Methods inherited from class org.eclipse.birt.chart.event.PrimitiveRenderEvent
compareRegular, compareTo, compareTransposed, getDepth, 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

AreaRenderEvent

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

clear

public final void clear()

reset

public void reset()
Specified by:
reset in class ChartEvent

add

public final void add(PrimitiveRenderEvent pre)
Parameters:
pre -

getElementCount

public final int getElementCount()
Returns:

iterator

public final java.util.Iterator iterator()
Returns the iterator for the subordinate event list.

Returns:

getElement

public final PrimitiveRenderEvent getElement(int i)
Parameters:
i -
Returns:

getBackground

public final Fill getBackground()
Returns:
Returns the fill.

setBackground

public final void setBackground(Fill fill)
Parameters:
fill - The fill to set.

getBounds

public final Bounds getBounds()
Returns the bounds of all combined elements in this 'area'

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.

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.