net.sf.jasperreports.engine
Interface JRTextElement

All Superinterfaces:
java.lang.Cloneable, JRAlignment, JRBox, JRBoxContainer, JRChild, JRCloneable, JRCommonElement, JRCommonText, JRElement, JRFont, JRPropertiesHolder, JRStyleContainer, JRVisitable
All Known Subinterfaces:
JRStaticText, JRTextField
All Known Implementing Classes:
JRBaseStaticText, JRBaseTextElement, JRBaseTextField, JRDesignStaticText, JRDesignTextElement, JRDesignTextField, JRFillStaticText, JRFillTextElement, JRFillTextField

public interface JRTextElement
extends JRElement, JRAlignment, JRBox, JRFont, JRCommonText

An abstract representation of a report text element. It provides basic functionality for static texts and text fields.

Version:
$Id: JRTextElement.java 3585 2010-03-12 12:58:24Z shertage $
Author:
Teodor Danciu (teodord@users.sourceforge.net)

Field Summary
static byte LINE_SPACING_1_1_2
          Deprecated. Replaced by LineSpacingEnum.ONE_AND_HALF.
static byte LINE_SPACING_DOUBLE
          Deprecated. Replaced by LineSpacingEnum.DOUBLE.
static byte LINE_SPACING_SINGLE
          Deprecated. Replaced by LineSpacingEnum.SINGLE.
static java.lang.String PROPERTY_PRINT_KEEP_FULL_TEXT
          Property used to determine whether the fill process must preserve the original text for text elements that are not able to fit their entire contents.
static java.lang.String PROPERTY_SAVE_LINE_BREAKS
          Boolean property that determines whether the positions where text line break occurs are to be saved during report fill in oder to be used at export time.
static java.lang.String PROPERTY_TRUNCATE_AT_CHAR
          Boolean property that determines whether text elements are to be truncated at the last character that fits.
static java.lang.String PROPERTY_TRUNCATE_SUFFIX
          Property whose value is used as a suffix for the truncated text.
static byte ROTATION_LEFT
          Deprecated. Replaced by RotationEnum.LEFT.
static byte ROTATION_NONE
          Deprecated. Replaced by RotationEnum.NONE.
static byte ROTATION_RIGHT
          Deprecated. Replaced by RotationEnum.RIGHT.
static byte ROTATION_UPSIDE_DOWN
          Deprecated. Replaced by RotationEnum.UPSIDE_DOWN.
static byte TEXT_ALIGN_CENTER
          Deprecated. Replaced by JRAlignment.HORIZONTAL_ALIGN_CENTER.
static byte TEXT_ALIGN_JUSTIFIED
          Deprecated. Replaced by JRAlignment.HORIZONTAL_ALIGN_JUSTIFIED.
static byte TEXT_ALIGN_LEFT
          Deprecated. Replaced by JRAlignment.HORIZONTAL_ALIGN_LEFT.
static byte TEXT_ALIGN_RIGHT
          Deprecated. Replaced by JRAlignment.HORIZONTAL_ALIGN_RIGHT.
 
Fields inherited from interface net.sf.jasperreports.engine.JRElement
MODE_OPAQUE, MODE_TRANSPARENT, POSITION_TYPE_FIX_RELATIVE_TO_BOTTOM, POSITION_TYPE_FIX_RELATIVE_TO_TOP, POSITION_TYPE_FLOAT, STRETCH_TYPE_NO_STRETCH, STRETCH_TYPE_RELATIVE_TO_BAND_HEIGHT, STRETCH_TYPE_RELATIVE_TO_TALLEST_OBJECT
 
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
 
Fields inherited from interface net.sf.jasperreports.engine.JRFont
DEFAULT_FONT_NAME, DEFAULT_FONT_SIZE, DEFAULT_PDF_EMBEDDED, DEFAULT_PDF_ENCODING, DEFAULT_PDF_FONT_NAME
 
Fields inherited from interface net.sf.jasperreports.engine.JRCommonText
MARKUP_HTML, MARKUP_NONE, MARKUP_RTF, MARKUP_STYLED_TEXT
 
Method Summary
 JRBox getBox()
          Deprecated. Replaced by JRBoxContainer.getLineBox()
 JRFont getFont()
          Deprecated.  
 byte getTextAlignment()
          Deprecated. Replaced by JRAlignment.getHorizontalAlignment().
 void setStyledText(boolean isStyledText)
          Deprecated. Replaced by JRCommonText.setMarkup(String).
 void setStyledText(java.lang.Boolean isStyledText)
          Deprecated. Replaced by JRCommonText.setMarkup(String).
 void setTextAlignment(byte horizontalAlignment)
          Deprecated. Replaced by JRAlignment.setHorizontalAlignment(byte).
 
Methods inherited from interface net.sf.jasperreports.engine.JRElement
collectExpressions, getElementGroup, getKey, getPositionType, getPositionTypeValue, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertyExpressions, getStretchType, getStretchTypeValue, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setPositionType, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setStretchType, setWidth, setX
 
Methods inherited from interface net.sf.jasperreports.engine.JRChild
clone
 
Methods inherited from interface net.sf.jasperreports.engine.JRVisitable
visit
 
Methods inherited from interface net.sf.jasperreports.engine.JRCloneable
clone
 
Methods inherited from interface net.sf.jasperreports.engine.JRPropertiesHolder
getParentProperties, getPropertiesMap, hasProperties
 
Methods inherited from interface net.sf.jasperreports.engine.JRAlignment
getHorizontalAlignment, getHorizontalAlignmentValue, getOwnHorizontalAlignment, getOwnHorizontalAlignmentValue, getOwnVerticalAlignment,