Package org.apache.uima.tools.stylemap
Class StyleMapEntry
- java.lang.Object
-
- org.apache.uima.tools.stylemap.StyleMapEntry
-
public class StyleMapEntry extends Object
-
-
Constructor Summary
Constructors Constructor Description StyleMapEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAnnotationTypeName()ColorgetBackground()booleangetChecked()StringgetFeatureValue()ColorgetForeground()booleangetHidden()StringgetLabel()StringgetPattern()This method returns a pattern representing either simply an annotation type or else an annotation type/feature value.voidsetAnnotationTypeName(String annotationTypeName)voidsetBackground(Color background)voidsetChecked(Boolean chk)voidsetFeatureValue(String featureValue)voidsetForeground(Color foreground)voidsetHidden(Boolean hid)voidsetLabel(String label)StringtoString()
-
-
-
Method Detail
-
getHidden
public boolean getHidden()
-
setHidden
public void setHidden(Boolean hid)
-
getChecked
public boolean getChecked()
-
setChecked
public void setChecked(Boolean chk)
-
getPattern
public String getPattern()
This method returns a pattern representing either simply an annotation type or else an annotation type/feature value. In the case of the latter: e.g. SYNTAX_ANNOT_TYPE[@SYNTAXLABEL_STRING='NP']
-
getBackground
public Color getBackground()
- Returns:
- Returns the background.
-
setBackground
public void setBackground(Color background)
- Parameters:
background- The background to set.
-
getFeatureValue
public String getFeatureValue()
- Returns:
- Returns the featureValue.
-
setFeatureValue
public void setFeatureValue(String featureValue)
- Parameters:
featureValue- The featureValue to set.
-
getForeground
public Color getForeground()
- Returns:
- Returns the foreground.
-
setForeground
public void setForeground(Color foreground)
- Parameters:
foreground- The foreground to set.
-
getLabel
public String getLabel()
- Returns:
- Returns the label.
-
setLabel
public void setLabel(String label)
- Parameters:
label- The label to set.
-
getAnnotationTypeName
public String getAnnotationTypeName()
- Returns:
- Returns the annotationTypeName.
-
setAnnotationTypeName
public void setAnnotationTypeName(String annotationTypeName)
- Parameters:
annotationTypeName- The annotationTypeName to set.
-
-