net.sf.jasperreports.engine
Interface JRCommonText

All Superinterfaces:
JRBoxContainer, JRCommonElement, JRIdentifiable, JRParagraphContainer, JRStyleContainer
All Known Subinterfaces:
JRPrintText, JRStaticText, JRTextElement, JRTextField
All Known Implementing Classes:
JRBasePrintText, JRBaseStaticText, JRBaseTextElement, JRBaseTextField, JRDesignStaticText, JRDesignTextElement, JRDesignTextField, JRFillStaticText, JRFillTextElement, JRFillTextField, JRRecordedValuesPrintText, JRTemplatePrintText, JRTemplateText

public interface JRCommonText
extends JRCommonElement, JRBoxContainer, JRParagraphContainer

Common interface of design and print text elements.

Version:
$Id: JRCommonText.java 4595 2011-09-08 15:55:10Z teodord $
Author:
Lucian Chirita (lucianc@users.sourceforge.net)

Field Summary
static java.lang.String MARKUP_HTML
           
static java.lang.String MARKUP_NONE
           
static java.lang.String MARKUP_RTF
           
static java.lang.String MARKUP_STYLED_TEXT
           
 
Method Summary
 int getFontSize()
           
 LineSpacingEnum getLineSpacingValue()
          Deprecated. Replaced by JRParagraph.getLineSpacing().
 java.lang.String getMarkup()
          Returns the text markup.
 LineSpacingEnum getOwnLineSpacingValue()
          Deprecated. Replaced by JRParagraph.getOwnLineSpacing().
 java.lang.String getOwnMarkup()
           
 RotationEnum getOwnRotationValue()
          Gets the text own rotation.
 RotationEnum getRotationValue()
          Gets the text rotation.
 void setLineSpacing(LineSpacingEnum lineSpacingEnum)
          Deprecated. Replaced by JRParagraph.setLineSpacing(LineSpacingEnum).
 void setMarkup(java.lang.String markup)
           
 void setRotation(RotationEnum rotationEnum)
          Sets the text rotation.
 
Methods inherited from interface net.sf.jasperreports.engine.JRCommonElement
getBackcolor, getForecolor, getHeight, getKey, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnModeValue, getWidth, setBackcolor, setForecolor, setMode
 
Methods inherited from interface net.sf.jasperreports.engine.JRIdentifiable
getUUID
 
Methods inherited from interface net.sf.jasperreports.engine.JRBoxContainer
getDefaultLineColor, getLineBox
 
Methods inherited from interface net.sf.jasperreports.engine.JRParagraphContainer
getParagraph
 
Methods inherited from interface net.sf.jasperreports.engine.JRStyleContainer
getDefaultStyleProvider, getStyle, getStyleNameReference
 

Field Detail

MARKUP_NONE

static final java.lang.String MARKUP_NONE
See Also:
Constant Field Values

MARKUP_STYLED_TEXT

static final java.lang.String MARKUP_STYLED_TEXT
See Also:
Constant Field Values

MARKUP_HTML

static final java.lang.String MARKUP_HTML
See Also:
Constant Field Values

MARKUP_RTF

static final java.lang.String MARKUP_RTF
See Also:
Constant Field Values
Method Detail

getRotationValue

RotationEnum getRotationValue()
Gets the text rotation.

Returns:
a value representing one of the text rotation constants in RotationEnum

getOwnRotationValue

RotationEnum getOwnRotationValue()
Gets the text own rotation.

Returns:
a value representing one of the text rotation constants in RotationEnum

setRotation

void setRotation(RotationEnum rotationEnum)
Sets the text rotation.

Parameters:
rotationEnum - a value representing one of the text rotation constants in RotationEnum

getLineSpacingValue

LineSpacingEnum getLineSpacingValue()
Deprecated. Replaced by JRParagraph.getLineSpacing().


getOwnLineSpacingValue

LineSpacingEnum getOwnLineSpacingValue()
Deprecated. Replaced by JRParagraph.getOwnLineSpacing().


setLineSpacing

void setLineSpacing(LineSpacingEnum lineSpacingEnum)
Deprecated. Replaced by JRParagraph.setLineSpacing(LineSpacingEnum).


getMarkup

java.lang.String getMarkup()
Returns the text markup.


getOwnMarkup

java.lang.String getOwnMarkup()

setMarkup

void setMarkup(java.lang.String markup)

getFontSize

int getFontSize()


© 2001-2010 Jaspersoft Corporation www.jaspersoft.com