Java 类org.jfree.chart.event.AnnotationChangeEvent 实例源码

项目:ccu-historian    文件:XYPlot.java   
/**
 * Receives notification of a change to an {@link Annotation} added to
 * this plot.
 *
 * @param event  information about the event (not used here).
 *
 * @since 1.0.14
 */
@Override
public void annotationChanged(AnnotationChangeEvent event) {
    if (getParent() != null) {
        getParent().annotationChanged(event);
    }
    else {
        PlotChangeEvent e = new PlotChangeEvent(this);
        notifyListeners(e);
    }
}
项目:ccu-historian    文件:CategoryPlot.java   
/**
 * Receives notification of a change to an {@link Annotation} added to
 * this plot.
 *
 * @param event  information about the event (not used here).
 *
 * @since 1.0.14
 */
@Override
public void annotationChanged(AnnotationChangeEvent event) {
    if (getParent() != null) {
        getParent().annotationChanged(event);
    } else {
        PlotChangeEvent e = new PlotChangeEvent(this);
        notifyListeners(e);
    }
}
项目:ccu-historian    文件:AbstractAnnotation.java   
/**
 * Notifies all registered listeners that the annotation has changed.
 *
 * @param event  contains information about the event that triggered the
 *               notification.
 *
 * @see #addChangeListener(AnnotationChangeListener)
 * @see #removeChangeListener(AnnotationChangeListener)
 */
protected void notifyListeners(AnnotationChangeEvent event) {

    Object[] listeners = this.listenerList.getListenerList();
    for (int i = listeners.length - 2; i >= 0; i -= 2) {
        if (listeners[i] == AnnotationChangeListener.class) {
            ((AnnotationChangeListener) listeners[i + 1]).annotationChanged(
                    event);
        }
    }

}
项目:jfreechart    文件:XYPlot.java   
/**
 * Receives notification of a change to an {@link Annotation} added to
 * this plot.
 *
 * @param event  information about the event (not used here).
 *
 * @since 1.0.14
 */
@Override
public void annotationChanged(AnnotationChangeEvent event) {
    if (getParent() != null) {
        getParent().annotationChanged(event);
    }
    else {
        PlotChangeEvent e = new PlotChangeEvent(this);
        notifyListeners(e);
    }
}
项目:jfreechart    文件:CategoryPlot.java   
/**
 * Receives notification of a change to an {@link Annotation} added to
 * this plot.
 *
 * @param event  information about the event (not used here).
 *
 * @since 1.0.14
 */
@Override
public void annotationChanged(AnnotationChangeEvent event) {
    if (getParent() != null) {
        getParent().annotationChanged(event);
    } else {
        PlotChangeEvent e = new PlotChangeEvent(this);
        notifyListeners(e);
    }
}
项目:jfreechart    文件:AbstractAnnotation.java   
/**
 * Notifies all registered listeners that the annotation has changed.
 *
 * @param event  contains information about the event that triggered the
 *               notification.
 *
 * @see #addChangeListener(AnnotationChangeListener)
 * @see #removeChangeListener(AnnotationChangeListener)
 */
protected void notifyListeners(AnnotationChangeEvent event) {

    Object[] listeners = this.listenerList.getListenerList();
    for (int i = listeners.length - 2; i >= 0; i -= 2) {
        if (listeners[i] == AnnotationChangeListener.class) {
            ((AnnotationChangeListener) listeners[i + 1]).annotationChanged(
                    event);
        }
    }

}
项目:aya-lang    文件:XYPlot.java   
/**
 * Receives notification of a change to an {@link Annotation} added to
 * this plot.
 *
 * @param event  information about the event (not used here).
 *
 * @since 1.0.14
 */
@Override
public void annotationChanged(AnnotationChangeEvent event) {
    if (getParent() != null) {
        getParent().annotationChanged(event);
    }
    else {
        PlotChangeEvent e = new PlotChangeEvent(this);
        notifyListeners(e);
    }
}
项目:aya-lang    文件:CategoryPlot.java   
/**
 * Receives notification of a change to an {@link Annotation} added to
 * this plot.
 *
 * @param event  information about the event (not used here).
 *
 * @since 1.0.14
 */
