本文整理汇总了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);
}
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
}
示例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();
}
示例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();
}
}
示例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();
}
示例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();
}
}
示例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();
}
}
示例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();
}
}
示例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();
}
}
示例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();
}
}