org.annotation.wordfreak.scheme
Class POSAnnotationScheme

java.lang.Object
  extended byorg.annotation.wordfreak.scheme.AnnotationScheme
      extended byorg.annotation.wordfreak.scheme.POSAnnotationScheme
All Implemented Interfaces:
AnnotatedFileListener, ChooserListener, java.util.EventListener, Plugin, javax.swing.event.TreeModelListener, UndoListener, ViewerListener, WordFreakKeyboardFocusManager.HotKeyListener

public class POSAnnotationScheme
extends AnnotationScheme


Nested Class Summary
 
Nested classes inherited from class org.annotation.wordfreak.scheme.AnnotationScheme
AnnotationScheme.POSFeature
 
Field Summary
 
Fields inherited from class org.annotation.wordfreak.scheme.AnnotationScheme
_ADD, _MOVE, _RELOAD, _REMOVE, _UPDATE, ANNOTATE, annotationFilter, annotator, annotatorName, canCreateAnnotations, chooser, chooserWidth, COADJUST, COADJUSTLEFT, COADJUSTRIGHT, codes, coloredWords, colors, colorTable, COMMENT, config, configLoaded, confineToBase, currentFile, DEFAULT_ACTION, defaultType, END, files, findIndex, FLATLEFT, FLATNEXT, FLATPREV, FLATRIGHT, groups, GROWLEFT, GROWRIGHT, guiListener, HOME, icons, index, INSERT, JUMP, L2R, LEFT, listeners, navigator, NEXT, NEXTCHUNK, NORM, one2one, one2oneFeature, one2oneValue, orientation, OUTCOME_CODES, OUTCOME_COLORS, OUTCOME_NAMES, outcomes, PREV, PREVCHUNK, R2L, REMOVE, RIGHT, selectedAnnotations, selEnd, selStart, SHRINKLEFT, SHRINKRIGHT, sortCriteria, sorted, sortedIndex, SPLIT, splita, splitb, type, typeMap, typeName, types, update, UPDATE, view, views
 
Constructor Summary
POSAnnotationScheme(java.lang.String type)
           
POSAnnotationScheme(java.lang.String type, Chooser c)
           
 
Method Summary
 void addAnnotationSchemeListener(AnnotationSchemeListener al)
          Registers the specified listener for annotation scheme callbacks.
static java.lang.String[] getNames()
          Returns the list of Strings that can be passed to the contsructor to specify which scheme behavior to use.
 boolean handlesAnnotation(Annotation a)
           
 boolean handlesBaseAnnotation(Annotation a)
           
protected  void initOutcomes()
          Initalizes the set of outcomes that this scheme can assign an annotation.
 void updateOutcomes(Annotation a)
          Changes the possible outcomes or their order as appropiate.
 
Methods inherited from class org.annotation.wordfreak.scheme.AnnotationScheme
adjudicationMatch, adjudicationMatch, annotatedFile, annotationFromMouse, annotationFromMouse, buildSwatches, closeAnnotatedFile, colorize, createChooser, createView, dispose, down, end, filter, findExpression, findExpressionAgain, flatNext, flatPrev, getAdjudicationData, getAnnotation, getAnnotation, getAnnotationFilter, getAnnotationsFromFile, getAnnotationsFromOffsets, getAnnotationSize, getChooser, getColorScheme, getConfineToBase, getCurrentAnnotation, getDefaultType, getPropertyName, getSelectionMode, getSortedIndex, getValuesForFeature, handlesRelation, hilightChunk, home, hotKeyPressed, indexOfAnnotation, isOutcome, jumpToMark, linkAnnotation, moveAnnotation, next, nextFile, nextOutcome, notifyListeners, notifyListeners, offsetToIndex, prev, prevFile, prevOutcome, process, redoPerformed, reload, reloadFiles, removeAllAnnotationSchemeListeners, removeAnnotation, removeAnnotation, removeAnnotationSchemeListener, selectCurrentAnnotation, set, set, set, set, setAnnotatedFile, setAnnotation, setAnnotationFilter, setAnnotationView, setAnnotator, setAnnotatorName, setChooser, setChunkNavigation, setConfig, setConfineToBase, setFeature, setGuiListener, setJumpAfterAnnotation, setMark, setNavigator, setOneToOne, setOneToOne, setOrientation, setSelection, setSelection, setSelectionEnd, setSelectionMode, setSelectionStart, setSelEnd, setSortedIndex, setSortScheme, setTypeName, trackAnnotation, treeNodesChanged, treeNodesInserted, treeNodesRemoved, treeStructureChanged, undoPerformed, up, viewCreated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

POSAnnotationScheme

public POSAnnotationScheme(java.lang.String type)

POSAnnotationScheme

public POSAnnotationScheme(java.lang.String type,
                           Chooser c)
Method Detail

initOutcomes

protected void initOutcomes()
Description copied from class: AnnotationScheme
Initalizes the set of outcomes that this scheme can assign an annotation.

Specified by:
initOutcomes in class AnnotationScheme

getNames

public static java.lang.String[] getNames()
Description copied from class: AnnotationScheme
Returns the list of Strings that can be passed to the contsructor to specify which scheme behavior to use.


addAnnotationSchemeListener

public void addAnnotationSchemeListener(AnnotationSchemeListener al)
Description copied from class: AnnotationScheme
Registers the specified listener for annotation scheme callbacks.

Overrides:
addAnnotationSchemeListener in class AnnotationScheme
Parameters:
al - The object that will recieve the callbacks.

handlesAnnotation

public boolean handlesAnnotation(Annotation a)
Overrides:
handlesAnnotation in class AnnotationScheme

handlesBaseAnnotation

public boolean handlesBaseAnnotation(Annotation a)
Overrides:
handlesBaseAnnotation in class AnnotationScheme

updateOutcomes

public void updateOutcomes(Annotation a)
Description copied from class: AnnotationScheme
Changes the possible outcomes or their order as appropiate.

Overrides:
updateOutcomes in class AnnotationScheme


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