org.jfree.chart.event.ChartProgressListener Java Examples

The following examples show how to use org.jfree.chart.event.ChartProgressListener. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: JFreeChart.java    From astor with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Sends a {@link ChartProgressEvent} to all registered listeners.
 *
 * @param event  information about the event that triggered the 
 *               notification.
 */
protected void notifyListeners(ChartProgressEvent event) {

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

}
 
Example #2
Source File: jKali_0052_s.java    From coming with MIT License 5 votes vote down vote up
/**
 * Sends a {@link ChartProgressEvent} to all registered listeners.
 *
 * @param event  information about the event that triggered the 
 *               notification.
 */
protected void notifyListeners(ChartProgressEvent event) {

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

}
 
Example #3
Source File: JGenProg2017_00106_s.java    From coming with MIT License 5 votes vote down vote up
/**
 * Sends a {@link ChartProgressEvent} to all registered listeners.
 *
 * @param event  information about the event that triggered the 
 *               notification.
 */
protected void notifyListeners(ChartProgressEvent event) {

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

}
 
Example #4
Source File: JGenProg2017_003_t.java    From coming with MIT License 5 votes vote down vote up
/**
 * Sends a {@link ChartProgressEvent} to all registered listeners.
 *
 * @param event  information about the event that triggered the 
 *               notification.
 */
protected void notifyListeners(ChartProgressEvent event) {

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

}
 
Example #5
Source File: Cardumen_00193_t.java    From coming with MIT License 5 votes vote down vote up
/**
 * Sends a {@link ChartProgressEvent} to all registered listeners.
 *
 * @param event  information about the event that triggered the 
 *               notification.
 */
protected void notifyListeners(ChartProgressEvent event) {

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

}
 
Example #6
Source File: Cardumen_00193_s.java    From coming with MIT License 5 votes vote down vote up
/**
 * Sends a {@link ChartProgressEvent} to all registered listeners.
 *
 * @param event  information about the event that triggered the 
 *               notification.
 */
protected void notifyListeners(ChartProgressEvent event) {

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

}
 
Example #7
Source File: JFreeChart.java    From opensim-gui with Apache License 2.0 5 votes vote down vote up
/**
 * Sends a {@link ChartProgressEvent} to all registered listeners.
 *
 * @param event  information about the event that triggered the 
 *               notification.
 */
protected void notifyListeners(ChartProgressEvent event) {

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

}
 
Example #8
Source File: jKali_0052_t.java    From coming with MIT License 5 votes vote down vote up
/**
 * Sends a {@link ChartProgressEvent} to all registered listeners.
 *
 * @param event  information about the event that triggered the 
 *               notification.
 */
protected void notifyListeners(ChartProgressEvent event) {

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

}
 
Example #9
Source File: JFreeChart.java    From ccu-historian with GNU General Public License v3.0 5 votes vote down vote up
/**
 * Sends a {@link ChartProgressEvent} to all registered listeners.
 *
 * @param event  information about the event that triggered the
 *               notification.
 */
protected void notifyListeners(ChartProgressEvent event) {

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

}
 
Example #10
Source File: JFreeChart.java    From ECG-Viewer with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Sends a {@link ChartProgressEvent} to all registered listeners.
 *
 * @param event  information about the event that triggered the
 *               notification.
 */
protected void notifyListeners(ChartProgressEvent event) {

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

}
 
Example #11
Source File: JGenProg2017_00104_s.java    From coming with MIT License 5 votes vote down vote up
/**
 * Sends a {@link ChartProgressEvent} to all registered listeners.
 *
 * @param event  information about the event that triggered the 
 *               notification.
 */
protected void notifyListeners(ChartProgressEvent event) {

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

}
 
Example #12
Source File: JFreeChart.java    From openstock with GNU General Public License v3.0 5 votes vote down vote up
/**
 * Sends a {@link ChartProgressEvent} to all registered listeners.
 *
 * @param event  information about the event that triggered the
 *               notification.
 */
protected void notifyListeners(ChartProgressEvent event) {

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

}
 
Example #13
Source File: JGenProg2017_00104_t.java    From coming with MIT License 5 votes vote down vote up
/**
 * Sends a {@link ChartProgressEvent} to all registered listeners.
 *
 * @param event  information about the event that triggered the 
 *               notification.
 */
protected void notifyListeners(ChartProgressEvent event) {

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

}
 
Example #14
Source File: JFreeChart.java    From SIMVA-SoS with Apache License 2.0 5 votes vote down vote up
/**
 * Sends a {@link ChartProgressEvent} to all registered listeners.
 *
 * @param event  information about the event that triggered the
 *               notification.
 */
protected void notifyListeners(ChartProgressEvent event) {

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

}
 
Example #15
Source File: JGenProg2017_00106_t.java    From coming with MIT License 5 votes vote down vote up
/**
 * Sends a {@link ChartProgressEvent} to all registered listeners.
 *
 * @param event  information about the event that triggered the 
 *               notification.
 */
protected void notifyListeners(ChartProgressEvent event) {

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

}
 
