Package annotation.userforms
Class UserFormAnnotationType
- 
Field Summary
Fields inherited from class annotation.DataAnnotationType
SHORTIDCODELENGTH - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbooleancanAnnotate(Class dataUnitType) Find out whether or not a particular type of data can be annotatedbooleanprotected FormDescriptionFind the form descriptions, load form definitions if not already done.Get an optional AnnotationBinaryHandler which can be used to add the annotation information for binary files and also read data back from them.Annotations may have a species manager.getDataSelectCreator(String selectorName, boolean allowScores) Get a dialog component that can be incorporated into a larger dialog.Get the form description for this annotation (the annotation only holds one)static FormsControlGet a logger forms controller.Get an SQLLogging add on.getSymbolModifier(PamSymbolChooser symbolChooser) Some annotations may be able to set the type of symbol.Get something that can write an annotation as XMLbooleanvoidsetAnnotationOptions(AnnotationOptions annotationOptions) Methods inherited from class annotation.DataAnnotationType
autoAnnotate, getDataSelector, getShortIdCode, getTargetDataBlock, isAnnotating, setTargetDataBlock, toString, toString 
- 
Constructor Details
- 
UserFormAnnotationType
public UserFormAnnotationType() - 
UserFormAnnotationType
 
 - 
 - 
Method Details
- 
getAnnotationName
- Specified by:
 getAnnotationNamein classDataAnnotationType<UserFormAnnotation<?>>
 - 
canAnnotate
Description copied from class:DataAnnotationTypeFind out whether or not a particular type of data can be annotated- Specified by:
 canAnnotatein classDataAnnotationType<UserFormAnnotation<?>>- 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.
 
 - 
canAutoAnnotate
public boolean canAutoAnnotate()- Overrides:
 canAutoAnnotatein classDataAnnotationType<UserFormAnnotation<?>>- Returns:
 - True if annotation can be automatic (i.e. calculated rather than input by user).
 
 - 
getSettingsPanel
- Overrides:
 getSettingsPanelin classDataAnnotationType<UserFormAnnotation<?>>
 - 
hasSettingsPanel
public boolean hasSettingsPanel()- Overrides:
 hasSettingsPanelin classDataAnnotationType<UserFormAnnotation<?>>
 - 
getAnnotationOptions
- Overrides:
 getAnnotationOptionsin classDataAnnotationType<UserFormAnnotation<?>>- Returns:
 - the annotationOptions
 
 - 
setAnnotationOptions
- Overrides:
 setAnnotationOptionsin classDataAnnotationType<UserFormAnnotation<?>>- Parameters:
 annotationOptions- the annotationOptions to set
 - 
findFormDescription
Find the form descriptions, load form definitions if not already done.- Returns:
 - form description or null;
 
 - 
getFormsControl
Get a logger forms controller. This may be the main Logger forms unit, but if there isn't one, we create one anyway and use it globally for all the form annotations.- Returns:
 - Logger forms controller.
 
 - 
getUserFormAnnotationOptions
- Returns:
 - the userFormAnnotationOptions
 
 - 
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<UserFormAnnotation<?>>- Returns:
 - a dialog panel (contains a component = a few other functions).
 
 - 
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<UserFormAnnotation<?>>- Returns:
 - An SQLLoggingAddon or null if SQL logging unavailable for this type of annotation.
 
 - 
getAnnotationClass
- Specified by:
 getAnnotationClassin classDataAnnotationType<UserFormAnnotation<?>>- Returns:
 - Class type for the annotations
 
 - 
getSymbolModifier
Description copied from class:DataAnnotationTypeSome annotations may be able to set the type of symbol. This will be accessed from a datablocks SymbolManager- Overrides:
 getSymbolModifierin classDataAnnotationType<UserFormAnnotation<?>>- Returns:
 
 - 
getFormDescription
Get the form description for this annotation (the annotation only holds one)- Returns:
 - form description. Will be null if not configured.
 
 - 
getBinaryHandler
Description copied from class:DataAnnotationTypeGet an optional AnnotationBinaryHandler which can be used to add the annotation information for binary files and also read data back from them.- Overrides:
 getBinaryHandlerin classDataAnnotationType<UserFormAnnotation<?>>- Returns:
 - handler for binary data i/o.
 
 - 
getDataSelectCreator
- Overrides:
 getDataSelectCreatorin classDataAnnotationType<UserFormAnnotation<?>>
 - 
getXMLWriter
Description copied from class:DataAnnotationTypeGet something that can write an annotation as XML- Overrides:
 getXMLWriterin classDataAnnotationType<UserFormAnnotation<?>>- Returns:
 
 - 
getDataBlockSpeciesManager
Description copied from class:DataAnnotationTypeAnnotations may have a species manager. Most won't.- Overrides:
 getDataBlockSpeciesManagerin classDataAnnotationType<UserFormAnnotation<?>>- Returns:
 
 
 -