Class CrosstabInteractiveJsonHandler
- java.lang.Object
-
- net.sf.jasperreports.crosstabs.interactive.CrosstabInteractiveJsonHandler
-
- All Implemented Interfaces:
GenericElementHandler,GenericElementJsonHandler
public class CrosstabInteractiveJsonHandler extends java.lang.Object implements GenericElementJsonHandler
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringATTRIBUTE_COLUMN_INDEXstatic java.lang.StringATTRIBUTE_CROSSTAB_IDstatic java.lang.StringELEMENT_PARAMETER_CROSSTAB_FRAGMENT_IDstatic java.lang.StringELEMENT_PARAMETER_CROSSTAB_IDstatic java.lang.StringELEMENT_PARAMETER_DATA_COLUMNSstatic java.lang.StringELEMENT_PARAMETER_FLOATING_HEADERSstatic java.lang.StringELEMENT_PARAMETER_ROW_GROUPSstatic java.lang.StringELEMENT_PARAMETER_START_COLUMN_INDEXstatic java.lang.StringPROPERTY_COLUMN_INDEXstatic java.lang.StringPROPERTY_CROSSTAB_ID-
Fields inherited from interface net.sf.jasperreports.engine.export.GenericElementJsonHandler
PARAMETER_CLEAR_CONTEXT_CACHE
-
-
Constructor Summary
Constructors Constructor Description CrosstabInteractiveJsonHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetJsonFragment(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 Detail
-
PROPERTY_CROSSTAB_ID
public static final java.lang.String PROPERTY_CROSSTAB_ID
- See Also:
- Constant Field Values
-
ATTRIBUTE_CROSSTAB_ID
public static final java.lang.String ATTRIBUTE_CROSSTAB_ID
- See Also:
- Constant Field Values
-
PROPERTY_COLUMN_INDEX
public static final java.lang.String PROPERTY_COLUMN_INDEX
- See Also:
- Constant Field Values
-
ATTRIBUTE_COLUMN_INDEX
public static final java.lang.String ATTRIBUTE_COLUMN_INDEX
- See Also:
- Constant Field Values
-
ELEMENT_PARAMETER_CROSSTAB_ID
public static final java.lang.String ELEMENT_PARAMETER_CROSSTAB_ID
- See Also:
- Constant Field Values
-
ELEMENT_PARAMETER_CROSSTAB_FRAGMENT_ID
public static final java.lang.String ELEMENT_PARAMETER_CROSSTAB_FRAGMENT_ID
- See Also:
- Constant Field Values
-
ELEMENT_PARAMETER_START_COLUMN_INDEX
public static final java.lang.String ELEMENT_PARAMETER_START_COLUMN_INDEX
- See Also:
- Constant Field Values
-
ELEMENT_PARAMETER_ROW_GROUPS
public static final java.lang.String ELEMENT_PARAMETER_ROW_GROUPS
- See Also:
- Constant Field Values
-
ELEMENT_PARAMETER_DATA_COLUMNS
public static final java.lang.String ELEMENT_PARAMETER_DATA_COLUMNS
- See Also:
- Constant Field Values
-
ELEMENT_PARAMETER_FLOATING_HEADERS
public static final java.lang.String ELEMENT_PARAMETER_FLOATING_HEADERS
- See Also:
- Constant Field Values
-
-
Method Detail
-
toExport
public boolean toExport(JRGenericPrintElement element)
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
public java.lang.String getJsonFragment(JsonExporterContext exporterContext, JRGenericPrintElement element)
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
-
-