Example #16
Source File: JGenProg2015_000_s.java    From coming with MIT License 5 votes vote down vote up
/**
 * Sends a {@link ChartProgressEvent} to all registered listeners.
 *
 * @param event  information about the event that triggered the 
 *               notification.
 */
protected void notifyListeners(ChartProgressEvent event) {

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

}
 
Example #17
Source File: Cardumen_00241_s.java    From coming with MIT License 5 votes vote down vote up
/**
 * Sends a {@link ChartProgressEvent} to all registered listeners.
 *
 * @param event  information about the event that triggered the 
 *               notification.
 */
protected void notifyListeners(ChartProgressEvent event) {

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

}
 
Example #18
Source File: JFreeChart.java    From astor with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Sends a {@link ChartProgressEvent} to all registered listeners.
 *
 * @param event  information about the event that triggered the
 *               notification.
 */
protected void notifyListeners(ChartProgressEvent event) {

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

}
 
Example #19
Source File: Cardumen_0077_s.java    From coming with MIT License 5 votes vote down vote up
/**
 * Sends a {@link ChartProgressEvent} to all registered listeners.
 *
 * @param event  information about the event that triggered the 
 *               notification.
 */
protected void notifyListeners(ChartProgressEvent event) {

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

}
 
Example #20
Source File: JGenProg2017_003_s.java    From coming with MIT License 5 votes vote down vote up
/**
 * Sends a {@link ChartProgressEvent} to all registered listeners.
 *
 * @param event  information about the event that triggered the 
 *               notification.
 */
protected void notifyListeners(ChartProgressEvent event) {

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

}
 
Example #21
Source File: JGenProg2015_000_t.java    From coming with MIT License 5 votes vote down vote up
/**
 * Sends a {@link ChartProgressEvent} to all registered listeners.
 *
 * @param event  information about the event that triggered the 
 *               notification.
 */
protected void notifyListeners(ChartProgressEvent event) {

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

}
 
Example #22
Source File: Cardumen_0077_t.java    From coming with MIT License 5 votes vote down vote up
/**
 * Sends a {@link ChartProgressEvent} to all registered listeners.
 *
 * @param event  information about the event that triggered the 
 *               notification.
 */
protected void notifyListeners(ChartProgressEvent event) {

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

}
 
Example #23
Source File: Cardumen_003_t.java    From coming with MIT License 5 votes vote down vote up
/**
 * Sends a {@link ChartProgressEvent} to all registered listeners.
 *
 * @param event  information about the event that triggered the 
 *               notification.
 */
protected void notifyListeners(ChartProgressEvent event) {

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

}
 
Example #24
Source File: Cardumen_00141_s.java    From coming with MIT License 5 votes vote down vote up
/**
 * Sends a {@link ChartProgressEvent} to all registered listeners.
 *
 * @param event  information about the event that triggered the 
 *               notification.
 */
protected void notifyListeners(ChartProgressEvent event) {

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

}
 
Example #25
Source File: JGenProg2017_00127_t.java    From coming with MIT License 5 votes vote down vote up
/**
 * Sends a {@link ChartProgressEvent} to all registered listeners.
 *
 * @param event  information about the event that triggered the 
 *               notification.
 */
protected void notifyListeners(ChartProgressEvent event) {

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

}
 
Example #26
Source File: Cardumen_00141_t.java    From coming with MIT License 5 votes vote down vote up
/**
 * Sends a {@link ChartProgressEvent} to all registered listeners.
 *
 * @param event  information about the event that triggered the 
 *               notification.
 */
protected void notifyListeners(ChartProgressEvent event) {

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

}
 
Example #27
Source File: Cardumen_003_s.java    From coming with MIT License 5 votes vote down vote up
/**
 * Sends a {@link ChartProgressEvent} to all registered listeners.
 *
 * @param event  information about the event that triggered the 
 *               notification.
 */
protected void notifyListeners(ChartProgressEvent event) {

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

}
 
Example #28
Source File: Cardumen_00241_t.java    From coming with MIT License 5 votes vote down vote up
/**
 * Sends a {@link ChartProgressEvent} to all registered listeners.
 *
 * @param event  information about the event that triggered the 
 *               notification.
 */
protected void notifyListeners(ChartProgressEvent event) {

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

}
 
Example #29
Source File: JGenProg2015_000_s.java    From coming with MIT License 2 votes vote down vote up
/**
 * Registers an object for notification of progress events relating to the 
 * chart.
 *
 * @param listener  the object being registered.
 * 
 * @see #removeProgressListener(ChartProgressListener)
 */
public void addProgressListener(ChartProgressListener listener) {
    this.progressListeners.add(ChartProgressListener.class, listener);
}
 
Example #30
Source File: JFreeChart.java    From opensim-gui with Apache License 2.0 2 votes vote down vote up
/**
 * Deregisters an object for notification of changes to the chart.
 *
 * @param listener  the object being deregistered.
 */
public void removeProgressListener(ChartProgressListener listener) {
    this.progressListeners.remove(ChartProgressListener.class, listener);
}