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
public static final byte RUN_DIRECTION_LTR
- See Also:
- Constant Field Values
RUN_DIRECTION_RTL
public static final byte RUN_DIRECTION_RTL
- See Also:
- Constant Field Values
getText
public java.lang.String getText()
setText
public void setText(java.lang.String text)
getLineSpacingFactor
public float getLineSpacingFactor()
setLineSpacingFactor
public void setLineSpacingFactor(float lineSpacingFactor)
getLeadingOffset
public float getLeadingOffset()
setLeadingOffset
public void setLeadingOffset(float leadingOffset)
getTextAlignment
public byte getTextAlignment()
- Deprecated. Replaced by
JRAlignment.getHorizontalAlignment()
.
setTextAlignment
public void setTextAlignment(byte horizontalAlignment)
- Deprecated. Replaced by
JRAlignment.setHorizontalAlignment(byte)
.
getVerticalAlignment
public 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
public 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
public byte getRotation()
setRotation
public void setRotation(byte rotation)
getRunDirection
public byte getRunDirection()
setRunDirection
public void setRunDirection(byte rotation)
getTextHeight
public float getTextHeight()
setTextHeight
public void setTextHeight(float textHeight)
getLineSpacing
public byte getLineSpacing()
setLineSpacing
public void setLineSpacing(byte lineSpacing)
isStyledText
public boolean isStyledText()
setStyledText
public void setStyledText(boolean isStyledText)
getBox
public JRBox getBox()
setBox
public void setBox(JRBox box)
getFont
public JRFont getFont()
setFont
public void setFont(JRFont font)
© 2001-2005 JasperSoft Corporation www.jaspersoft.com