gate.gui.docview
Class AnnotationSetsView.SetHandler

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

public class AnnotationSetsView.SetHandler
extends Object

Stores the data related to an annotation set


Method Summary
 void cleanup()
           
 AnnotationSetsView.TypeHandler getTypeHandler(String type)
           
 boolean isExpanded()
           
 AnnotationSetsView.TypeHandler newType(String type)
          Notifies this set handler that a new 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
 

Method Detail

cleanup

public void cleanup()

newType

public AnnotationSetsView.TypeHandler newType(String type)
Notifies this set handler that a new 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()