Examples of PlotChangeEvent


Examples of com.positive.charts.event.PlotChangeEvent

    final Stroke oldStroke = this.drawingAssets.getStroke(key);
    this.drawingAssets.setStroke(key, stroke);
    if ((stroke != null) && stroke.equals(oldStroke)) {
      return;
    }
    this.notifyListeners(new PlotChangeEvent(this));
  }
View Full Code Here

Examples of com.positive.charts.event.PlotChangeEvent

      if (axis != null) {
        axis.removeChangeListener(this);
      }
    }
    this.domainAxes.clear();
    this.notifyListeners(new PlotChangeEvent(this));
  }
View Full Code Here

Examples of com.positive.charts.event.PlotChangeEvent

      if (axis != null) {
        axis.removeChangeListener(this);
      }
    }
    this.rangeAxes.clear();
    this.notifyListeners(new PlotChangeEvent(this));
  }
View Full Code Here

Examples of com.positive.charts.event.PlotChangeEvent

    this.configureDomainAxes();
    this.configureRangeAxes();
    if (this.getParent() != null) {
      this.getParent().datasetChanged(event);
    } else {
      final PlotChangeEvent e = new PlotChangeEvent(this);
      e.setType(ChartChangeEventType.DATASET_UPDATED);
      this.notifyListeners(e);
    }
  }
View Full Code Here

Examples of com.positive.charts.event.PlotChangeEvent

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

Examples of com.positive.charts.event.PlotChangeEvent

  public void setAxisOffset(final RectangleInsets offset) {
    if (offset == null) {
      throw new IllegalArgumentException("Null 'offset' argument.");
    }
    this.axisOffset = offset;
    this.notifyListeners(new PlotChangeEvent(this));
  }
View Full Code Here

Examples of com.positive.charts.event.PlotChangeEvent

  public void setDatasetRenderingOrder(final DatasetRenderingOrder order) {
    if (order == null) {
      throw new IllegalArgumentException("Null 'order' argument.");
    }
    this.datasetRenderingOrder = order;
    this.notifyListeners(new PlotChangeEvent(this));
  }
View Full Code Here

Examples of com.positive.charts.event.PlotChangeEvent

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

Examples of com.positive.charts.event.PlotChangeEvent

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

Examples of com.positive.charts.event.PlotChangeEvent

    if (location == null) {
      throw new IllegalArgumentException("Null 'location' argument.");
    }
    this.domainAxisLocations.set(0, location);
    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.