| |
|
| net.sf.jasperreports.engine.JRTextElement
All known Subclasses: net.sf.jasperreports.engine.fill.JRFillTextElement, net.sf.jasperreports.engine.design.JRDesignTextElement, net.sf.jasperreports.engine.base.JRBaseTextElement,
JRTextElement | public interface JRTextElement extends JRElement,JRAlignment,JRBox,JRFont(Code) | | An abstract representation of a report text element. It provides basic functionality for static texts and text fields.
author: Teodor Danciu (teodord@users.sourceforge.net) version: $Id: JRTextElement.java 1444 2006-10-24 14:04:48Z ionut $ |
LINE_SPACING_1_1_2 | final public static byte LINE_SPACING_1_1_2(Code) | | Constant for setting spacing between lines to 50% more than normal.
|
LINE_SPACING_DOUBLE | final public static byte LINE_SPACING_DOUBLE(Code) | | Constant for setting spacing between lines to double size.
|
LINE_SPACING_SINGLE | final public static byte LINE_SPACING_SINGLE(Code) | | Constant for setting normal spacing between lines.
|
ROTATION_LEFT | final public static byte ROTATION_LEFT(Code) | | Constant useful for rotating the text 90 degrees counter clockwise.
|
ROTATION_NONE | final public static byte ROTATION_NONE(Code) | | Constant useful for displaying the text without rotating it
|
ROTATION_RIGHT | final public static byte ROTATION_RIGHT(Code) | | Constant useful for rotating the text 90 degrees clockwise.
|
ROTATION_UPSIDE_DOWN | final public static byte ROTATION_UPSIDE_DOWN(Code) | | Constant useful for rotating the text 180 degrees.
|
getBox | public JRBox getBox()(Code) | | Returns an object containing all border and padding properties for this text element
|
getFont | public JRFont getFont()(Code) | | Returns an object containing all font properties for this text element
|
getLineSpacing | public byte getLineSpacing()(Code) | | Gets the line spacing.
a value representing one of the line spacing constants in this class |
getOwnLineSpacing | public Byte getOwnLineSpacing()(Code) | | |
getRotation | public byte getRotation()(Code) | | Gets the text rotation.
a value representing one of the rotation constants in this class |
isStyledText | public boolean isStyledText()(Code) | | Returns true if the text can contain style tags.
|
setLineSpacing | public void setLineSpacing(byte lineSpacing)(Code) | | Sets the line spacing.
Parameters: lineSpacing - a value representing one of the line spacing constants in this class |
setLineSpacing | public void setLineSpacing(Byte lineSpacing)(Code) | | |
setRotation | public void setRotation(byte rotation)(Code) | | Sets the text rotation.
Parameters: rotation - a value representing one of the rotation constants in this class |
setRotation | public void setRotation(Byte rotation)(Code) | | |
setStyledText | public void setStyledText(boolean isStyledText)(Code) | | Specifies whether the text can contain style tags.
|
setStyledText | public void setStyledText(Boolean isStyledText)(Code) | | |
|
|
|