|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.groovemanager.sampled.nondestructive.AbstractSource
Abstract superclass for the implementation of a CutListSource
| Field Summary | |
|---|---|
private java.util.ArrayList |
listeners
List of ModificationListeners registered with this CutListSource |
| Constructor Summary | |
|---|---|
AbstractSource()
|
|
| Method Summary | |
|---|---|
void |
addModificationListener(ModificationListener listener)
Add a ModificationListener to this source that will be notified of any changes |
protected void |
notifyListeners()
Notify all registered ModificationListeners about a change made to this CutListSource |
void |
removeModificationListener(ModificationListener listener)
Remove a ModificationListener from this source |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.groovemanager.sampled.nondestructive.CutListSource |
|---|
duplicate, getAudioInputStream, getLength, getWaveForm, isReady, replaceFile, usesFile |
| Field Detail |
|---|
private java.util.ArrayList listeners
| Constructor Detail |
|---|
public AbstractSource()
| Method Detail |
|---|
public void addModificationListener(ModificationListener listener)
CutListSource
addModificationListener in interface CutListSourcelistener - The ModificationListener to addCutListSource.addModificationListener(com.groovemanager.sampled.nondestructive.ModificationListener)protected void notifyListeners()
public void removeModificationListener(ModificationListener listener)
CutListSource
removeModificationListener in interface CutListSourcelistener - The ModificationListener to removeCutListSource.removeModificationListener(com.groovemanager.sampled.nondestructive.ModificationListener)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||