Search in sources :

Example 1 with PlayModeListener

use of blue.event.PlayModeListener in project blue by kunstmusik.

the class CommandlineRunner method notifyPlayModeListeners.

protected void notifyPlayModeListeners(int playMode) {
    for (Iterator iter = listeners.iterator(); iter.hasNext(); ) {
        PlayModeListener listener = (PlayModeListener) iter.next();
        listener.playModeChanged(playMode);
    }
}
Also used : PlayModeListener(blue.event.PlayModeListener) Iterator(java.util.Iterator)

Example 2 with PlayModeListener

use of blue.event.PlayModeListener in project blue by kunstmusik.

the class CS6DiskRendererService method notifyPlayModeListeners.

public void notifyPlayModeListeners(int playMode) {
    for (Iterator iter = listeners.iterator(); iter.hasNext(); ) {
        PlayModeListener listener = (PlayModeListener) iter.next();
        listener.playModeChanged(playMode);
    }
}
Also used : PlayModeListener(blue.event.PlayModeListener) Iterator(java.util.Iterator)

Example 3 with PlayModeListener

use of blue.event.PlayModeListener in project blue by kunstmusik.

the class CS6RealtimeRenderService method notifyPlayModeListeners.

protected void notifyPlayModeListeners(int playMode) {
    if (listeners == null) {
        return;
    }
    for (Iterator<PlayModeListener> iter = listeners.iterator(); iter.hasNext(); ) {
        PlayModeListener listener = iter.next();
        listener.playModeChanged(playMode);
    }
}
Also used : PlayModeListener(blue.event.PlayModeListener)

Aggregations

PlayModeListener (blue.event.PlayModeListener)3 Iterator (java.util.Iterator)2