net.sf.jasperreports.engine
Interface JRPrintText
- All Superinterfaces:
- JRAlignment, JRPrintAnchor, JRPrintElement, JRPrintHyperlink
- All Known Implementing Classes:
- JRBasePrintText, JRTemplatePrintText
public interface JRPrintText
- extends JRPrintElement, JRAlignment, JRPrintAnchor, JRPrintHyperlink
- Version:
- $Id: JRPrintText.java,v 1.13 2005/07/15 13:06:54 teodord Exp $
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
| Methods inherited from interface net.sf.jasperreports.engine.JRPrintElement |
getBackcolor, getForecolor, getHeight, getMode, getWidth, getX, getY, setBackcolor, setForecolor, setHeight, setMode, setWidth, setX, setY |
RUN_DIRECTION_LTR
static final byte RUN_DIRECTION_LTR
- See Also:
- Constant Field Values
RUN_DIRECTION_RTL
static final byte RUN_DIRECTION_RTL
- See Also:
- Constant Field Values
getText
java.lang.String getText()
setText
void setText(java.lang.String text)
getLineSpacingFactor
float getLineSpacingFactor()
setLineSpacingFactor
void setLineSpacingFactor(float lineSpacingFactor)
getLeadingOffset
float getLeadingOffset()
setLeadingOffset
void setLeadingOffset(float leadingOffset)
getTextAlignment
byte getTextAlignment()
- Deprecated. Replaced by
JRAlignment.getHorizontalAlignment().
setTextAlignment
void setTextAlignment(byte horizontalAlignment)
- Deprecated. Replaced by
JRAlignment.setHorizontalAlignment(byte).
getVerticalAlignment
byte getVerticalAlignment()
- Description copied from interface:
JRAlignment
- Gets the text vertical alignment.
- Specified by:
getVerticalAlignment in interface JRAlignment
- Returns:
- a value representing one of the vertical alignment constants in
JRAlignment
setVerticalAlignment
void setVerticalAlignment(byte verticalAlignment)
- Description copied from interface:
JRAlignment
- Gets the text vertical alignment.
- Specified by:
setVerticalAlignment in interface JRAlignment
- Parameters:
verticalAlignment - a value representing one of the vertical alignment constants in JRAlignment
getRotation
byte getRotation()
setRotation
void setRotation(byte rotation)
getRunDirection
byte getRunDirection()
setRunDirection
void setRunDirection(byte rotation)
getTextHeight
float getTextHeight()
setTextHeight
void setTextHeight(float textHeight)
getLineSpacing
byte getLineSpacing()
setLineSpacing
void setLineSpacing(byte lineSpacing)
isStyledText
boolean isStyledText()
setStyledText
void setStyledText(boolean isStyledText)
getBox
JRBox getBox()
setBox
void setBox(JRBox box)
getFont
JRFont getFont()
setFont
void setFont(JRFont font)
© 2001-2005 JasperSoft Corporation www.jaspersoft.com