Package com.positive.charts.event

Examples of com.positive.charts.event.PlotChangeEvent


    this.rangeAxes.set(0, axis);
    if (axis != null) {
      axis.configure();
      axis.addChangeListener(this);
    }
    this.notifyListeners(new PlotChangeEvent(this));
  }
View Full Code Here


    if (location == null) {
      throw new IllegalArgumentException("Null 'location' argument.");
    }
    this.rangeAxisLocations.set(0, location);
    if (notify) {
      this.notifyListeners(new PlotChangeEvent(this));
    }

  }
View Full Code Here

    if (index == this.rangeAxisLocations.size()) {
      this.rangeAxisLocations.add(location);
    } else {
      this.rangeAxisLocations.set(index, location);
    }
    this.notifyListeners(new PlotChangeEvent(this));
  }
View Full Code Here

   * @see #isRangeCrosshairLockedOnData()
   */
  public void setRangeCrosshairLockedOnData(final boolean flag) {
    if (this.rangeCrosshairLockedOnData != flag) {
      this.rangeCrosshairLockedOnData = flag;
      this.notifyListeners(new PlotChangeEvent(this));
    }
  }
View Full Code Here

   * @see #getRangeCrosshairValue()
   */
  public void setRangeCrosshairValue(final double value, final boolean notify) {
    this.rangeCrosshairValue = value;
    if (this.isRangeCrosshairVisible() && notify) {
      this.notifyListeners(new PlotChangeEvent(this));
    }
  }
View Full Code Here

   * @see #isRangeCrosshairVisible()
   */
  public void setRangeCrosshairVisible(final boolean flag) {
    if (this.rangeCrosshairVisible != flag) {
      this.rangeCrosshairVisible = flag;
      this.notifyListeners(new PlotChangeEvent(this));
    }
  }
View Full Code Here

   *            the new value of the flag.
   */
  public void setRangeGridlinesVisible(final boolean visible) {
    if (this.rangeGridlinesVisible != visible) {
      this.rangeGridlinesVisible = visible;
      this.notifyListeners(new PlotChangeEvent(this));
    }
  }
View Full Code Here

   * @param visible
   *            the flag.
   */
  public void setRangeZeroBaselineVisible(final boolean visible) {
    this.rangeZeroBaselineVisible = visible;
    this.notifyListeners(new PlotChangeEvent(this));
  }
View Full Code Here

      renderer.addChangeListener(this);
    }
    this.configureDomainAxes();
    this.configureRangeAxes();
    if (notify) {
      this.notifyListeners(new PlotChangeEvent(this));
    }
  }
View Full Code Here

   */
  public void setRenderers(final XYItemRenderer[] renderers) {
    for (int i = 0; i < renderers.length; i++) {
      this.setRenderer(i, renderers[i], false);
    }
    this.notifyListeners(new PlotChangeEvent(this));
  }
View Full Code Here

TOP

Related Classes of com.positive.charts.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.