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

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

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