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


Java Crosshair.addPropertyChangeListener方法代码示例

本文整理汇总了Java中org.jfree.chart.plot.Crosshair.addPropertyChangeListener方法的典型用法代码示例。如果您正苦于以下问题:Java Crosshair.addPropertyChangeListener方法的具体用法?Java Crosshair.addPropertyChangeListener怎么用?Java Crosshair.addPropertyChangeListener使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在org.jfree.chart.plot.Crosshair的用法示例。


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

示例1: addRangeCrosshair

import org.jfree.chart.plot.Crosshair; //导入方法依赖的package包/类
public void addRangeCrosshair(int axisIdx, Crosshair crosshair) {
	while (rangeCrosshairs.size() < axisIdx + 1) {
		rangeCrosshairs.add(new ArrayList<Crosshair>());
	}

	rangeCrosshairs.get(axisIdx).add(crosshair);
	crosshair.addPropertyChangeListener(this);
}
 
开发者ID:transwarpio,项目名称:rapidminer,代码行数:9,代码来源:MultiAxesCrosshairOverlay.java

示例2: addRangeCrosshair

import org.jfree.chart.plot.Crosshair; //导入方法依赖的package包/类
/**
 * Adds a crosshair against the range axis and sends an
 * {@link OverlayChangeEvent} to all registered listeners.
 *
 * @param crosshair  the crosshair (<code>null</code> not permitted).
 */
public void addRangeCrosshair(Crosshair crosshair) {
    ParamChecks.nullNotPermitted(crosshair, "crosshair");
    this.yCrosshairs.add(crosshair);
    crosshair.addPropertyChangeListener(this);
    fireOverlayChanged();
}
 
开发者ID:mdzio,项目名称:ccu-historian,代码行数:13,代码来源:CrosshairOverlay.java

示例3: addRangeCrosshair

import org.jfree.chart.plot.Crosshair; //导入方法依赖的package包/类
/**
 * Adds a crosshair against the range axis and sends an
 * {@link OverlayChangeEvent} to all registered listeners.
 *
 * @param crosshair  the crosshair ({@code null} not permitted).
 */
public void addRangeCrosshair(Crosshair crosshair) {
    Args.nullNotPermitted(crosshair, "crosshair");
    this.yCrosshairs.add(crosshair);
    crosshair.addPropertyChangeListener(this);
    fireOverlayChanged();
}
 
开发者ID:jfree,项目名称:jfreechart,代码行数:13,代码来源:CrosshairOverlay.java

示例4: addDomainCrosshair

import org.jfree.chart.plot.Crosshair; //导入方法依赖的package包/类
/**
 * Adds a crosshair against the domain axis.
 *
 * @param crosshair  the crosshair.
 */
public void addDomainCrosshair(Crosshair crosshair) {
    if (crosshair == null) {
        throw new IllegalArgumentException("Null 'crosshair' argument.");
    }
    this.xCrosshairs.add(crosshair);
    crosshair.addPropertyChangeListener(this);
}
 
开发者ID:lulab,项目名称:PI,代码行数:13,代码来源:CrosshairOverlay.java

示例5: addRangeCrosshair

import org.jfree.chart.plot.Crosshair; //导入方法依赖的package包/类
/**
 * Adds a crosshair against the range axis.
 *
 * @param crosshair  the crosshair.
 */
public void addRangeCrosshair(Crosshair crosshair) {
    if (crosshair == null) {
        throw new IllegalArgumentException("Null 'crosshair' argument.");
    }
    this.yCrosshairs.add(crosshair);
    crosshair.addPropertyChangeListener(this);
}
 
开发者ID:lulab,项目名称:PI,代码行数:13,代码来源:CrosshairOverlay.java

示例6: addRangeCrosshair

import org.jfree.chart.plot.Crosshair; //导入方法依赖的package包/类
/**
 * Adds a crosshair against the range axis and sends an
 * {@link OverlayChangeEvent} to all registered listeners.
 *
 * @param crosshair  the crosshair (<code>null</code> not permitted).
 */
