org.annotation.wordfreak
Interface SettingsListener

All Known Implementing Classes:
AnnotationManager

public interface SettingsListener

Interface by which listeners are notified of changes in wordfreak's UI settings.


Method Summary
 void addViewer(java.lang.String name)
          Indicates that a viewer with the specified name has been added to wordfreak's UI.
 void adjudicate()
          Indicates that the user has requested to switch into adjudication mode.
 void annotate()
          Indicates that the user has requested to switch into annotation mode.
 void filter()
          Indicates that the annotation filter should be applied.
 void setAnnotationFilter(AnnotationFilter af)
          Indicates that the specified filter should be applied to annotations being displayed.
 void setAnnotationScheme(java.lang.String name)
          Indicates that a scheme with the specified name has been selected.
 void setAnnotator(java.lang.String name)
          Indicates that the annotator with the specified name has been selected.
 void setDataDirectory(java.lang.String dir)
          Indicates that the data directory has been set to the specified value.
 void setProject(Project p)
          Indicates that the specified project is being used.
 void setSavingFilter(AnnotationFilter af)
          Indicates that the specified filter should be applied to annotations being used saved.
 void setTaggingFilter(AnnotationFilter af)
          Indicates that the specified filter should be applied to annotations being automatically annotated (tagged).
 void setTrainingFilter(AnnotationFilter af)
          Indicates that the specified filter should be applied to annotations being used for training.
 void viewAnnotatedFile(AnnotationFile af)
          Indicates that the user wants the specified file to be displayed.
 

Method Detail

addViewer

public void addViewer(java.lang.String name)
Indicates that a viewer with the specified name has been added to wordfreak's UI.

Parameters:
name - The name of a viewer being used.

viewAnnotatedFile

public void viewAnnotatedFile(AnnotationFile af)
Indicates that the user wants the specified file to be displayed.

Parameters:
af - The annotation file to be displayed.

setAnnotationScheme

public void setAnnotationScheme(java.lang.String name)
Indicates that a scheme with the specified name has been selected.

Parameters:
name - The name of the scheme being used.

setDataDirectory

public void setDataDirectory(java.lang.String dir)
Indicates that the data directory has been set to the specified value. The data directory is typically used to specify the location of models for annotators.

Parameters:
dir - The path of the data directory.

setAnnotator

public void setAnnotator(java.lang.String name)
Indicates that the annotator with the specified name has been selected.

Parameters:
name - The name of the annotator being used.

setProject

public void setProject(Project p)
Indicates that the specified project is being used.

Parameters:
p - The project that is currently being used.

setAnnotationFilter

public void setAnnotationFilter(AnnotationFilter af)
Indicates that the specified filter should be applied to annotations being displayed. Only annotations which meet the specified filter criteria will be displayed.

Parameters:
af - The filter to apply to loaded annotations.

setTaggingFilter

public void setTaggingFilter(AnnotationFilter af)
Indicates that the specified filter should be applied to annotations being automatically annotated (tagged). Only annotations which meet the specified filter criteria will be tagged.

Parameters:
af - The filter to apply to tagged annotations.

setTrainingFilter

public void setTrainingFilter(AnnotationFilter af)
Indicates that the specified filter should be applied to annotations being used for training. Only annotations which meet the specified filter criteria will be used for training.

Parameters:
af - The filter to apply to annotations being used for training.

setSavingFilter

public void setSavingFilter(AnnotationFilter af)
Indicates that the specified filter should be applied to annotations being used saved. Only annotations which meet the specified filter criteria will be saved.

Parameters:
af - The filter to apply to annotations being saved.

filter

public void filter()
Indicates that the annotation filter should be applied.


annotate

public void annotate()
Indicates that the user has requested to switch into annotation mode. This is the default.


adjudicate

public void adjudicate()
Indicates that the user has requested to switch into adjudication mode.



Copyright © 2004 Thomas Morton and Jeremy LaCivita. All Rights Reserved.