org.jfree.chart.plot.Plot.annotationChanged()方法的使用及代码示例

x33g5p2x  于2022-01-26 转载在 其他  
字(1.8k)|赞(0)|评价(0)|浏览(101)

本文整理了Java中org.jfree.chart.plot.Plot.annotationChanged()方法的一些代码示例,展示了Plot.annotationChanged()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Plot.annotationChanged()方法的具体详情如下:
包路径:org.jfree.chart.plot.Plot
类名称:Plot
方法名:annotationChanged

Plot.annotationChanged介绍

[英]Receives notification of a change to an Annotation added to this plot.
[中]接收添加到此绘图的注释的更改通知。

代码示例

代码示例来源:origin: jfree/jfreechart

/**
 * Receives notification of a change to an {@link Annotation} added to
 * this plot.
 *
 * @param event  information about the event (not used here).
 *
 * @since 1.0.14
 */
@Override
public void annotationChanged(AnnotationChangeEvent event) {
  if (getParent() != null) {
    getParent().annotationChanged(event);
  } else {
    PlotChangeEvent e = new PlotChangeEvent(this);
    notifyListeners(e);
  }
}

代码示例来源:origin: org.codehaus.jtstand/jtstand-chart

/**
 * Receives notification of a change to an {@link Annotation} added to
 * this plot.
 *
 * @param event  information about the event (not used here).
 *
 * @since 1.0.14
 */
public void annotationChanged(AnnotationChangeEvent event) {
  if (getParent() != null) {
    getParent().annotationChanged(event);
  }
  else {
    PlotChangeEvent e = new PlotChangeEvent(this);
    notifyListeners(e);
  }
}

代码示例来源:origin: org.codehaus.jtstand/jtstand-chart

/**
 * Receives notification of a change to an {@link Annotation} added to
 * this plot.
 *
 * @param event  information about the event (not used here).
 *
 * @since 1.0.14
 */
public void annotationChanged(AnnotationChangeEvent event) {
  if (getParent() != null) {
    getParent().annotationChanged(event);
  }
  else {
    PlotChangeEvent e = new PlotChangeEvent(this);
    notifyListeners(e);
  }
}

代码示例来源:origin: jfree/jfreechart

/**
 * Receives notification of a change to an {@link Annotation} added to
 * this plot.
 *
 * @param event  information about the event (not used here).
 *
 * @since 1.0.14
 */
@Override
public void annotationChanged(AnnotationChangeEvent event) {
  if (getParent() != null) {
    getParent().annotationChanged(event);
  }
  else {
    PlotChangeEvent e = new PlotChangeEvent(this);
    notifyListeners(e);
  }
}

相关文章