Class BaseMultiAxisData
- java.lang.Object
-
- net.sf.jasperreports.engine.analytics.dataset.BaseMultiAxisData
-
- All Implemented Interfaces:
Serializable
,Cloneable
,MultiAxisData
,JRCloneable
- Direct Known Subclasses:
DesignMultiAxisData
public class BaseMultiAxisData extends Object implements MultiAxisData, Serializable
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected MultiAxisDataset
dataset
static String
EXCEPTION_MESSAGE_KEY_DATA_AXIS_LEVEL_NOT_SPECIFIED
static String
EXCEPTION_MESSAGE_KEY_DUPLICATE_AXIS
protected List<DataMeasure>
measures
-
Constructor Summary
Constructors Constructor Description BaseMultiAxisData()
BaseMultiAxisData(MultiAxisData data, JRBaseObjectFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addDataAxis(DataAxis axis)
Object
clone()
DataAxis
getDataAxis(Axis axis)
List<DataAxis>
getDataAxisList()
MultiAxisDataset
getDataset()
List<DataMeasure>
getMeasures()
protected int
removeDataAxis(Axis axis)
-
-
-
Field Detail
-
EXCEPTION_MESSAGE_KEY_DATA_AXIS_LEVEL_NOT_SPECIFIED
public static final String EXCEPTION_MESSAGE_KEY_DATA_AXIS_LEVEL_NOT_SPECIFIED
- See Also:
- Constant Field Values
-
EXCEPTION_MESSAGE_KEY_DUPLICATE_AXIS
public static final String EXCEPTION_MESSAGE_KEY_DUPLICATE_AXIS
- See Also:
- Constant Field Values
-
dataset
protected MultiAxisDataset dataset
-
measures
protected List<DataMeasure> measures
-
-
Constructor Detail
-
BaseMultiAxisData
public BaseMultiAxisData()
-
BaseMultiAxisData
public BaseMultiAxisData(MultiAxisData data, JRBaseObjectFactory factory)
-
-
Method Detail
-
addDataAxis
protected void addDataAxis(DataAxis axis)
-
removeDataAxis
protected int removeDataAxis(Axis axis)
-
getDataset
public MultiAxisDataset getDataset()
- Specified by:
getDataset
in interfaceMultiAxisData
-
getDataAxisList
public List<DataAxis> getDataAxisList()
- Specified by:
getDataAxisList
in interfaceMultiAxisData
-
getDataAxis
public DataAxis getDataAxis(Axis axis)
- Specified by:
getDataAxis
in interfaceMultiAxisData
-
getMeasures
public List<DataMeasure> getMeasures()
- Specified by:
getMeasures
in interfaceMultiAxisData
-
clone
public Object clone()
- Specified by:
clone
in interfaceJRCloneable
- Overrides:
clone
in classObject
-
-