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)

Method Summary
 int getFontSize()
           
 int getHeight()
           
 byte getLineSpacing()
          Gets the line spacing.
 java.lang.Byte getOwnLineSpacing()
           
 java.lang.Byte getOwnRotation()
           
 byte getRotation()
          Gets the text rotation.
 int getWidth()
           
 java.lang.Boolean isOwnStyledText()
           
 boolean isStyledText()
          Returns true if the text can contain style tags.
 
Methods inherited from interface net.sf.jasperreports.engine.JRCommonElement
getBackcolor, getForecolor, getKey, getMode, getOwnBackcolor, getOwnForecolor, getOwnMode
 
Methods inherited from interface net.sf.jasperreports.engine.JRStyleContainer
getDefaultStyleProvider, getStyle, getStyleNameReference
 
Methods inherited from interface net.sf.jasperreports.engine.JRBoxContainer
getDefaultLineColor, getLineBox
 
Methods inherited from interface net.sf.jasperreports.engine.JRStyleContainer
getDefaultStyleProvider, getStyle, getStyleNameReference
 

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()
Returns true if the text can contain style tags.


isOwnStyledText

java.lang.Boolean isOwnStyledText()

getFontSize

int getFontSize()


© 2001-2006 JasperSoft Corporation www.jaspersoft.com