Package com.positive.charts.event

Examples of com.positive.charts.event.TitleChangeEvent


  public void setSources(final LegendItemSource[] sources) {
    if (sources == null) {
      throw new IllegalArgumentException("Null 'sources' argument.");
    }
    this.sources = sources;
    this.notifyListeners(new TitleChangeEvent(this));
  }
View Full Code Here


    if (alignment == null) {
      throw new IllegalArgumentException("Null 'alignment' argument.");
    }
    if (this.horizontalAlignment != alignment) {
      this.horizontalAlignment = alignment;
      this.notifyListeners(new TitleChangeEvent(this));
    }
  }
View Full Code Here

   *            the new value of the flag.
   */
  public void setNotify(final boolean flag) {
    this.notify = flag;
    if (flag) {
      this.notifyListeners(new TitleChangeEvent(this));
    }
  }
View Full Code Here

    if (position == null) {
      throw new IllegalArgumentException("Null 'position' argument.");
    }
    if (this.position != position) {
      this.position = position;
      this.notifyListeners(new TitleChangeEvent(this));
    }
  }
View Full Code Here

    if (alignment == null) {
      throw new IllegalArgumentException("Null 'alignment' argument.");
    }
    if (this.verticalAlignment != alignment) {
      this.verticalAlignment = alignment;
      this.notifyListeners(new TitleChangeEvent(this));
    }
  }
View Full Code Here

   * @param paint
   *            the paint (<code>null</code> permitted).
   */
  public void setBackgroundPaint(final Color paint) {
    this.backgroundPaint = paint;
    this.notifyListeners(new TitleChangeEvent(this));
  }
View Full Code Here

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

  public void setItemLabelPadding(final RectangleInsets padding) {
    if (padding == null) {
      throw new IllegalArgumentException("Null 'padding' argument.");
    }
    this.itemLabelPadding = padding;
    this.notifyListeners(new TitleChangeEvent(this));
  }
View Full Code Here

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

  public void setLegendItemGraphicEdge(final RectangleEdge edge) {
    if (edge == null) {
      throw new IllegalArgumentException("Null 'edge' argument.");
    }
    this.legendItemGraphicEdge = edge;
    this.notifyListeners(new TitleChangeEvent(this));
  }
View Full Code Here

TOP

Related Classes of com.positive.charts.event.TitleChangeEvent

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.