Package com.positive.charts.event

Examples of com.positive.charts.event.PlotChangeEvent


  public void setDomainGridlinePaint(final Color paint) {
    if (paint == null) {
      throw new IllegalArgumentException("Null 'paint' argument.");
    }
    this.domainGridlinePaint = paint;
    this.notifyListeners(new PlotChangeEvent(this));
  }
View Full Code Here


  public void setDomainGridlinePosition(final CategoryAnchor position) {
    if (position == null) {
      throw new IllegalArgumentException("Null 'position' argument.");
    }
    this.domainGridlinePosition = position;
    this.notifyListeners(new PlotChangeEvent(this));
  }
View Full Code Here

  public void setDomainGridlineStroke(final Stroke stroke) {
    if (stroke == null) {
      throw new IllegalArgumentException("Null 'stroke' not permitted.");
    }
    this.domainGridlineStroke = stroke;
    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 draw
   *            a boolean.
   */
  public void setDrawSharedDomainAxis(final boolean draw) {
    this.drawSharedDomainAxis = draw;
    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

  public void setOrientation(final PlotOrientation orientation) {
    if (orientation == null) {
      throw new IllegalArgumentException("Null 'orientation' argument.");
    }
    this.orientation = orientation;
    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

  public void setRangeAxisLocation(final int index,
      final AxisLocation location, final boolean notify) {
    // TODO: don't allow null for index = 0
    this.rangeAxisLocations.set(index, location);
    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.