Class SortElementHtmlHandler

    • Field Detail

      • HTML_VERTICAL_ALIGN_TOP

        protected static final java.lang.String HTML_VERTICAL_ALIGN_TOP
        See Also:
        Constant Field Values
      • CSS_TEXT_ALIGN_LEFT

        protected static final java.lang.String CSS_TEXT_ALIGN_LEFT
        See Also:
        Constant Field Values
      • FILTER_SYMBOL_ACTIVE

        protected static final java.lang.String FILTER_SYMBOL_ACTIVE
        See Also:
        Constant Field Values
      • FILTER_SYMBOL_INACTIVE

        protected static final java.lang.String FILTER_SYMBOL_INACTIVE
        See Also:
        Constant Field Values
    • Constructor Detail

      • SortElementHtmlHandler

        public SortElementHtmlHandler()
    • Method Detail

      • getHtmlFragment

        public java.lang.String getHtmlFragment​(JRHtmlExporterContext context,
                                                JRGenericPrintElement element)
        Description copied from interface: GenericElementHtmlHandler
        Returns 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: GenericElementHandler
        Decides 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,
                                           java.util.List<FieldFilter> fieldFilters,
                                           java.lang.String fieldName)