gate.gui
Class DocumentEditor.CorefData
java.lang.Object
|
+--gate.gui.DocumentEditor.CorefData
- Enclosing class:
- DocumentEditor
- protected class DocumentEditor.CorefData
- extends Object
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
visible
private boolean visible
title
private String title
setName
private String setName
colour
private Color colour
highlights
private List highlights
annotationIDs
private List annotationIDs
DocumentEditor.CorefData
DocumentEditor.CorefData(List annotationIDs,
boolean visible,
String setName)
getNameForCorefList
String getNameForCorefList(List list)
- Finds the name for a set of co refering entities (uses the string of the
first one).
- Parameters:
list
- a list of annotation IDs
getVisible
public boolean getVisible()
removeAnnotations
public void removeAnnotations()
setVisible
public void setVisible(boolean isVisible)
getTitle
public String getTitle()
getColour
public Color getColour()
setColour
public void setColour(Color newColour)
getAnnoationIDs
public List getAnnoationIDs()
getSetName
public String getSetName()
toString
public String toString()
- Overrides:
toString
in class Object
setAnnotationIDs
public void setAnnotationIDs(List newAnnIDs)