Class CrosstabInteractiveJsonHandler
java.lang.Object
net.sf.jasperreports.crosstabs.interactive.CrosstabInteractiveJsonHandler
- All Implemented Interfaces:
GenericElementHandler,GenericElementJsonHandler
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from interface net.sf.jasperreports.engine.export.GenericElementJsonHandler
PARAMETER_CLEAR_CONTEXT_CACHE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetJsonFragment(JsonExporterContext exporterContext, JRGenericPrintElement element) Returns an JSON fragment that is to be inserted in the export output.booleantoExport(JRGenericPrintElement element) Decides whether a generic print element is to be exported.
-
Field Details
-
PROPERTY_CROSSTAB_ID
- See Also:
-
ATTRIBUTE_CROSSTAB_ID
- See Also:
-
PROPERTY_COLUMN_INDEX
- See Also:
-
ATTRIBUTE_COLUMN_INDEX
- See Also:
-
ELEMENT_PARAMETER_CROSSTAB_ID
- See Also:
-
ELEMENT_PARAMETER_CROSSTAB_FRAGMENT_ID
- See Also:
-
ELEMENT_PARAMETER_START_COLUMN_INDEX
- See Also:
-
ELEMENT_PARAMETER_ROW_GROUPS
- See Also:
-
ELEMENT_PARAMETER_DATA_COLUMNS
- See Also:
-
ELEMENT_PARAMETER_FLOATING_HEADERS
- See Also:
-
-
Constructor Details
-
CrosstabInteractiveJsonHandler
public CrosstabInteractiveJsonHandler()
-
-
Method Details
-
toExport
Description copied from interface:GenericElementHandlerDecides whether a generic print element is to be exported.- Specified by:
toExportin interfaceGenericElementHandler- Parameters:
element- the element- Returns:
- whether the element is to be exported or skipped
-
getJsonFragment
Description copied from interface:GenericElementJsonHandlerReturns an JSON fragment that is to be inserted in the export output.- Specified by:
getJsonFragmentin interfaceGenericElementJsonHandlerelement- the generic print element- Returns:
- the JSON fragment that represents the exported element
-