Package org.eclipse.birt.chart.event
Class Image3DRenderEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.eclipse.birt.chart.event.ChartEvent
-
- org.eclipse.birt.chart.event.PrimitiveRenderEvent
-
- org.eclipse.birt.chart.event.ImageRenderEvent
-
- org.eclipse.birt.chart.event.Image3DRenderEvent
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable
,I3DRenderEvent
public final class Image3DRenderEvent extends ImageRenderEvent implements I3DRenderEvent
A rendering event type for rendering 3D Image object.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.eclipse.birt.chart.event.PrimitiveRenderEvent
DRAW, FILL, iObjIndex
-
-
Constructor Summary
Constructors Constructor Description Image3DRenderEvent(java.lang.Object oSource)
The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrimitiveRenderEvent
copy()
Location3D
getLocation3D()
Object3D
getObject3D()
Returns the 3D object associated with this event.void
prepare2D(double xOffset, double yOffset)
Prepares the coordinates to render on 2D plane.void
reset()
Resets the inner state of current event.void
setLocation3D(Location3D lo)
Sets the 3D location of the image.-
Methods inherited from class org.eclipse.birt.chart.event.ImageRenderEvent
draw, fill, getHeight, getImage, getLocation, getPosition, getWidth, isStretch, setHeight, setImage, setLocation, setPosition, setStretch, setWidth
-
Methods inherited from class org.eclipse.birt.chart.event.PrimitiveRenderEvent
compareRegular, compareTo, compareTransposed, getBackground, getBounds, getDepth, getLabel, getLineAttributes, isEnabled, setDepth, setEnable
-
Methods inherited from class org.eclipse.birt.chart.event.ChartEvent
setSourceObject
-
-
-
-
Method Detail
-
setLocation3D
public void setLocation3D(Location3D lo)
Sets the 3D location of the image.
-
getLocation3D
public Location3D getLocation3D()
- Returns:
- Returns the 3D location of the image.
-
copy
public PrimitiveRenderEvent copy()
- Overrides:
copy
in classImageRenderEvent
- Returns:
- A copy of this primitive rendering instruction implemented by subclasses
-
getObject3D
public Object3D getObject3D()
Description copied from interface:I3DRenderEvent
Returns the 3D object associated with this event.- Specified by:
getObject3D
in interfaceI3DRenderEvent
- Returns:
-
prepare2D
public void prepare2D(double xOffset, double yOffset)
Description copied from interface:I3DRenderEvent
Prepares the coordinates to render on 2D plane.- Specified by:
prepare2D
in interfaceI3DRenderEvent
-
reset
public void reset()
Description copied from class:ChartEvent
Resets the inner state of current event. This must be implemented if the object is cached and reused.- Overrides:
reset
in classImageRenderEvent
-
-