Package org.eclipse.birt.chart.event
Class Line3DRenderEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.eclipse.birt.chart.event.ChartEvent
-
- org.eclipse.birt.chart.event.PrimitiveRenderEvent
-
- org.eclipse.birt.chart.event.LineRenderEvent
-
- org.eclipse.birt.chart.event.Line3DRenderEvent
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable,I3DRenderEvent
public final class Line3DRenderEvent extends LineRenderEvent implements I3DRenderEvent
A rendering event type for rendering 3D Line 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 Line3DRenderEvent(java.lang.Object oSource)The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrimitiveRenderEventcopy()Location3DgetEnd3D()Returns the 3D end location of this line.Object3DgetObject3D()Returns the 3D object associated with this event.Object3DgetObject3DParent()Location3DgetStart3D()Returns the 3D start location of this line.voidprepare2D(double xOffset, double yOffset)Prepares the coordinates to render on 2D plane.voidreset()Resets the inner state of current event.voidsetEnd3D(double x, double y, double z)Sets the 3D end location of the line.voidsetEnd3D(Location3D end)Sets the 3D end location of the line.voidsetObject3DParent(Object3D object3DParent)voidsetStart3D(double x, double y, double z)Sets the 3D start location of the line.voidsetStart3D(Location3D start)Sets the 3D start location of the line.-
Methods inherited from class org.eclipse.birt.chart.event.LineRenderEvent
draw, fill, getBounds, getEnd, getLineAttributes, getStart, getZOrder, setEnd, setLineAttributes, setStart, setZOrder
-
Methods inherited from class org.eclipse.birt.chart.event.PrimitiveRenderEvent
compareRegular, compareTo, compareTransposed, getBackground, getDepth, getLabel, isEnabled, setDepth, setEnable
-
Methods inherited from class org.eclipse.birt.chart.event.ChartEvent
setSourceObject
-
-
-
-
Method Detail
-
setStart3D
public void setStart3D(Location3D start)
Sets the 3D start location of the line.
-
setStart3D
public void setStart3D(double x, double y, double z)Sets the 3D start location of the line.
-
getStart3D
public Location3D getStart3D()
Returns the 3D start location of this line. Not a live object- Returns:
-
setEnd3D
public void setEnd3D(Location3D end)
Sets the 3D end location of the line.
-
setEnd3D
public void setEnd3D(double x, double y, double z)Sets the 3D end location of the line.
-
getEnd3D
public Location3D getEnd3D()
Returns the 3D end location of this line. Not a live object- Returns:
-
copy
public PrimitiveRenderEvent copy()
- Overrides:
copyin classLineRenderEvent- Returns:
- A copy of this primitive rendering instruction implemented by subclasses
-
getObject3D
public Object3D getObject3D()
Description copied from interface:I3DRenderEventReturns the 3D object associated with this event.- Specified by:
getObject3Din interfaceI3DRenderEvent- Returns:
-
prepare2D
public void prepare2D(double xOffset, double yOffset)Description copied from interface:I3DRenderEventPrepares the coordinates to render on 2D plane.- Specified by:
prepare2Din interfaceI3DRenderEvent
-
reset
public void reset()
Description copied from class:ChartEventResets the inner state of current event. This must be implemented if the object is cached and reused.- Overrides:
resetin classLineRenderEvent
-
getObject3DParent
public Object3D getObject3DParent()
-
setObject3DParent
public void setObject3DParent(Object3D object3DParent)
-
-