|
|||||||||||
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.PrimitiveRenderEvent
org.eclipse.birt.chart.event.TextRenderEvent
TextRenderEvent
Field Summary | |
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 |
Fields inherited from class org.eclipse.birt.chart.event.PrimitiveRenderEvent |
DRAW, FILL, iObjIndex |
Constructor Summary | |
TextRenderEvent(java.lang.Object oSource)
|
Method Summary | |
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 |
setAction(int iAction)
|
void |
setBlockAlignment(TextAlignment taBlock)
|
void |
setBlockBounds(Bounds boBlock)
|
void |
setLabel(Label la)
|
void |
setLocation(Location lo)
|
void |
setTextPosition(int iTextPosition)
|
java.lang.String |
updateFrom(LabelBlock lb,
double dScale,
RunTimeContext rtc)
|
Methods inherited from class org.eclipse.birt.chart.event.PrimitiveRenderEvent |
compareRegular, compareTo, compareTransposed, getBounds, getDepth, reset, setDepth, 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 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
Constructor Detail |
public TextRenderEvent(java.lang.Object oSource)
oSource
- Method Detail |
public final void setBlockBounds(Bounds boBlock)
boBlock
- public final Bounds getBlockBounds()
public final void setLabel(Label la)
la
- public final Label getLabel()
public final void setBlockAlignment(TextAlignment taBlock)
taBlock
- public final TextAlignment getBlockAlignment()
public final void setAction(int iAction)
iAction
- public final int getAction()
public final void setLocation(Location lo)
lo
- public final Location getLocation()
public final void setTextPosition(int iTextPosition)
iTextPosition
- public final int getTextPosition()
public final java.lang.String updateFrom(LabelBlock lb, double dScale, RunTimeContext rtc)
public PrimitiveRenderEvent copy()
copy
in class PrimitiveRenderEvent
public void fill(IDeviceRenderer idr) throws ChartException
PrimitiveRenderEvent
fill
in class PrimitiveRenderEvent
idr
-
ChartException
public final void draw(IDeviceRenderer idr) throws ChartException
PrimitiveRenderEvent
draw
in class PrimitiveRenderEvent
idr
-
ChartException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |