Search in sources :

Example 1 with ChartChangeEvent

use of org.jfree.chart.event.ChartChangeEvent in project SIMVA-SoS by SESoS.

the class JFreeChartInfo method setPadding.

/**
 * Sets the padding between the chart border and the chart drawing area,
 * and sends a {@link ChartChangeEvent} to all registered listeners.
 *
 * @param padding  the padding (<code>null</code> not permitted).
 *
 * @see #getPadding()
 */
public void setPadding(RectangleInsets padding) {
    ParamChecks.nullNotPermitted(padding, "padding");
    this.padding = padding;
    notifyListeners(new ChartChangeEvent(this));
}
Also used : ChartChangeEvent(org.jfree.chart.event.ChartChangeEvent)

Example 2 with ChartChangeEvent

use of org.jfree.chart.event.ChartChangeEvent in project SIMVA-SoS by SESoS.

the class JFreeChartInfo method setTextAntiAlias.

/**
 * Sets the value in the rendering hints table for
 * {@link RenderingHints#KEY_TEXT_ANTIALIASING} and sends a
 * {@link ChartChangeEvent} to all registered listeners.
 *
 * @param val  the new value (<code>null</code> permitted).
 *
 * @since 1.0.5
 *
 * @see #getTextAntiAlias()
 * @see #setTextAntiAlias(boolean)
 */
public void setTextAntiAlias(Object val) {
    this.renderingHints.put(RenderingHints.KEY_TEXT_ANTIALIASING, val);
    notifyListeners(new ChartChangeEvent(this));
}
Also used : ChartChangeEvent(org.jfree.chart.event.ChartChangeEvent)

Example 3 with ChartChangeEvent

use of org.jfree.chart.event.ChartChangeEvent in project SIMVA-SoS by SESoS.

the class JFreeChartInfo method fireChartChanged.

/**
 * Sends a default {@link ChartChangeEvent} to all registered listeners.
 * <P>
 * This method is for convenience only.
 */
public void fireChartChanged() {
    ChartChangeEvent event = new ChartChangeEvent(this);
    notifyListeners(event);
}
Also used : ChartChangeEvent(org.jfree.chart.event.ChartChangeEvent)

Aggregations

ChartChangeEvent (org.jfree.chart.event.ChartChangeEvent)3