Class CustomizerUtil
- java.lang.Object
-
- net.sf.jasperreports.customizers.util.CustomizerUtil
-
public final class CustomizerUtil extends Object
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description static String
PROPERTY_ALL_ITEMS
static String
PROPERTY_ITEM_INDEX
static String
PROPERTY_ITEM_SERIES
-
Constructor Summary
Constructors Constructor Description CustomizerUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Integer
resolveIndex(JRAbstractChartCustomizer customizer, ItemsCounter itemsCounter, SeriesNameProvider seriesNameProvider)
Resolve the index of the plot item looking at the properties.static Integer
seriesNameToIndex(ItemsCounter itemsCounter, SeriesNameProvider seriesNameProvider, String seriesName)
Convert a series name to an item index
-
-
-
Field Detail
-
PROPERTY_ALL_ITEMS
public static final String PROPERTY_ALL_ITEMS
- See Also:
- Constant Field Values
-
PROPERTY_ITEM_INDEX
public static final String PROPERTY_ITEM_INDEX
- See Also:
- Constant Field Values
-
PROPERTY_ITEM_SERIES
public static final String PROPERTY_ITEM_SERIES
- See Also:
- Constant Field Values
-
-
Method Detail
-
resolveIndex
public static Integer resolveIndex(JRAbstractChartCustomizer customizer, ItemsCounter itemsCounter, SeriesNameProvider seriesNameProvider)
Resolve the index of the plot item looking at the properties. If no item index or series name is specified then all items are considered by returning null.
-
seriesNameToIndex
public static Integer seriesNameToIndex(ItemsCounter itemsCounter, SeriesNameProvider seriesNameProvider, String seriesName)
Convert a series name to an item index
-
-