org.eclipse.birt.chart.event
Class ImageRenderEvent

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

public class ImageRenderEvent
extends PrimitiveRenderEvent

ImageRenderEvent

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.eclipse.birt.chart.event.PrimitiveRenderEvent
DRAW, FILL, iObjIndex
 
Constructor Summary
ImageRenderEvent(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
 int getHeight()
           
 Image getImage()
           
 Location getLocation()
           
 Position getPosition()
           
 int getWidth()
           
 boolean isStretch()
           
 void setHeight(int height)
           
 void setImage(Image img)
           
 void setLocation(Location loc)
           
 void setPosition(Position pos)
           
 void setStretch(boolean val)
           
 void setWidth(int width)
           
 
Methods inherited from class org.eclipse.birt.chart.event.PrimitiveRenderEvent
compareRegular, compareTo, compareTransposed, getBounds, 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

ImageRenderEvent

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

setLocation

public void setLocation(Location loc)
Parameters:
loc -

setImage

public void setImage(Image img)
Parameters:
img -

setPosition

public void setPosition(Position pos)
Parameters:
pos -

getLocation

public Location getLocation()
Returns:

getImage

public Image getImage()
Returns:

getPosition

public Position getPosition()
Returns:

setWidth

public void setWidth(int width)
Parameters:
width -

setHeight

public void setHeight(int height)
Parameters:
height -

getWidth

public int getWidth()
Returns:

getHeight

public int getHeight()
Returns:

setStretch

public void setStretch(boolean val)
Parameters:
val -

isStretch

public boolean isStretch()
Returns:

copy

public PrimitiveRenderEvent copy()
                          throws ChartException
Overrides:
copy in class PrimitiveRenderEvent
Returns:
A copy of this primitive rendering instruction implemented by subclasses
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

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


Copyright © 2005 Actuate Corp. All rights reserved.