|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
org.eclipse.birt.chart.event.ChartEvent
org.eclipse.birt.chart.event.PrimitiveRenderEvent
org.eclipse.birt.chart.event.ImageRenderEvent
A rendering event type for rendering Image object.
Field Summary |
Fields inherited from class org.eclipse.birt.chart.event.PrimitiveRenderEvent |
DRAW, FILL, iObjIndex |
Constructor Summary | |
ImageRenderEvent(java.lang.Object oSource)
The constructor. |
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 |
reset()
Resets the inner state of current event. |
void |
setHeight(int height)
Sets the height hint of the image. |
void |
setImage(Image img)
Sets the content of the image. |
void |
setLocation(Location loc)
Sets the location of the image. |
void |
setPosition(Position pos)
Sets the position of the image. |
void |
setStretch(boolean val)
Sets if stretch the image. |
void |
setWidth(int width)
Sets the width hint of the image. |
Methods inherited from class org.eclipse.birt.chart.event.PrimitiveRenderEvent |
compareRegular, compareTo, compareTransposed, getBackground, getBounds, getDepth, getLabel, getLineAttributes, 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 |
public ImageRenderEvent(java.lang.Object oSource)
Method Detail |
public void setLocation(Location loc)
public void setImage(Image img)
public void setPosition(Position pos)
public Location getLocation()
public Image getImage()
public Position getPosition()
public void setWidth(int width)
public void setHeight(int height)
public int getWidth()
public int getHeight()
public void setStretch(boolean val)
public boolean isStretch()
public PrimitiveRenderEvent copy() throws ChartException
copy
in class PrimitiveRenderEvent
ChartException
public void fill(IDeviceRenderer idr) throws ChartException
PrimitiveRenderEvent
fill
in class PrimitiveRenderEvent
idr
-
ChartException
public void draw(IDeviceRenderer idr) throws ChartException
PrimitiveRenderEvent
draw
in class PrimitiveRenderEvent
idr
-
ChartException
public void reset()
ChartEvent
reset
in class ChartEvent
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |