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)

Field Summary
static byte RUN_DIRECTION_LTR
           
static byte RUN_DIRECTION_RTL
           
 
Fields inherited from interface net.sf.jasperreports.engine.JRAlignment
HORIZONTAL_ALIGN_CENTER, HORIZONTAL_ALIGN_JUSTIFIED, HORIZONTAL_ALIGN_LEFT, HORIZONTAL_ALIGN_RIGHT, VERTICAL_ALIGN_BOTTOM, VERTICAL_ALIGN_JUSTIFIED, VERTICAL_ALIGN_MIDDLE, VERTICAL_ALIGN_TOP
 
Method Summary
 JRBox getBox()
           
 JRFont getFont()
           
 float getLeadingOffset()
           
 byte getLineSpacing()
           
 float getLineSpacingFactor()
           
 byte getRotation()
           
 byte getRunDirection()
           
 java.lang.String getText()
           
 byte getTextAlignment()
          Deprecated. Replaced by JRAlignment.getHorizontalAlignment().
 float getTextHeight()
           
 byte getVerticalAlignment()
          Gets the text vertical alignment.
 boolean isStyledText()
           
 void setBox(JRBox box)
           
 void setFont(JRFont font)
           
 void setLeadingOffset(float leadingOffset)
           
 void setLineSpacing(byte lineSpacing)
           
 void setLineSpacingFactor(float lineSpacingFactor)
           
 void setRotation(byte rotation)
           
 void setRunDirection(byte rotation)
           
 void setStyledText(boolean isStyledText)
           
 void setText(java.lang.String text)
           
 void setTextAlignment(byte horizontalAlignment)
          Deprecated. Replaced by JRAlignment.setHorizontalAlignment(byte).
 void setTextHeight(float textHeight)
           
 void setVerticalAlignment(byte verticalAlignment)
          Gets the text vertical alignment.
 
Methods inherited from interface net.sf.jasperreports.engine.JRPrintElement
getBackcolor, getForecolor, getHeight, getMode, getWidth, getX, getY, setBackcolor, setForecolor, setHeight, setMode, setWidth, setX, setY
 
Methods inherited from interface net.sf.jasperreports.engine.JRAlignment
getHorizontalAlignment, setHorizontalAlignment
 
Methods inherited from interface net.sf.jasperreports.engine.JRPrintAnchor
getAnchorName, getBookmarkLevel, setAnchorName, setBookmarkLevel
 
Methods inherited from interface net.sf.jasperreports.engine.JRPrintHyperlink
getHyperlinkAnchor, getHyperlinkPage, getHyperlinkReference, getHyperlinkTarget, getHyperlinkType, setHyperlinkAnchor, setHyperlinkPage, setHyperlinkReference, setHyperlinkTarget, setHyperlinkType
 

Field Detail

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
Method Detail

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