Package annotation.classifier
Class BaseClassificationAnnotationType
java.lang.Object
annotation.DataAnnotationType<BaseClassificationAnnotation>
annotation.classifier.BaseClassificationAnnotationType
public class BaseClassificationAnnotationType
extends DataAnnotationType<BaseClassificationAnnotation>
- 
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 annotatedGet an optional AnnotationBinaryHandler which can be used to add the annotation information for binary files and also read data back from them.getDataSelectCreator(String selectorName, boolean allowScores) A short identifying code which MUST be unique to the data annotation and MUST be four characters long.getSymbolModifier(PamSymbolChooser symbolChooser) Some annotations may be able to set the type of symbol.toString(BaseClassificationAnnotation dataAnnotation) Get the annotation as a string for use in tables, tool tips, etc.Methods inherited from class annotation.DataAnnotationType
autoAnnotate, canAutoAnnotate, getAnnotationOptions, getDataBlockSpeciesManager, getDataSelector, getDialogPanel, getSettingsPanel, getSQLLoggingAddon, getTargetDataBlock, getXMLWriter, hasSettingsPanel, isAnnotating, setAnnotationOptions, setTargetDataBlock, toString 
- 
Constructor Details
- 
BaseClassificationAnnotationType
 
 - 
 - 
Method Details
- 
getAnnotationName
- Specified by:
 getAnnotationNamein classDataAnnotationType<BaseClassificationAnnotation>
 - 
getAnnotationClass
- Specified by:
 getAnnotationClassin classDataAnnotationType<BaseClassificationAnnotation>- Returns:
 - Class type for the annotations
 
 - 
canAnnotate
Description copied from class:DataAnnotationTypeFind out whether or not a particular type of data can be annotated- Specified by:
 canAnnotatein classDataAnnotationType<BaseClassificationAnnotation>- 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<BaseClassificationAnnotation>- Parameters:
 dataAnnotation- Data Annotation- Returns:
 - String representation of the data
 
 - 
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<BaseClassificationAnnotation>- Returns:
 - handler for binary data i/o.
 
 - 
getShortIdCode
Description copied from class:DataAnnotationTypeA short identifying code which MUST be unique to the data annotation and MUST be four characters long. Classes can override this with something even more cryptic so long as it remains unique.- Overrides:
 getShortIdCodein classDataAnnotationType<BaseClassificationAnnotation>- Returns:
 - a four character id string.
 
 - 
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<BaseClassificationAnnotation>- Returns:
 
 - 
getDataSelectCreator
- Overrides:
 getDataSelectCreatorin classDataAnnotationType<BaseClassificationAnnotation>
 
 -