@Override
public void annotationChanged(AnnotationChangeEvent event) {
    if (getParent() != null) {
        getParent().annotationChanged(event);
    } else {
        PlotChangeEvent e = new PlotChangeEvent(this);
        notifyListeners(e);
    }
}
项目:aya-lang    文件:AbstractAnnotation.java   
/**
 * Notifies all registered listeners that the annotation has changed.
 *
 * @param event  contains information about the event that triggered the
 *               notification.
 *
 * @see #addChangeListener(AnnotationChangeListener)
 * @see #removeChangeListener(AnnotationChangeListener)
 */
protected void notifyListeners(AnnotationChangeEvent event) {

    Object[] listeners = this.listenerList.getListenerList();
    for (int i = listeners.length - 2; i >= 0; i -= 2) {
        if (listeners[i] == AnnotationChangeListener.class) {
            ((AnnotationChangeListener) listeners[i + 1]).annotationChanged(
                    event);
        }
    }

}
项目:populus    文件:XYPlot.java   
/**
 * Receives notification of a change to an {@link Annotation} added to
 * this plot.
 *
 * @param event  information about the event (not used here).
 *
 * @since 1.0.14
 */
@Override
public void annotationChanged(AnnotationChangeEvent event) {
    if (getParent() != null) {
        getParent().annotationChanged(event);
    }
    else {
        PlotChangeEvent e = new PlotChangeEvent(this);
        notifyListeners(e);
    }
}
项目:populus    文件:CategoryPlot.java   
/**
 * Receives notification of a change to an {@link Annotation} added to
 * this plot.
 *
 * @param event  information about the event (not used here).
 *
 * @since 1.0.14
 */
@Override
public void annotationChanged(AnnotationChangeEvent event) {
    if (getParent() != null) {
        getParent().annotationChanged(event);
    } else {
        PlotChangeEvent e = new PlotChangeEvent(this);
        notifyListeners(e);
    }
}
项目:populus    文件:AbstractAnnotation.java   
/**
 * Notifies all registered listeners that the annotation has changed.
 *
 * @param event  contains information about the event that triggered the
 *               notification.
 *
 * @see #addChangeListener(AnnotationChangeListener)
 * @see #removeChangeListener(AnnotationChangeListener)
 */
protected void notifyListeners(AnnotationChangeEvent event) {

    Object[] listeners = this.listenerList.getListenerList();
    for (int i = listeners.length - 2; i >= 0; i -= 2) {
        if (listeners[i] == AnnotationChangeListener.class) {
            ((AnnotationChangeListener) listeners[i + 1]).annotationChanged(
                    event);
        }
    }

}
项目:ECG-Viewer    文件:XYPlot.java   
/**
 * Receives notification of a change to an {@link Annotation} added to
 * this plot.
 *
 * @param event  information about the event (not used here).
 *
 * @since 1.0.14
 */
@Override
public void annotationChanged(AnnotationChangeEvent event) {
    if (getParent() != null) {
        getParent().annotationChanged(event);
    }
    else {
        PlotChangeEvent e = new PlotChangeEvent(this);
        notifyListeners(e);
    }
}
项目:ECG-Viewer    文件:CategoryPlot.java   
/**
 * Receives notification of a change to an {@link Annotation} added to
 * this plot.
 *
 * @param event  information about the event (not used here).
 *
 * @since 1.0.14
 */
@Override
public void annotationChanged(AnnotationChangeEvent event) {
    if (getParent() != null) {
        getParent().annotationChanged(event);
    } else {
        PlotChangeEvent e = new PlotChangeEvent(this);
        notifyListeners(e);
    }
}
项目:ECG-Viewer    文件:AbstractAnnotation.java   
/**
 * Notifies all registered listeners that the annotation has changed.
 *
 * @param event  contains information about the event that triggered the
 *               notification.
 *
 * @see #addChangeListener(AnnotationChangeListener)
 * @see #removeChangeListener(AnnotationChangeListener)
 */
protected void notifyListeners(AnnotationChangeEvent event) {

    Object[] listeners = this.listenerList.getListenerList();
    for (int i = listeners.length - 2; i >= 0; i -= 2) {
        if (listeners[i] == AnnotationChangeListener.class) {
            ((AnnotationChangeListener) listeners[i + 1]).annotationChanged(
                    event);
        }
    }

}
项目:astor    文件:XYPlot.java   
/**
 * Receives notification of a change to an {@link Annotation} added to
 * this plot.
 *
 * @param event  information about the event (not used here).
 *
 * @since 1.0.14
 */
