net.sf.jasperreports.charts.design
public class JRDesignChartAxis extends JRBaseChartAxis implements JRChangeEventsSupport
JRChartAxis
implementation to be used for report design.Modifier and Type | Field and Description |
---|---|
protected JRDesignChart |
parentChart
The multiple axis chart that this axis belongs to.
|
static java.lang.String |
PROPERTY_CHART |
static java.lang.String |
PROPERTY_POSITION |
chart, positionValue
POSITION_LEFT_OR_TOP, POSITION_RIGHT_OR_BOTTOM
Constructor and Description |
---|
JRDesignChartAxis(JRDesignChart parentChart)
Construct a new axis that will be added to the specified chart.
|
Modifier and Type | Method and Description |
---|---|
void |
addElement(JRElement element)
Sets the chart that contains the dataset and plot for this axis.
|
JRPropertyChangeSupport |
getEventSupport()
Returns the property change support object for this instance.
|
void |
setChart(JRDesignChart chart)
Set the chart that contains the dataset and plot to use for this
axis.
|
void |
setPosition(AxisPositionEnum positionValue)
Sets the position of this axis' value line relative to the multiple
axis chart.
|
void |
setPosition(byte position)
Deprecated.
Replaced by
setPosition(AxisPositionEnum) |
void |
setPosition(java.lang.Byte position)
Deprecated.
Replaced by
setPosition(AxisPositionEnum) |
clone, getChart, getPosition, getPositionByte, getPositionValue
public static final java.lang.String PROPERTY_CHART
public static final java.lang.String PROPERTY_POSITION
protected JRDesignChart parentChart
public JRDesignChartAxis(JRDesignChart parentChart)
parentChart
- the chart that the axis will be added topublic void setPosition(byte position)
setPosition(AxisPositionEnum)
public void setPosition(java.lang.Byte position)
setPosition(AxisPositionEnum)
public void setPosition(AxisPositionEnum positionValue)
positionValue
- the position of this axispublic void setChart(JRDesignChart chart)
chart
- the chart that contains the dataset and plot for this axispublic void addElement(JRElement element)
setChart(net.sf.jasperreports.engine.design.JRDesignChart)
but is called by the XML digester
when parsing the report source.element
- public JRPropertyChangeSupport getEventSupport()
JRChangeEventsSupport
getEventSupport
in interface JRChangeEventsSupport
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com