Package annotation.calcs.wav
Class WavAnnotationType
Wav annotation type. Can save the raw data from an annotation to a Wav file. Can 
 automatically calculate the Wav from the time frequency box of the 
 data unit.
- Author:
 - Brian Miller
 
- 
Field Summary
Fields inherited from class annotation.DataAnnotationType
SHORTIDCODELENGTH - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionautoAnnotate(PamDataUnit pamDataUnit) Automatically annotate the data unit with this annotation.booleancanAnnotate(Class dataUnitType) Find out whether or not a particular type of data can be annotatedbooleanGet a dialog component that can be incorporated into a larger dialog.Get an SQLLogging add on.voidsetWavAnnotationPanel(WavAnnotationPanel wavAnnotationPanel) toString(WavAnnotation dataAnnotation) Get the annotation as a string for use in tables, tool tips, etc.Methods inherited from class annotation.DataAnnotationType
getAnnotationOptions, getBinaryHandler, getDataBlockSpeciesManager, getDataSelectCreator, getDataSelector, getSettingsPanel, getShortIdCode, getSymbolModifier, getTargetDataBlock, getXMLWriter, hasSettingsPanel, isAnnotating, setAnnotationOptions, setTargetDataBlock, toString 
- 
Constructor Details
- 
WavAnnotationType
public WavAnnotationType() 
 - 
 - 
Method Details
- 
getAnnotationName
- Specified by:
 getAnnotationNamein classDataAnnotationType<WavAnnotation>
 - 
canAnnotate
Description copied from class:DataAnnotationTypeFind out whether or not a particular type of data can be annotated- Specified by:
 canAnnotatein classDataAnnotationType<WavAnnotation>- Parameters:
 dataUnitType- Class of a type of data unit. Can be null in which case annotation can be stand alone.- Returns:
 - true if the data unit Class can be annotated.
 
 - 
toString
Description copied from class:DataAnnotationTypeGet the annotation as a string for use in tables, tool tips, etc.- Overrides:
 toStringin classDataAnnotationType<WavAnnotation>- Parameters:
 dataAnnotation- Data Annotation- Returns:
 - String representation of the data
 
 - 
getSQLLoggingAddon
Description copied from class:DataAnnotationTypeGet an SQLLogging add on. For stand alone annotations, this will be used to generate a stand alone database table. For annotations of existing data this will be used to add additional columns to the existing data tables.- Overrides:
 getSQLLoggingAddonin classDataAnnotationType<WavAnnotation>- Returns:
 - An SQLLoggingAddon or null if SQL logging unavailable for this type of annotation.
 
 - 
autoAnnotate
Description copied from class:DataAnnotationTypeAutomatically annotate the data unit with this annotation.- Overrides:
 autoAnnotatein classDataAnnotationType<WavAnnotation>- Parameters:
 pamDataUnit- data unit to annotate- Returns:
 - the annotation (though this should have already been added to the data unit).
 
 - 
canAutoAnnotate
public boolean canAutoAnnotate()- Overrides:
 canAutoAnnotatein classDataAnnotationType<WavAnnotation>- Returns:
 - True if annotation can be automatic (i.e. calculated rather than input by user).
 
 - 
getDialogPanel
Description copied from class:DataAnnotationTypeGet a dialog component that can be incorporated into a larger dialog.Note that this is for setting the data for a specific annotation, NOT the dialog for setting options controlling how the annotation type works.
- Overrides:
 getDialogPanelin classDataAnnotationType<WavAnnotation>- Returns:
 - a dialog panel (contains a component = a few other functions).
 
 - 
getWavAnnotationPanel
 - 
setWavAnnotationPanel
 - 
getAnnotationClass
- Specified by:
 getAnnotationClassin classDataAnnotationType<WavAnnotation>- Returns:
 - Class type for the annotations
 
 
 -