public void annotationChanged(AnnotationChangeEvent event) {
    if (getParent() != null) {
        getParent().annotationChanged(event);
    }
    else {
        PlotChangeEvent e = new PlotChangeEvent(this);
        notifyListeners(e);
    }
}
项目:astor    文件:CategoryPlot.java   
/**
 * Receives notification of a change to an {@link Annotation} added to
 * this plot.
 *
 * @param event  information about the event (not used here).
 *
 * @since 1.0.14
 */
public void annotationChanged(AnnotationChangeEvent event) {
    if (getParent() != null) {
        getParent().annotationChanged(event);
    }
    else {
        PlotChangeEvent e = new PlotChangeEvent(this);
        notifyListeners(e);
    }
}
项目:astor    文件:AbstractAnnotation.java   
/**
 * Notifies all registered listeners that the annotation has changed.
 *
 * @param event  contains information about the event that triggered the
 *               notification.
 *
 * @see #addChangeListener(AnnotationChangeListener)
 * @see #removeChangeListener(AnnotationChangeListener)
 */
protected void notifyListeners(AnnotationChangeEvent event) {

    Object[] listeners = this.listenerList.getListenerList();
    for (int i = listeners.length - 2; i >= 0; i -= 2) {
        if (listeners[i] == AnnotationChangeListener.class) {
            ((AnnotationChangeListener) listeners[i + 1]).annotationChanged(
                    event);
        }
    }

}
项目:group-five    文件:XYPlot.java   
/**
 * Receives notification of a change to an {@link Annotation} added to
 * this plot.
 *
 * @param event  information about the event (not used here).
 *
 * @since 1.0.14
 */
@Override
public void annotationChanged(AnnotationChangeEvent event) {
    if (getParent() != null) {
        getParent().annotationChanged(event);
    }
    else {
        PlotChangeEvent e = new PlotChangeEvent(this);
        notifyListeners(e);
    }
}
项目:group-five    文件:CategoryPlot.java   
/**
 * Receives notification of a change to an {@link Annotation} added to
 * this plot.
 *
 * @param event  information about the event (not used here).
 *
 * @since 1.0.14
 */
@Override
public void annotationChanged(AnnotationChangeEvent event) {
    if (getParent() != null) {
        getParent().annotationChanged(event);
    } else {
        PlotChangeEvent e = new PlotChangeEvent(this);
        notifyListeners(e);
    }
}
项目:group-five    文件:AbstractAnnotation.java   
/**
 * Notifies all registered listeners that the annotation has changed.
 *
 * @param event  contains information about the event that triggered the
 *               notification.
 *
 * @see #addChangeListener(AnnotationChangeListener)
 * @see #removeChangeListener(AnnotationChangeListener)
 */
protected void notifyListeners(AnnotationChangeEvent event) {

    Object[] listeners = this.listenerList.getListenerList();
    for (int i = listeners.length - 2; i >= 0; i -= 2) {
        if (listeners[i] == AnnotationChangeListener.class) {
            ((AnnotationChangeListener) listeners[i + 1]).annotationChanged(
                    event);
        }
    }

}
项目:manydesigns.cn    文件:XYPlot.java   
/**
 * Receives notification of a change to an {@link Annotation} added to
 * this plot.
 *
 * @param event  information about the event (not used here).
 *
 * @since 1.0.14
 */
@Override
public void annotationChanged(AnnotationChangeEvent event) {
    if (getParent() != null) {
        getParent().annotationChanged(event);
    }
    else {
        PlotChangeEvent e = new PlotChangeEvent(this);
        notifyListeners(e);
    }
}
项目:manydesigns.cn    文件:CategoryPlot.java   
/**
 * Receives notification of a change to an {@link Annotation} added to
 * this plot.
 *
 * @param event  information about the event (not used here).
 *
 * @since 1.0.14
 */
@Override
public void annotationChanged(AnnotationChangeEvent event) {
    if (getParent() != null) {
        getParent().annotationChanged(event);
    }
    else {
        PlotChangeEvent e = new PlotChangeEvent(this);
        notifyListeners(e);
    }
}
项目:manydesigns.cn    文件:AbstractAnnotation.java   
/**
 * Notifies all registered listeners that the annotation has changed.
 *
 * @param event  contains information about the event that triggered the
 *               notification.
 *
 * @see #addChangeListener(AnnotationChangeListener)
 * @see #removeChangeListener(AnnotationChangeListener)
 */
