Package org.eclipse.birt.chart.event
Class LineRenderEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.eclipse.birt.chart.event.ChartEvent
-
- org.eclipse.birt.chart.event.PrimitiveRenderEvent
-
- org.eclipse.birt.chart.event.LineRenderEvent
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable
- Direct Known Subclasses:
Line3DRenderEvent
public class LineRenderEvent extends PrimitiveRenderEvent
A rendering event type for rendering 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 LineRenderEvent(java.lang.Object oSource)The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrimitiveRenderEventcopy()voiddraw(IDeviceRenderer idr)Causes this instruction to 'draw' itself on the device renderervoidfill(IDeviceRenderer idr)Causes this instruction to 'fill' itself on the device rendererBoundsgetBounds()Returns the mimimum bounds required to contain the rendering area for current event.LocationgetEnd()LineAttributesgetLineAttributes()LocationgetStart()intgetZOrder()voidreset()Resets the inner state of current event.voidsetEnd(Location _loEnd)Sets the end location of the line.voidsetLineAttributes(LineAttributes _lia)Sets the line attributes of this event.voidsetStart(Location _loStart)Sets the start location of the line.voidsetZOrder(int _zOrder)Sets the zOrder of the line.-
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
-
setStart
public final void setStart(Location _loStart)
Sets the start location of the line.
-
getStart
public final Location getStart()
- Returns:
- Returns the start location of the line.
-
setEnd
public final void setEnd(Location _loEnd)
Sets the end location of the line.
-
getEnd
public final Location getEnd()
- Returns:
- Returns the end location of the line.
-
setLineAttributes
public final void setLineAttributes(LineAttributes _lia)
Sets the line attributes of this event.
-
getLineAttributes
public final LineAttributes getLineAttributes()
- Overrides:
getLineAttributesin classPrimitiveRenderEvent- Returns:
- Returns the line attributes.
-
getBounds
public final Bounds getBounds()
Description copied from class:PrimitiveRenderEventReturns the mimimum bounds required to contain the rendering area for current event.- Overrides:
getBoundsin classPrimitiveRenderEvent- Returns:
-
copy
public PrimitiveRenderEvent copy()
- Overrides:
copyin classPrimitiveRenderEvent- Returns:
- A copy of this primitive rendering instruction implemented by subclasses
-
fill
public void fill(IDeviceRenderer idr) throws ChartException
Description copied from class:PrimitiveRenderEventCauses this instruction to 'fill' itself on the device renderer- Overrides:
fillin classPrimitiveRenderEvent- Throws:
ChartException
-
draw
public final void draw(IDeviceRenderer idr) throws ChartException
Description copied from class:PrimitiveRenderEventCauses this instruction to 'draw' itself on the device renderer- Overrides:
drawin classPrimitiveRenderEvent- Throws:
ChartException
-
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.- Specified by:
resetin classChartEvent
-
setZOrder
public final void setZOrder(int _zOrder)
Sets the zOrder of the line.
-
getZOrder
public final int getZOrder()
- Returns:
- Returns the zOrder of the line.
-
-