Examples of PlotChangeEvent


Examples of com.positive.charts.event.PlotChangeEvent

   *
   * @param event
   *            information about the event (not used here).
   */
  public void axisChanged(final AxisChangeEvent event) {
    this.notifyListeners(new PlotChangeEvent(this));
  }
View Full Code Here

Examples of com.positive.charts.event.PlotChangeEvent

   *
   * @param event
   *            information about the event (not used here).
   */
  public void datasetChanged(final DatasetChangeEvent event) {
    final PlotChangeEvent newEvent = new PlotChangeEvent(this);
    newEvent.setType(ChartChangeEventType.DATASET_UPDATED);
    this.notifyListeners(newEvent);
  }
View Full Code Here

Examples of com.positive.charts.event.PlotChangeEvent

   * Sends a {@link PlotChangeEvent} to all registered listeners.
   *
   * @since 1.0.10
   */
  protected void fireChangeEvent() {
    this.notifyListeners(new PlotChangeEvent(this));
  }
View Full Code Here

Examples of com.positive.charts.event.PlotChangeEvent

   *
   * @param event
   *            the event.
   */
  public void markerChanged(final MarkerChangeEvent event) {
    this.notifyListeners(new PlotChangeEvent(this));
  }
View Full Code Here

Examples of com.positive.charts.event.PlotChangeEvent

   *            the new alpha value.
   */
  public void setBackgroundAlpha(final float alpha) {
    if (this.backgroundAlpha != alpha) {
      this.backgroundAlpha = alpha;
      this.notifyListeners(new PlotChangeEvent(this));
    }
  }
View Full Code Here

Examples of com.positive.charts.event.PlotChangeEvent

      throw new IllegalArgumentException(
          "The 'alpha' value must be in the range 0.0f to 1.0f.");
    }
    if (this.backgroundImageAlpha != alpha) {
      this.backgroundImageAlpha = alpha;
      this.notifyListeners(new PlotChangeEvent(this));
    }
  }
View Full Code Here

Examples of com.positive.charts.event.PlotChangeEvent

    final Color oldColor = this.drawingAssets.getColor(key);
    this.drawingAssets.setColor(key, color);
    if ((color != null) && color.equals(oldColor)) {
      return;
    }
    this.notifyListeners(new PlotChangeEvent(this));
  }
View Full Code Here

Examples of com.positive.charts.event.PlotChangeEvent

   * @param supplier
   *            the new supplier.
   */
  public void setDrawingSupplier(final DrawingSupplier supplier) {
    this.drawingSupplier = supplier;
    this.notifyListeners(new PlotChangeEvent(this));
  }
View Full Code Here

Examples of com.positive.charts.event.PlotChangeEvent

   *            the new alpha transparency.
   */
  public void setForegroundAlpha(final int alpha) {
    if (this.foregroundAlpha != alpha) {
      this.foregroundAlpha = alpha;
      this.notifyListeners(new PlotChangeEvent(this));
    }
  }
View Full Code Here

Examples of com.positive.charts.event.PlotChangeEvent

      throw new IllegalArgumentException("Null 'insets' argument.");
    }
    if (!this.insets.equals(insets)) {
      this.insets = insets;
      if (notify) {
        this.notifyListeners(new PlotChangeEvent(this));
      }
    }

  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.