public abstract class JRStyledTextAttributeSelector
extends java.lang.Object
JRStyledTextUtil.getStyledText(JRPrintText, JRStyledTextAttributeSelector)
,
JRPrintText.getFullStyledText(JRStyledTextAttributeSelector)
Modifier and Type | Field and Description |
---|---|
static JRStyledTextAttributeSelector |
ALL
Deprecated.
Replaced by
getAllSelector(JasperReportsContext) . |
protected JasperReportsContext |
jasperReportsContext |
static JRStyledTextAttributeSelector |
NO_BACKCOLOR
Deprecated.
Replaced by
getNoBackcolorSelector(JasperReportsContext) . |
static JRStyledTextAttributeSelector |
NONE
Deprecated.
Replaced by
getNoneSelector(JasperReportsContext) . |
Modifier | Constructor and Description |
---|---|
protected |
JRStyledTextAttributeSelector(JasperReportsContext jasperReportsContext) |
Modifier and Type | Method and Description |
---|---|
static JRStyledTextAttributeSelector |
getAllSelector(JasperReportsContext jasperReportsContext)
Selects all styled text attributes, i.e.
|
static JRStyledTextAttributeSelector |
getNoBackcolorSelector(JasperReportsContext jasperReportsContext)
Selects all styled text attribute except backcolor, i.e.
|
static JRStyledTextAttributeSelector |
getNoneSelector(JasperReportsContext jasperReportsContext)
Doesn't select any styled text attribute.
|
abstract java.util.Map<java.text.AttributedCharacterIterator.Attribute,java.lang.Object> |
getStyledTextAttributes(JRPrintText printText)
Construct a map containing the selected element-level styled text attributes
for a print text element.
|
static java.util.Locale |
getTextLocale(JRPrintText printText) |
protected final JasperReportsContext jasperReportsContext
public static final JRStyledTextAttributeSelector ALL
getAllSelector(JasperReportsContext)
.public static final JRStyledTextAttributeSelector NO_BACKCOLOR
getNoBackcolorSelector(JasperReportsContext)
.public static final JRStyledTextAttributeSelector NONE
getNoneSelector(JasperReportsContext)
.protected JRStyledTextAttributeSelector(JasperReportsContext jasperReportsContext)
public static java.util.Locale getTextLocale(JRPrintText printText)
public abstract java.util.Map<java.text.AttributedCharacterIterator.Attribute,java.lang.Object> getStyledTextAttributes(JRPrintText printText)
printText
- the print text objectpublic static JRStyledTextAttributeSelector getAllSelector(JasperReportsContext jasperReportsContext)
public static JRStyledTextAttributeSelector getNoBackcolorSelector(JasperReportsContext jasperReportsContext)
public static JRStyledTextAttributeSelector getNoneSelector(JasperReportsContext jasperReportsContext)
© 2001-2014 TIBCO Software Inc. www.jaspersoft.com