protected void notifyListeners(AnnotationChangeEvent event) {

    Object[] listeners = this.listenerList.getListenerList();
    for (int i = listeners.length - 2; i >= 0; i -= 2) {
        if (listeners[i] == AnnotationChangeListener.class) {
            ((AnnotationChangeListener) listeners[i + 1]).annotationChanged(
                    event);
        }
    }

}
项目:buffer_bci    文件:XYPlot.java   
/**
 * Receives notification of a change to an {@link Annotation} added to
 * this plot.
 *
 * @param event  information about the event (not used here).
 *
 * @since 1.0.14
 */
@Override
public void annotationChanged(AnnotationChangeEvent event) {
    if (getParent() != null) {
        getParent().annotationChanged(event);
    }
    else {
        PlotChangeEvent e = new PlotChangeEvent(this);
        notifyListeners(e);
    }
}
项目:buffer_bci    文件:CategoryPlot.java   
/**
 * Receives notification of a change to an {@link Annotation} added to
 * this plot.
 *
 * @param event  information about the event (not used here).
 *
 * @since 1.0.14
 */
@Override
public void annotationChanged(AnnotationChangeEvent event) {
    if (getParent() != null) {
        getParent().annotationChanged(event);
    } else {
        PlotChangeEvent e = new PlotChangeEvent(this);
        notifyListeners(e);
    }
}
项目:buffer_bci    文件:AbstractAnnotation.java   
/**
 * Notifies all registered listeners that the annotation has changed.
 *
 * @param event  contains information about the event that triggered the
 *               notification.
 *
 * @see #addChangeListener(AnnotationChangeListener)
 * @see #removeChangeListener(AnnotationChangeListener)
 */
protected void notifyListeners(AnnotationChangeEvent event) {

    Object[] listeners = this.listenerList.getListenerList();
    for (int i = listeners.length - 2; i >= 0; i -= 2) {
        if (listeners[i] == AnnotationChangeListener.class) {
            ((AnnotationChangeListener) listeners[i + 1]).annotationChanged(
                    event);
        }
    }

}
项目:buffer_bci    文件:XYPlot.java   
/**
 * Receives notification of a change to an {@link Annotation} added to
 * this plot.
 *
 * @param event  information about the event (not used here).
 *
 * @since 1.0.14
 */
@Override
public void annotationChanged(AnnotationChangeEvent event) {
    if (getParent() != null) {
        getParent().annotationChanged(event);
    }
    else {
        PlotChangeEvent e = new PlotChangeEvent(this);
        notifyListeners(e);
    }
}
项目:buffer_bci    文件:CategoryPlot.java   
/**
 * Receives notification of a change to an {@link Annotation} added to
 * this plot.
 *
 * @param event  information about the event (not used here).
 *
 * @since 1.0.14
 */
@Override
public void annotationChanged(AnnotationChangeEvent event) {
    if (getParent() != null) {
        getParent().annotationChanged(event);
    } else {
        PlotChangeEvent e = new PlotChangeEvent(this);
        notifyListeners(e);
    }
}
项目:buffer_bci    文件:AbstractAnnotation.java   
/**
 * Notifies all registered listeners that the annotation has changed.
 *
 * @param event  contains information about the event that triggered the
 *               notification.
 *
 * @see #addChangeListener(AnnotationChangeListener)
 * @see #removeChangeListener(AnnotationChangeListener)
 */
protected void notifyListeners(AnnotationChangeEvent event) {

    Object[] listeners = this.listenerList.getListenerList();
    for (int i = listeners.length - 2; i >= 0; i -= 2) {
        if (listeners[i] == AnnotationChangeListener.class) {
            ((AnnotationChangeListener) listeners[i + 1]).annotationChanged(
                    event);
        }
    }

}
项目:proyecto-teoria-control-utn-frro    文件:XYPlot.java   
/**
 * Receives notification of a change to an {@link Annotation} added to
 * this plot.
 *
 * @param event  information about the event (not used here).
 *
 * @since 1.0.14
 */
@Override
public void annotationChanged(AnnotationChangeEvent event) {
    if (getParent() != null) {
        getParent().annotationChanged(event);
    }
    else {
        PlotChangeEvent e = new PlotChangeEvent(this);
        notifyListeners(e);
    }
}
项目:proyecto-teoria-control-utn-frro    文件:CategoryPlot.java   
/**
 * Receives notification of a change to an {@link Annotation} added to
 * this plot.
 *
 * @param event  information about the event (not used here).
 *
 * @since 1.0.14
 */
