Examples of PlotChangeEvent


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

Examples of com.positive.charts.event.PlotChangeEvent

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

Examples of com.positive.charts.event.PlotChangeEvent

   * @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

Examples of org.jfree.chart.event.PlotChangeEvent

    public void annotationChanged(AnnotationChangeEvent event) {
        if (getParent() != null) {
            getParent().annotationChanged(event);
        }
        else {
            PlotChangeEvent e = new PlotChangeEvent(this);
            notifyListeners(e);
        }
    }
View Full Code Here

Examples of org.jfree.chart.event.PlotChangeEvent

        }
        if (getParent() != null) {
            getParent().datasetChanged(event);
        }
        else {
            PlotChangeEvent e = new PlotChangeEvent(this);
            e.setType(ChartChangeEventType.DATASET_UPDATED);
            notifyListeners(e);
        }

    }
View Full Code Here

Examples of org.jfree.chart.event.PlotChangeEvent

                    "The renderer has changed and I don't know what to do!");
            }
        }
        else {
            configureRangeAxes();
            PlotChangeEvent e = new PlotChangeEvent(this);
            notifyListeners(e);
        }
    }
View Full Code Here

Examples of org.jfree.chart.event.PlotChangeEvent

   {
      this.notify = notify;
      // if the flag is being set to true, there may be queued up changes...
      if (notify)
      {
         notifyListeners(new PlotChangeEvent(this));
      }
   }
View Full Code Here

Examples of org.jfree.chart.event.PlotChangeEvent

    *
    * @since 1.0.10
    */
   protected void fireChangeEvent()
   {
      notifyListeners(new PlotChangeEvent(this));
   }
View Full Code Here

Examples of org.jfree.chart.event.PlotChangeEvent

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

Examples of org.jfree.chart.event.PlotChangeEvent

        }

        // make the change...
        if (this.interiorGap != percent) {
            this.interiorGap = percent;
            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.