gate.gui.docview
Class AnnotationSetsView.SetHandler

java.lang.Object
  extended bygate.gui.docview.AnnotationSetsView.SetHandler
Enclosing class:
AnnotationSetsView

protected class AnnotationSetsView.SetHandler
extends Object

Stores the data related to an annotation set


Field Summary
private  boolean expanded
           
(package private)  AnnotationSet set
           
(package private)  List typeHandlers
           
(package private)  Map typeHandlersByType
           
 
Constructor Summary
(package private) AnnotationSetsView.SetHandler(AnnotationSet set)
           
 
Method Summary
 void cleanup()
           
 AnnotationSetsView.TypeHandler getTypeHandler(String type)
           
 boolean isExpanded()
           
 AnnotationSetsView.TypeHandler newType(String type)
          Notifies this set handler that anew type of annotations has been created
 void removeType(AnnotationSetsView.TypeHandler tHandler)
           
 void removeType(String type)
           
 void setExpanded(boolean expanded)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

set

AnnotationSet set

typeHandlers

List typeHandlers

typeHandlersByType

Map typeHandlersByType

expanded

private boolean expanded
Constructor Detail

AnnotationSetsView.SetHandler

AnnotationSetsView.SetHandler(AnnotationSet set)
Method Detail

cleanup

public void cleanup()

newType

public AnnotationSetsView.TypeHandler newType(String type)
Notifies this set handler that anew type of annotations has been created

Parameters:
type - the new type of annotations
Returns:
the new TypeHandler created as a result

removeType

public void removeType(AnnotationSetsView.TypeHandler tHandler)

removeType

public void removeType(String type)

getTypeHandler

public AnnotationSetsView.TypeHandler getTypeHandler(String type)

setExpanded

public void setExpanded(boolean expanded)

isExpanded

public boolean isExpanded()