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.String
ATTRIBUTE_COLUMN_INDEX
static java.lang.String
ATTRIBUTE_CROSSTAB_ID
static java.lang.String
ELEMENT_PARAMETER_CROSSTAB_FRAGMENT_ID
static java.lang.String
ELEMENT_PARAMETER_CROSSTAB_ID
static java.lang.String
ELEMENT_PARAMETER_DATA_COLUMNS
static java.lang.String
ELEMENT_PARAMETER_FLOATING_HEADERS
static java.lang.String
ELEMENT_PARAMETER_ROW_GROUPS
static java.lang.String
ELEMENT_PARAMETER_START_COLUMN_INDEX
static java.lang.String
PROPERTY_COLUMN_INDEX
static java.lang.String
PROPERTY_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.String
getJsonFragment(JsonExporterContext exporterContext, JRGenericPrintElement element)
Returns an JSON fragment that is to be inserted in the export output.boolean
toExport(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:GenericElementHandler
Decides whether a generic print element is to be exported.- Specified by:
toExport
in 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:GenericElementJsonHandler
Returns an JSON fragment that is to be inserted in the export output.- Specified by:
getJsonFragment
in interfaceGenericElementJsonHandler
element
- the generic print element- Returns:
- the JSON fragment that represents the exported element
-
-