public class TextRenderEvent extends PrimitiveRenderEvent
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
ABOVE
A constant used with the 'TextPosition' attribute.
|
static int |
BELOW
A constant used with the 'TextPosition' attribute.
|
static int |
LEFT
A constant used with the 'TextPosition' attribute.
|
static int |
RENDER_SHADOW_AT_LOCATION
Renders a shadow offset with the encapsulating container rectangle's
corner or edge aligned with a given point
This action requires Label, Location, TextPosition to be set
|
static int |
RENDER_TEXT_AT_LOCATION
Renders text (with optional insets, border, fill, etc) with the
encapsulating container rectangle's corner or edge aligning with a given
point
This action requires Label, Location, TextPosition to be set
|
static int |
RENDER_TEXT_IN_BLOCK
Renders text (with optional insets, border, fill, etc) with the
encapsulating container rectangle's bounding box aligned with a parent
block's bounds
This action requires Label, BlockBounds, BlockAlignment to be set
|
static int |
RIGHT
A constant used with the 'TextPosition' attribute.
|
static int |
UNDEFINED
An undefined action that will result in an error
|
DRAW, FILL, iObjIndex| 构造器和说明 |
|---|
TextRenderEvent(java.lang.Object oSource)
The constructor.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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
|
int |
getAction() |
TextAlignment |
getBlockAlignment() |
Bounds |
getBlockBounds() |
Label |
getLabel() |
Location |
getLocation() |
int |
getTextPosition() |
void |
reset()
Resets the inner state of current event.
|
void |
setAction(int iAction)
Sets the action of current event.
|
void |
setBlockAlignment(TextAlignment taBlock)
Sets the block alignment of the text.
|
void |
setBlockBounds(Bounds boBlock)
Sets the block bounds of the text.
|
void |
setLabel(Label la)
Sets the label of the text.
|
void |
setLocation(Location lo)
Sets the location of the text.
|
void |
setRtlCaption()
Adds the "RLE" and "PDF" unicode control characters to label caption where "RLE" is added to the beginning and "PDF" to the end
to apply right to left reading order
|
void |
setTextPosition(int iTextPosition)
Sets the position of the text.
|
void |
updateFrom(LabelBlock lb,
double dScale,
RunTimeContext rtc)
Updates the event by given LabelBlock object.
|
compareRegular, compareTo, compareTransposed, getBackground, getBounds, getDepth, getLineAttributes, isEnabled, setDepth, setEnablesetSourceObjectpublic static final int UNDEFINED
public static final int RENDER_SHADOW_AT_LOCATION
public static final int RENDER_TEXT_AT_LOCATION
public static final int RENDER_TEXT_IN_BLOCK
public static final int LEFT
public static final int RIGHT
public static final int ABOVE
public static final int BELOW
public final void setBlockBounds(Bounds boBlock)
public final void setRtlCaption()
public final Bounds getBlockBounds()
public final void setLabel(Label la)
public final Label getLabel()
getLabel 在类中 PrimitiveRenderEventpublic final void setBlockAlignment(TextAlignment taBlock)
public final TextAlignment getBlockAlignment()
public final void setAction(int iAction)
public final int getAction()
public final void setLocation(Location lo)
public final Location getLocation()
public final void setTextPosition(int iTextPosition)
public final int getTextPosition()
public final void updateFrom(LabelBlock lb, double dScale, RunTimeContext rtc)
public PrimitiveRenderEvent copy()
copy 在类中 PrimitiveRenderEventpublic void fill(IDeviceRenderer idr) throws ChartException
PrimitiveRenderEventfill 在类中 PrimitiveRenderEventChartExceptionpublic final void draw(IDeviceRenderer idr) throws ChartException
PrimitiveRenderEventdraw 在类中 PrimitiveRenderEventChartExceptionpublic void reset()
ChartEventreset 在类中 ChartEventCopyright © 2005-2008 Actuate Corp. All rights reserved.