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


Java Crosshair.removePropertyChangeListener方法代码示例

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


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

示例1: removeRangeCrosshair

import org.jfree.chart.plot.Crosshair; //导入方法依赖的package包/类
public void removeRangeCrosshair(int axisIdx, Crosshair crosshair) {
	if (rangeCrosshairs.size() > axisIdx) {
		ArrayList<Crosshair> crosshairsForRange = rangeCrosshairs.get(axisIdx);
		crosshairsForRange.remove(crosshair);
		crosshair.removePropertyChangeListener(this);
	}
}
 
开发者ID:transwarpio,项目名称:rapidminer,代码行数:8,代码来源:MultiAxesCrosshairOverlay.java

示例2: clearRangeCrosshairs

import org.jfree.chart.plot.Crosshair; //导入方法依赖的package包/类
/**
 * Clears all range crosshairs on all axes.
 */
@Override
public void clearRangeCrosshairs() {
	for (List<Crosshair> crosshairsForRange : rangeCrosshairs) {
		for (Crosshair crosshair : crosshairsForRange) {
			crosshair.removePropertyChangeListener(this);
		}
	}
	rangeCrosshairs.clear();
}
 
开发者ID:transwarpio,项目名称:rapidminer,代码行数:13,代码来源:MultiAxesCrosshairOverlay.java

示例3: clearDomainCrosshairs

import org.jfree.chart.plot.Crosshair; //导入方法依赖的package包/类
/**
 * Clears all the domain crosshairs from the overlay and sends an
 * {@link OverlayChangeEvent} to all registered listeners.
 */
public void clearDomainCrosshairs() {
    if (this.xCrosshairs.isEmpty()) {
        return;  // nothing to do
    }
    List crosshairs = getDomainCrosshairs();
    for (int i = 0; i < crosshairs.size(); i++) {
        Crosshair c = (Crosshair) crosshairs.get(i);
        this.xCrosshairs.remove(c);
        c.removePropertyChangeListener(this);
    }
    fireOverlayChanged();
}
 
开发者ID:mdzio,项目名称:ccu-historian,代码行数:17,代码来源:CrosshairOverlay.java

示例4: clearRangeCrosshairs

import org.jfree.chart.plot.Crosshair; //导入方法依赖的package包/类
/**
 * Clears all the range crosshairs from the overlay and sends an
 * {@link OverlayChangeEvent} to all registered listeners.
 */
public void clearRangeCrosshairs() {
    if (this.yCrosshairs.isEmpty()) {
        return;  // nothing to do
    }
    List crosshairs = getRangeCrosshairs();
    for (int i = 0; i < crosshairs.size(); i++) {
        Crosshair c = (Crosshair) crosshairs.get(i);
        this.yCrosshairs.remove(c);
        c.removePropertyChangeListener(this);
    }
    fireOverlayChanged();
}
 
开发者ID:mdzio,项目名称:ccu-historian,代码行数:17,代码来源:CrosshairOverlay.java

示例5: clearDomainCrosshairs

import org.jfree.chart.plot.Crosshair; //导入方法依赖的package包/类
/**
 * Clears all the domain crosshairs from the overlay and sends an
 * {@link OverlayChangeEvent} to all registered listeners.
 */
public void clearDomainCrosshairs() {
    if (this.xCrosshairs.isEmpty()) {
        return;  // nothing to do
    }
    List<Crosshair> crosshairs = getDomainCrosshairs();
    for (Crosshair c : crosshairs) {
        this.xCrosshairs.remove(c);
        c.removePropertyChangeListener(this);
    }
    fireOverlayChanged();
}
 
开发者ID:jfree,项目名称:jfreechart,代码行数:16,代码来源:CrosshairOverlay.java

示例6: clearRangeCrosshairs

import org.jfree.chart.plot.Crosshair; //导入方法依赖的package包/类
/**
 * Clears all the range crosshairs from the overlay and sends an
 * {@link OverlayChangeEvent} to all registered listeners.
 */
public void clearRangeCrosshairs() {
    if (this.yCrosshairs.isEmpty()) {
        return;  // nothing to do
    }
    List<Crosshair> crosshairs = getRangeCrosshairs();
    for (Crosshair c : crosshairs) {
        this.yCrosshairs.remove(c);
        c.removePropertyChangeListener(this);
    }
    fireOverlayChanged();
}
 
开发者ID:jfree,项目名称:jfreechart,代码行数:16,代码来源:CrosshairOverlay.java

示例7: removeDomainCrosshair

import org.jfree.chart.plot.Crosshair; //导入方法依赖的package包/类
public void removeDomainCrosshair(Crosshair crosshair) {
    if (crosshair == null) {
        throw new IllegalArgumentException("Null 'crosshair' argument.");
    }
    if (this.xCrosshairs.remove(crosshair)) {
        crosshair.removePropertyChangeListener(this);
        fireOverlayChanged();
    }
}
 
开发者ID:lulab,项目名称:PI,代码行数:10,代码来源:CrosshairOverlay.java

示例8: clearDomainCrosshairs

import org.jfree.chart.plot.Crosshair; //导入方法依赖的package包/类
public void clearDomainCrosshairs() {
    if (this.xCrosshairs.isEmpty()) {
        return;  // nothing to do
    }
    List crosshairs = getDomainCrosshairs();
    for (int i = 0; i < crosshairs.size(); i++) {
        Crosshair c = (Crosshair) crosshairs.get(i);
        this.xCrosshairs.remove(c);
        c.removePropertyChangeListener(this);
    }
    fireOverlayChanged();
}
 
开发者ID:lulab,项目名称:PI,代码行数:13,代码来源:CrosshairOverlay.java

示例9: removeRangeCrosshair

import org.jfree.chart.plot.Crosshair; //导入方法依赖的package包/类
public void removeRangeCrosshair(Crosshair crosshair) {
    if (crosshair == null) {
        throw new IllegalArgumentException("Null 'crosshair' argument.");
    }
    if (this.yCrosshairs.remove(crosshair)) {
        crosshair.removePropertyChangeListener(this);
        fireOverlayChanged();
    }
}
 
开发者ID:lulab,项目名称:PI,代码行数:10,代码来源:CrosshairOverlay.java

示例10: clearRangeCrosshairs

import org.jfree.chart.plot.Crosshair; //导入方法依赖的package包/类
public void clearRangeCrosshairs() {
    if (this.yCrosshairs.isEmpty()) {
        return;  // nothing to do
    }
    List crosshairs = getRangeCrosshairs();
    for (int i = 0; i < crosshairs.size(); i++) {
        Crosshair c = (Crosshair) crosshairs.get(i);
        this.yCrosshairs.remove(c);
        c.removePropertyChangeListener(this);
    }
    fireOverlayChanged();
}
 
开发者ID:lulab,项目名称:PI,代码行数:13,代码来源:CrosshairOverlay.java

示例11: removeDomainCrosshair

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

示例12: removeRangeCrosshair

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

示例13: removeDomainCrosshair

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

示例14: removeRangeCrosshair

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

示例15: removeDomainCrosshair

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


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