public abstract class PrimitiveRenderEvent extends ChartEvent implements java.lang.Comparable
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
PrimitiveRenderEvent(java.lang.Object oSource)
Creates a Primitive Render Event from a source object.
|
Modifier and Type | Method and Description |
---|---|
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() |
boolean |
isEnabled() |
void |
setDepth(double dDepth)
Sets the depth of current event.
|
void |
setEnable(boolean enabled) |
reset, setSourceObject
public static final int DRAW
public static final int FILL
public int iObjIndex
public PrimitiveRenderEvent(java.lang.Object oSource)
oSource
- The Source ObjectStructureSource
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()
public void setEnable(boolean enabled)
public boolean isEnabled()
Copyright © 2005-2008 Actuate Corp. All rights reserved.