public abstract class PrimitiveRenderEvent extends ChartEvent implements java.lang.Comparable
| 限定符和类型 | 字段和说明 |
|---|---|
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.
|
| 构造器和说明 |
|---|
PrimitiveRenderEvent(java.lang.Object oSource)
Creates a Primitive Render Event from a source object.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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, setSourceObjectpublic static final int DRAW
public static final int FILL
public int iObjIndex
public PrimitiveRenderEvent(java.lang.Object oSource)
oSource - The Source ObjectStructureSourcepublic Bounds getBounds() throws ChartException
ChartException - if not implemented by concrete classpublic PrimitiveRenderEvent copy() throws ChartException
ChartExceptionpublic 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 在接口中 java.lang.Comparablepublic void draw(IDeviceRenderer idr) throws ChartException
idr - ChartExceptionpublic void fill(IDeviceRenderer idr) throws ChartException
idr - ChartExceptionpublic 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.