net.sf.jasperreports.engine
Interface JRCommonText

All Superinterfaces:
JRBoxContainer, JRCommonElement, 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

Common interface of design and print text elements.

Version:
$Id: JRTemplateReference.java 1759 2007-06-20 16:47:34Z lucianc $
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()
           
 int getHeight()
           
 byte getLineSpacing()
          Gets the line spacing.
 java.lang.String getMarkup()
          Returns the text markup.
 java.lang.Byte getOwnLineSpacing()
           
 java.lang.String getOwnMarkup()
           
 java.lang.Byte getOwnRotation()
           
 byte getRotation()
          Gets the text rotation.
 int getWidth()
           
 java.lang.Boolean isOwnStyledText()
          Deprecated. Replaced by getOwnMarkup()
 boolean isStyledText()
          Deprecated. Replaced by getMarkup()
 
Methods inherited from interface net.sf.jasperreports.engine.JRCommonElement
getBackcolor, getForecolor, getKey, getMode, getOwnBackcolor, getOwnForecolor, getOwnMode
 
Methods inherited from interface net.sf.jasperreports.engine.JRBoxContainer
getDefaultLineColor, getLineBox
 
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

getWidth

int getWidth()

getHeight

int getHeight()

getRotation

byte getRotation()
Gets the text rotation.

Returns:
a value representing one of the rotation constants in this class

getOwnRotation

java.lang.Byte getOwnRotation()

getLineSpacing

byte getLineSpacing()
Gets the line spacing.

Returns:
a value representing one of the line spacing constants in this class

getOwnLineSpacing

java.lang.Byte getOwnLineSpacing()

isStyledText

boolean isStyledText()
Deprecated. Replaced by getMarkup()

Returns true if the text can contain style tags.


isOwnStyledText

java.lang.Boolean isOwnStyledText()
Deprecated. Replaced by getOwnMarkup()


getMarkup

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


getOwnMarkup

java.lang.String getOwnMarkup()

getFontSize

int getFontSize()


© 2001-2006 JasperSoft Corporation www.jaspersoft.com