Package com.positive.charts.event

Examples of com.positive.charts.event.PlotChangeEvent


   *            the location (<code>null</code> permitted).
   */
  public void setDomainAxisLocation(final int index,
      final AxisLocation location) {
    this.domainAxisLocations.set(index, location);
    this.notifyListeners(new PlotChangeEvent(this));
  }
View Full Code Here


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

   * @see #getDomainCrosshairValue()
   */
  public void setDomainCrosshairValue(final double value, final boolean notify) {
    this.domainCrosshairValue = value;
    if (this.isDomainCrosshairVisible() && notify) {
      this.notifyListeners(new PlotChangeEvent(this));
    }
  }
View Full Code Here

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

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

   * @param items
   *            the legend items (<code>null</code> permitted).
   */
  public void setFixedLegendItems(final LegendItemCollection items) {
    this.fixedLegendItems = items;
    this.notifyListeners(new PlotChangeEvent(this));
  }
View Full Code Here

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

  public void setQuadrantOrigin(final Point origin) {
    if (origin == null) {
      throw new IllegalArgumentException("Null 'origin' argument.");
    }
    this.quadrantOrigin = origin;
    this.notifyListeners(new PlotChangeEvent(this));
  }
View Full Code Here

   */
  public void setRangeAxes(final ValueAxis[] axes) {
    for (int i = 0; i < axes.length; i++) {
      this.setRangeAxis(i, axes[i], false);
    }
    this.notifyListeners(new PlotChangeEvent(this));
  }
View Full Code Here

    if (axis != null) {
      axis.configure();
      axis.addChangeListener(this);
    }
    if (notify) {
      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.