org.jfugue
Interface PatternListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
PatternListenerAdapter, StreamingPlayer

public interface PatternListener
extends java.util.EventListener

Classes that implement PatternListener and add themselves as listeners to a Pattern object will receive events when new fragments are added to a Pattern. This is mostly intended to be used by the Player for handling streaming music.

Version:
3.0
Author:
David Koelle
See Also:
Pattern, Player

Method Summary
 void fragmentAdded(Pattern fragment)
          Called when a new fragment has been added to a pattern
 

Method Detail

fragmentAdded

void fragmentAdded(Pattern fragment)
Called when a new fragment has been added to a pattern

Parameters:
pattern - the fragment that has been added