本文整理了Java中org.jfree.chart.plot.Plot.notifyListeners()
方法的一些代码示例,展示了Plot.notifyListeners()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Plot.notifyListeners()
方法的具体详情如下:
包路径:org.jfree.chart.plot.Plot
类名称:Plot
方法名:notifyListeners
[英]Notifies all registered listeners that the plot has been modified.
[中]通知所有注册的侦听器绘图已被修改。
代码示例来源:origin: jfree/jfreechart
/**
* Sends a {@link PlotChangeEvent} to all registered listeners.
*
* @since 1.0.10
*/
protected void fireChangeEvent() {
notifyListeners(new PlotChangeEvent(this));
}
代码示例来源:origin: org.codehaus.jtstand/jtstand-chart
/**
* Sends a {@link PlotChangeEvent} to all registered listeners.
*
* @since 1.0.10
*/
protected void fireChangeEvent() {
notifyListeners(new PlotChangeEvent(this));
}
代码示例来源:origin: jfree/jfreechart
/**
* Sets a flag that controls whether or not listeners receive
* {@link PlotChangeEvent} notifications.
*
* @param notify a boolean.
*
* @see #isNotify()
*
* @since 1.0.13
*/
public void setNotify(boolean notify) {
this.notify = notify;
// if the flag is being set to true, there may be queued up changes...
if (notify) {
notifyListeners(new PlotChangeEvent(this));
}
}
代码示例来源:origin: org.codehaus.jtstand/jtstand-chart
/**
* Sets a flag that controls whether or not listeners receive
* {@link PlotChangeEvent} notifications.
*
* @param notify a boolean.
*
* @see #isNotify()
*
* @since 1.0.13
*/
public void setNotify(boolean notify) {
this.notify = notify;
// if the flag is being set to true, there may be queued up changes...
if (notify) {
notifyListeners(new PlotChangeEvent(this));
}
}
代码示例来源:origin: org.codehaus.jtstand/jtstand-chart
/**
* Receives notification of a change to the plot's dataset.
* <P>
* The plot reacts by passing on a plot change event to all registered
* listeners.
*
* @param event information about the event (not used here).
*/
public void datasetChanged(DatasetChangeEvent event) {
PlotChangeEvent newEvent = new PlotChangeEvent(this);
newEvent.setType(ChartChangeEventType.DATASET_UPDATED);
notifyListeners(newEvent);
}
代码示例来源:origin: jfree/jfreechart
/**
* Receives notification of a change to the plot's dataset.
* <P>
* The plot reacts by passing on a plot change event to all registered
* listeners.
*
* @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);
}
内容来源于网络,如有侵权,请联系作者删除!