|
||||||||||
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
public abstract class PrimitiveRenderEvent
Field Summary | |
---|---|
static int |
DRAW
A constant indicats a Drawing operation. |
static int |
FILL
A constant indicats a Filling operation. |
int |
iObjIndex
An index value used internally. |
Constructor Summary | |
---|---|
PrimitiveRenderEvent(java.lang.Object oSource)
Creates a Primitive Render Event from a source object. |
Method Summary | |
---|---|
static int |
compareRegular(Bounds bo1,
Bounds bo2)
Compare two bounds regularly. |
int |
compareTo(java.lang.Object o)
Compares two primitives in terms of Z-order rendering |
static int |
compareTransposed(Bounds bo1,
Bounds bo2)
Compare two bounds in transposed way. |
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 |
Fill |
getBackground()
|
Bounds |
getBounds()
Returns the mimimum bounds required to contain the rendering area for current event. |
double |
getDepth()
|
Label |
getLabel()
|
LineAttributes |
getLineAttributes()
|
void |
setDepth(double dDepth)
Sets the depth of current event. |
Methods inherited from class org.eclipse.birt.chart.event.ChartEvent |
---|
reset, 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 |
Field Detail |
---|
public static final int DRAW
public static final int FILL
public int iObjIndex
Constructor Detail |
---|
public PrimitiveRenderEvent(java.lang.Object oSource)
oSource
- The Source ObjectStructureSource
Method Detail |
---|
public Bounds getBounds() throws ChartException
ChartException
- if not implemented by concrete classpublic PrimitiveRenderEvent copy() throws ChartException
ChartException
public static final int compareTransposed(Bounds bo1, Bounds bo2)
bo1
- bo2
-
public static final int compareRegular(Bounds bo1, Bounds bo2)
bo1
- bo2
-
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
public void draw(IDeviceRenderer idr) throws ChartException
idr
-
ChartException
public void fill(IDeviceRenderer idr) throws ChartException
idr
-
ChartException
public final void setDepth(double dDepth)
dDepth
- public final double getDepth()
public LineAttributes getLineAttributes()
public Fill getBackground()
public Label getLabel()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |