Package com.positive.charts.event

Examples of com.positive.charts.event.AxisChangeEvent


   * @see #setAxisLinePaint(Paint)
   * @see #setAxisLineStroke(Stroke)
   */
  public void setAxisLineVisible(final boolean visible) {
    this.axisLineVisible = visible;
    this.notifyListeners(new AxisChangeEvent(this));
  }
View Full Code Here


  public void setLabel(final String label) {
    final String existing = this.label;
    if (existing != null) {
      if (!existing.equals(label)) {
        this.label = label;
        this.notifyListeners(new AxisChangeEvent(this));
      }
    } else {
      if (label != null) {
        this.label = label;
        this.notifyListeners(new AxisChangeEvent(this));
      }
    }
  }
View Full Code Here

   *
   * @see #getLabelAngle()
   */
  public void setLabelAngle(final double angle) {
    this.labelAngle = angle;
    this.notifyListeners(new AxisChangeEvent(this));
  }
View Full Code Here

    if (font == null) {
      throw new IllegalArgumentException("Null 'font' argument.");
    }
    if (!font.equals(this.labelFont)) {
      this.labelFont = font;
      this.notifyListeners(new AxisChangeEvent(this));
    }
  }
View Full Code Here

    if (insets == null) {
      throw new IllegalArgumentException("Null 'insets' argument.");
    }
    if (!insets.equals(this.labelInsets)) {
      this.labelInsets = insets;
      this.notifyListeners(new AxisChangeEvent(this));
    }
  }
View Full Code Here

      throw new IllegalArgumentException("Null 'font' argument.");
    }

    if (!font.equals(this.tickLabelFont)) {
      this.tickLabelFont = font;
      this.notifyListeners(new AxisChangeEvent(this));
    }
  }
View Full Code Here

    if (insets == null) {
      throw new IllegalArgumentException("Null 'insets' argument.");
    }
    if (!this.tickLabelInsets.equals(insets)) {
      this.tickLabelInsets = insets;
      this.notifyListeners(new AxisChangeEvent(this));
    }
  }
View Full Code Here

   */
  public void setTickLabelPaint(final Color paint) {
    if (paint == null) {
      throw new IllegalArgumentException("Null 'paint' argument.");
    }
    this.notifyListeners(new AxisChangeEvent(this));
  }
View Full Code Here

   * @see #setTickLabelPaint(Paint)
   */
  public void setTickLabelsVisible(final boolean flag) {
    if (flag != this.tickLabelsVisible) {
      this.tickLabelsVisible = flag;
      this.notifyListeners(new AxisChangeEvent(this));
    }
  }
View Full Code Here

   *
   * @see #getTickMarkInsideLength()
   */
  public void setTickMarkInsideLength(final float length) {
    this.tickMarkInsideLength = length;
    this.notifyListeners(new AxisChangeEvent(this));
  }
View Full Code Here

TOP

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

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.