public void addRangeCrosshair(Crosshair crosshair) {
    if (crosshair == null) {
        throw new IllegalArgumentException("Null 'crosshair' argument.");
    }
    this.yCrosshairs.add(crosshair);
    crosshair.addPropertyChangeListener(this);
    fireOverlayChanged();
}
 
开发者ID:SpoonLabs,项目名称:astor,代码行数:15,代码来源:CrosshairOverlay.java

示例7: addRangeCrosshair

import org.jfree.chart.plot.Crosshair; //导入方法依赖的package包/类
public void addRangeCrosshair(int axisIdx, Crosshair crosshair) {
	while (rangeCrosshairs.size() < axisIdx+1) {
		rangeCrosshairs.add(new ArrayList<Crosshair>());
	}
	
	rangeCrosshairs.get(axisIdx).add(crosshair);
       crosshair.addPropertyChangeListener(this);
}
 
开发者ID:rapidminer,项目名称:rapidminer-5,代码行数:9,代码来源:MultiAxesCrosshairOverlay.java

示例8: addDomainCrosshair

import org.jfree.chart.plot.Crosshair; //导入方法依赖的package包/类
/**
 * Adds a crosshair against the domain axis and sends an
 * {@link OverlayChangeEvent} to all registered listeners.
 *
 * @param crosshair  the crosshair (<code>null</code> not permitted).
 *
 * @see #removeDomainCrosshair(org.jfree.chart.plot.Crosshair)
 * @see #addRangeCrosshair(org.jfree.chart.plot.Crosshair)
 */
public void addDomainCrosshair(Crosshair crosshair) {
    ParamChecks.nullNotPermitted(crosshair, "crosshair");
    this.xCrosshairs.add(crosshair);
    crosshair.addPropertyChangeListener(this);
    fireOverlayChanged();
}
 
开发者ID:mdzio,项目名称:ccu-historian,代码行数:16,代码来源:CrosshairOverlay.java

示例9: addDomainCrosshair

import org.jfree.chart.plot.Crosshair; //导入方法依赖的package包/类
/**
 * Adds a crosshair against the domain axis and sends an
 * {@link OverlayChangeEvent} to all registered listeners.
 *
 * @param crosshair  the crosshair ({@code null} not permitted).
 *
 * @see #removeDomainCrosshair(org.jfree.chart.plot.Crosshair)
 * @see #addRangeCrosshair(org.jfree.chart.plot.Crosshair)
 */
public void addDomainCrosshair(Crosshair crosshair) {
    Args.nullNotPermitted(crosshair, "crosshair");
    this.xCrosshairs.add(crosshair);
    crosshair.addPropertyChangeListener(this);
    fireOverlayChanged();
}
 
开发者ID:jfree,项目名称:jfreechart,代码行数:16,代码来源:CrosshairOverlay.java

示例10: addDomainCrosshair

import org.jfree.chart.plot.Crosshair; //导入方法依赖的package包/类
/**
 * Adds a crosshair against the domain axis and sends an
 * {@link OverlayChangeEvent} to all registered listeners.
 *
 * @param crosshair  the crosshair (<code>null</code> not permitted).
 *
 * @see #removeDomainCrosshair(org.jfree.chart.plot.Crosshair)
 * @see #addRangeCrosshair(org.jfree.chart.plot.Crosshair)
 */
public void addDomainCrosshair(Crosshair crosshair) {
    if (crosshair == null) {
        throw new IllegalArgumentException("Null 'crosshair' argument.");
    }
    this.xCrosshairs.add(crosshair);
    crosshair.addPropertyChangeListener(this);
    fireOverlayChanged();
}
 
开发者ID:SpoonLabs,项目名称:astor,代码行数:18,代码来源:CrosshairOverlay.java


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