net.sf.jasperreports.engine.util
Class JRStyledText
java.lang.Object
net.sf.jasperreports.engine.util.JRStyledText
public class JRStyledText
- extends java.lang.Object
- Version:
- $Id: JRStyledText.java 2192 2008-05-16 12:58:18Z lucianc $
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JRStyledText
public JRStyledText()
append
public void append(java.lang.String text)
addRun
public void addRun(JRStyledText.Run run)
length
public int length()
getText
public java.lang.String getText()
getAttributedString
public java.text.AttributedString getAttributedString()
getAwtAttributedString
public java.text.AttributedString getAwtAttributedString()
- Returns an attributed string that only contains standard Java text
attributes; JasperReports specific text attributes of the styled text
are ignored.
- Returns:
- an attributed string that only contains standard Java text
attributes
getRuns
public java.util.List getRuns()
setGlobalAttributes
public void setGlobalAttributes(java.util.Map attributes)
getGlobalAttributes
public java.util.Map getGlobalAttributes()
© 2001-2006 JasperSoft Corporation www.jaspersoft.com