|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.hogent.tarsos.ui.pitch.ph.KDEData
public class KDEData
Method Summary | |
---|---|
void |
addAnnotation(Annotation annotation)
Add an annotation to the element. |
void |
annotationsAdded()
Is called after a list of annotations is added. |
void |
audioFileChanged(AudioFile newAudioFile)
|
void |
clearAnnotations()
Clears all annotations. |
void |
extractionFinished()
A hook to react to annotation extraction. |
void |
extractionStarted()
A hook to react to annotation extraction. |
static KDEData |
getInstance()
|
java.util.HashMap<PitchDetectionMode,KernelDensityEstimate> |
getKDEs()
|
boolean |
isEmpty()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static KDEData getInstance()
public boolean isEmpty()
public void audioFileChanged(AudioFile newAudioFile)
audioFileChanged
in interface AudioFileChangedListener
public void addAnnotation(Annotation annotation)
AnnotationListener
addAnnotation
in interface AnnotationListener
annotation
- The annotation to add: this method is called a lot. After a
clearAnnotations() call a very large number of annotations is
possible. So efficiently adding annotations should be possible
or threaded.public java.util.HashMap<PitchDetectionMode,KernelDensityEstimate> getKDEs()
public void clearAnnotations()
AnnotationListener
clearAnnotations
in interface AnnotationListener
public void annotationsAdded()
AnnotationListener
annotationsAdded
in interface AnnotationListener
public void extractionStarted()
AnnotationListener
extractionStarted
in interface AnnotationListener
public void extractionFinished()
AnnotationListener
extractionFinished
in interface AnnotationListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |