org.eclipse.birt.chart.event
Class ImageRenderEvent
java.lang.Object
java.util.EventObject
org.eclipse.birt.chart.event.PrimitiveRenderEvent
org.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
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ImageRenderEvent
public ImageRenderEvent(java.lang.Object oSource)
- Parameters:
oSource
-
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.