@Override
public void annotationChanged(AnnotationChangeEvent event) {
    if (getParent() != null) {
        getParent().annotationChanged(event);
    }
    else {
        PlotChangeEvent e = new PlotChangeEvent(this);
        notifyListeners(e);
    }
}
项目:proyecto-teoria-control-utn-frro    文件:AbstractAnnotation.java   
/**
 * Notifies all registered listeners that the annotation has changed.
 *
 * @param event  contains information about the event that triggered the
 *               notification.
 *
 * @see #addChangeListener(AnnotationChangeListener)
 * @see #removeChangeListener(AnnotationChangeListener)
 */
protected void notifyListeners(AnnotationChangeEvent event) {

    Object[] listeners = this.listenerList.getListenerList();
    for (int i = listeners.length - 2; i >= 0; i -= 2) {
        if (listeners[i] == AnnotationChangeListener.class) {
            ((AnnotationChangeListener) listeners[i + 1]).annotationChanged(
                    event);
        }
    }

}
项目:Memetic-Algorithm-for-TSP    文件:XYPlot.java   
/**
 * Receives notification of a change to an {@link Annotation} added to
 * this plot.
 *
 * @param event  information about the event (not used here).
 *
 * @since 1.0.14
 */
@Override
public void annotationChanged(AnnotationChangeEvent event) {
    if (getParent() != null) {
        getParent().annotationChanged(event);
    }
    else {
        PlotChangeEvent e = new PlotChangeEvent(this);
        notifyListeners(e);
    }
}
项目:Memetic-Algorithm-for-TSP    文件:CategoryPlot.java   
/**
 * Receives notification of a change to an {@link Annotation} added to
 * this plot.
 *
 * @param event  information about the event (not used here).
 *
 * @since 1.0.14
 */
@Override
public void annotationChanged(AnnotationChangeEvent event) {
    if (getParent() != null) {
        getParent().annotationChanged(event);
    }
    else {
        PlotChangeEvent e = new PlotChangeEvent(this);
        notifyListeners(e);
    }
}
项目:Memetic-Algorithm-for-TSP    文件:AbstractAnnotation.java   
/**
 * Notifies all registered listeners that the annotation has changed.
 *
 * @param event  contains information about the event that triggered the
 *               notification.
 *
 * @see #addChangeListener(AnnotationChangeListener)
 * @see #removeChangeListener(AnnotationChangeListener)
 */
protected void notifyListeners(AnnotationChangeEvent event) {

    Object[] listeners = this.listenerList.getListenerList();
    for (int i = listeners.length - 2; i >= 0; i -= 2) {
        if (listeners[i] == AnnotationChangeListener.class) {
            ((AnnotationChangeListener) listeners[i + 1]).annotationChanged(
                    event);
        }
    }

}
项目:ccu-historian    文件:AbstractAnnotation.java   
/**
 * Notifies all registered listeners that the annotation has changed.
 *
 * @see #addChangeListener(AnnotationChangeListener)
 */
protected void fireAnnotationChanged() {
    if (notify) {
        notifyListeners(new AnnotationChangeEvent(this, this));
    }
}
项目:jfreechart    文件:AbstractAnnotation.java   
/**
 * Notifies all registered listeners that the annotation has changed.
 *
 * @see #addChangeListener(AnnotationChangeListener)
 */
protected void fireAnnotationChanged() {
    if (notify) {
        notifyListeners(new AnnotationChangeEvent(this, this));
    }
}
项目:aya-lang    文件:AbstractAnnotation.java   
/**
 * Notifies all registered listeners that the annotation has changed.
 *
 * @see #addChangeListener(AnnotationChangeListener)
 */
protected void fireAnnotationChanged() {
    if (notify) {
        notifyListeners(new AnnotationChangeEvent(this, this));
    }
}
项目:populus    文件:AbstractAnnotation.java   
/**
 * Notifies all registered listeners that the annotation has changed.
 *
 * @see #addChangeListener(AnnotationChangeListener)
 */
protected void fireAnnotationChanged() {
    if (notify) {
        notifyListeners(new AnnotationChangeEvent(this, this));
    }
}