Class SortElementHtmlHandler
- java.lang.Object
-
- net.sf.jasperreports.components.BaseElementHtmlHandler
-
- net.sf.jasperreports.components.sort.SortElementHtmlHandler
-
- All Implemented Interfaces:
GenericElementHandler,GenericElementHtmlHandler
public class SortElementHtmlHandler extends BaseElementHtmlHandler
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringCSS_TEXT_ALIGN_LEFTprotected static StringFILTER_SYMBOL_ACTIVEprotected static StringFILTER_SYMBOL_INACTIVEprotected static StringHTML_VERTICAL_ALIGN_TOP
-
Constructor Summary
Constructors Constructor Description SortElementHtmlHandler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidgetFieldFilters(DatasetFilter existingFilter, List<FieldFilter> fieldFilters, String fieldName)StringgetHtmlFragment(JRHtmlExporterContext context, JRGenericPrintElement element)Returns an HTML fragment that is to be inserted in the export output.booleantoExport(JRGenericPrintElement element)Decides whether a generic print element is to be exported.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sf.jasperreports.engine.export.GenericElementHtmlHandler
exportElement
-
-
-
-
Field Detail
-
HTML_VERTICAL_ALIGN_TOP
protected static final String HTML_VERTICAL_ALIGN_TOP
- See Also:
- Constant Field Values
-
CSS_TEXT_ALIGN_LEFT
protected static final String CSS_TEXT_ALIGN_LEFT
- See Also:
- Constant Field Values
-
FILTER_SYMBOL_ACTIVE
protected static final String FILTER_SYMBOL_ACTIVE
- See Also:
- Constant Field Values
-
FILTER_SYMBOL_INACTIVE
protected static final String FILTER_SYMBOL_INACTIVE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getHtmlFragment
public String getHtmlFragment(JRHtmlExporterContext context, JRGenericPrintElement element)
Description copied from interface:GenericElementHtmlHandlerReturns an HTML fragment that is to be inserted in the export output.element- the generic print element- Returns:
- the HTML fragment that represents the exported element
-
toExport
public boolean toExport(JRGenericPrintElement element)
Description copied from interface:GenericElementHandlerDecides whether a generic print element is to be exported.- Parameters:
element- the element- Returns:
- whether the element is to be exported or skipped
-
getFieldFilters
public static void getFieldFilters(DatasetFilter existingFilter, List<FieldFilter> fieldFilters, String fieldName)
-
-