public abstract class JRStyledTextAttributeSelector extends Object
JRStyledTextUtil.getStyledText(JRPrintText, JRStyledTextAttributeSelector)
,
JRPrintText.getFullStyledText(JRStyledTextAttributeSelector)
Modifier and Type | Field and Description |
---|---|
protected JasperReportsContext |
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 Map<AttributedCharacterIterator.Attribute,Object> |
getStyledTextAttributes(JRPrintText printText)
Construct a map containing the selected element-level styled text attributes
for a print text element.
|
static Locale |
getTextLocale(JRPrintText printText) |
protected final JasperReportsContext jasperReportsContext
protected JRStyledTextAttributeSelector(JasperReportsContext jasperReportsContext)
public static Locale getTextLocale(JRPrintText printText)
public abstract Map<AttributedCharacterIterator.Attribute,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)
Copyright © 2017. All rights reserved.