当前位置: 首页>>代码示例>>Java>>正文


Java OverlayChangeEvent类代码示例

本文整理汇总了Java中org.jfree.chart.event.OverlayChangeEvent的典型用法代码示例。如果您正苦于以下问题:Java OverlayChangeEvent类的具体用法?Java OverlayChangeEvent怎么用?Java OverlayChangeEvent使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


OverlayChangeEvent类属于org.jfree.chart.event包,在下文中一共展示了OverlayChangeEvent类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: notifyListeners

import org.jfree.chart.event.OverlayChangeEvent; //导入依赖的package包/类
/**
 * Sends a {@link ChartChangeEvent} to all registered listeners.
 *
 * @param event  information about the event that triggered the
 *               notification.
 */
protected void notifyListeners(OverlayChangeEvent event) {
   Object[] listeners = this.changeListeners.getListenerList();
    for (int i = listeners.length - 2; i >= 0; i -= 2) {
        if (listeners[i] == OverlayChangeListener.class) {
            ((OverlayChangeListener) listeners[i + 1]).overlayChanged(
                    event);
        }
    }
}
 
开发者ID:mdzio,项目名称:ccu-historian,代码行数:16,代码来源:AbstractOverlay.java

示例2: overlayChanged

import org.jfree.chart.event.OverlayChangeEvent; //导入依赖的package包/类
/**
 * Handles a change to an overlay by repainting the panel.
 * 
 * @param event
 *            the event.
 * 
 * @since 1.0.13
 */

@Override
public void overlayChanged(OverlayChangeEvent event) {
	repaint();
}
 
开发者ID:transwarpio,项目名称:rapidminer,代码行数:14,代码来源:AbstractChartPanel.java

示例3: overlayChanged

import org.jfree.chart.event.OverlayChangeEvent; //导入依赖的package包/类
/**
 * Handles a change to an overlay by repainting the chart canvas.
 *
 * @param event  the event.
 */
@Override
public void overlayChanged(OverlayChangeEvent event) {
    draw();
}
 
开发者ID:jfree,项目名称:jfreechart-fx,代码行数:10,代码来源:ChartCanvas.java

示例4: fireOverlayChanged

import org.jfree.chart.event.OverlayChangeEvent; //导入依赖的package包/类
/**
 * Sends a default {@link ChartChangeEvent} to all registered listeners.
 * <P>
 * This method is for convenience only.
 */
public void fireOverlayChanged() {
    OverlayChangeEvent event = new OverlayChangeEvent(this);
    notifyListeners(event);
}
 
开发者ID:mdzio,项目名称:ccu-historian,代码行数:10,代码来源:AbstractOverlay.java

示例5: overlayChanged

import org.jfree.chart.event.OverlayChangeEvent; //导入依赖的package包/类
/**
 * Handles a change to an overlay by repainting the panel.
 *
 * @param event  the event.
 *
 * @since 1.0.13
 */
@Override
public void overlayChanged(OverlayChangeEvent event) {
    repaint();
}
 
开发者ID:mdzio,项目名称:ccu-historian,代码行数:12,代码来源:ChartPanel.java

示例6: overlayChanged

import org.jfree.chart.event.OverlayChangeEvent; //导入依赖的package包/类
/**
 * Handles a change to an overlay by repainting the panel.
 *
 * @param event  the event.
 *
 * @since 1.0.13
 */
public void overlayChanged(OverlayChangeEvent event) {
    repaint();
}
 
开发者ID:lulab,项目名称:PI,代码行数:11,代码来源:ChartPanel.java


注:本文中的org.jfree.chart.event.OverlayChangeEvent类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。