org.annotation.wordfreak.scheme
Class GenericAnnotationScheme

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

public class GenericAnnotationScheme
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
GenericAnnotationScheme(java.lang.String type)
           
 
Method Summary
protected  void createChooser()
          Instantiates a new chooser if one does not already exist and registers the chooser for scheme events and the scheme for chooser events.
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.
 
Methods inherited from class org.annotation.wordfreak.scheme.AnnotationScheme
addAnnotationSchemeListener, adjudicationMatch, adjudicationMatch, annotatedFile, annotationFromMouse, annotationFromMouse, buildSwatches, closeAnnotatedFile, colorize, 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, updateOutcomes, viewCreated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericAnnotationScheme

public GenericAnnotationScheme(java.lang.String type)
Method Detail

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.


createChooser

protected void createChooser()
Description copied from class: AnnotationScheme
Instantiates a new chooser if one does not already exist and registers the chooser for scheme events and the scheme for chooser events.

Overrides:
createChooser in class AnnotationScheme

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

handlesAnnotation

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

handlesBaseAnnotation

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


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