Package org.jfree.chart.event

Examples of org.jfree.chart.event.PlotChangeEvent


        }

        // make the change...
        if (!this.plotLinePaint.equals(paint)) {
            this.plotLinePaint = paint;
            notifyListeners(new PlotChangeEvent(this));
        }

    }
View Full Code Here


        }

        // make the change...
        if (this.axisLabelGap!=percent) {
            this.axisLabelGap = percent;
            notifyListeners(new PlotChangeEvent(this));
        }

    }
View Full Code Here

     * @param flag  the new show axis labels flag.
     */
    public void setShowAxisLabels(boolean flag) {
        if (this.showAxisLabels != flag) {
            this.showAxisLabels = flag;
            notifyListeners(new PlotChangeEvent(this));
        }
    }
View Full Code Here

        if (discDistributor == null)
            throw new IllegalArgumentException("Disc distributor cannot be null");
       
        this.discDistributor = discDistributor;
        this.discDistributor.setDataset(this.dataset);
        notifyListeners(new PlotChangeEvent(this));
    }
View Full Code Here

    public void setDiscRenderer(DiscItemRenderer discRenderer) {
        if (discRenderer == null)
            throw new IllegalArgumentException("Disc renderer cannot be null");
       
        this.discRenderer = discRenderer;
        notifyListeners(new PlotChangeEvent(this));
    }
View Full Code Here

    /**
     * @param labelGenerator The labelGenerator to set.
     */
    public void setLabelGenerator(PieSectionLabelGenerator labelGenerator) {
        this.labelGenerator = labelGenerator;
        notifyListeners(new PlotChangeEvent(this));
    }
View Full Code Here

    /**
     * @param labelFont The labelFont to set.
     */
    public void setLabelFont(Font labelFont) {
        this.labelFont = labelFont;
        notifyListeners(new PlotChangeEvent(this));
    }
View Full Code Here

    /**
     * @param labelPaint The labelPaint to set.
     */
    public void setLabelPaint(Paint labelPaint) {
        this.labelPaint = labelPaint;
        notifyListeners(new PlotChangeEvent(this));
    }
View Full Code Here

    /**
     * @param toolTipGenerator The toolTipGenerator to set.
     */
    public void setToolTipGenerator(PieToolTipGenerator toolTipGenerator) {
        this.toolTipGenerator = toolTipGenerator;
        notifyListeners(new PlotChangeEvent(this));
    }
View Full Code Here

    /**
     * @param urlGenerator The urlGenerator to set.
     */
    public void setUrlGenerator(PieURLGenerator urlGenerator) {
        this.urlGenerator = urlGenerator;
        notifyListeners(new PlotChangeEvent(this));
    }
View Full Code Here

TOP

Related Classes of org.jfree.chart.event.PlotChangeEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.