Package org.jfree.chart.event

Examples of org.jfree.chart.event.LegendChangeEvent


    public void setOuterGap(Spacer outerGap) {
        if (outerGap == null) {
            throw new NullPointerException("Null 'outerGap' argument.");
        }
        this.outerGap = outerGap;
        notifyListeners(new LegendChangeEvent(this));
    }
View Full Code Here


    public void setInnerGap(Spacer innerGap) {
        if (innerGap == null) {
            throw new NullPointerException("Null 'innerGap' argument.");
        }
        this.innerGap = innerGap;
        notifyListeners(new LegendChangeEvent(this));
    }
View Full Code Here

    public void setBackgroundPaint(Paint paint) {
        if (paint == null) {
            throw new IllegalArgumentException("Null 'paint' argument.");  
        }
        this.backgroundPaint = paint;
        notifyListeners(new LegendChangeEvent(this));
    }
View Full Code Here

    public void setOutlineStroke(Stroke stroke) {
        if (stroke == null) {
            throw new NullPointerException("Null 'stroke' argument.");
        }
        this.outlineStroke = stroke;
        notifyListeners(new LegendChangeEvent(this));
    }
View Full Code Here

    public void setOutlinePaint(Paint paint) {
        if (paint == null) {
            throw new IllegalArgumentException("Null 'paint' argument.");  
        }
        this.outlinePaint = paint;
        notifyListeners(new LegendChangeEvent(this));
    }
View Full Code Here

     *
     * @param title  the title (<code>null</code> permitted).
     */
    public void setTitle(String title) {
        this.title = title;
        notifyListeners(new LegendChangeEvent(this));
    }
View Full Code Here

    public void setTitleFont(Font font) {
        if (font == null) {
            throw new IllegalArgumentException("Null 'font' argument.");  
        }
        this.titleFont = font;
        notifyListeners(new LegendChangeEvent(this));
    }
View Full Code Here

    public void setItemFont(Font font) {
        if (font == null) {
            throw new IllegalArgumentException("Null 'font' argument.")
        }
        this.itemFont = font;
        notifyListeners(new LegendChangeEvent(this));
    }
View Full Code Here

    public void setItemPaint(Paint paint) {
        if (paint == null) {
            throw new IllegalArgumentException("Null 'paint' argument.");  
        }
        this.itemPaint = paint;
        notifyListeners(new LegendChangeEvent(this));
    }
View Full Code Here

     *
     * @param flag  the flag.
     */
    public void setOutlineShapes(boolean flag) {
        this.outlineShapes = flag;
        notifyListeners(new LegendChangeEvent(this));
    }
View Full Code Here

TOP

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

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.