Package org.apache.uima.tools.stylemap
Class StyleMapEntry
java.lang.Object
org.apache.uima.tools.stylemap.StyleMapEntry
The Class StyleMapEntry.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the annotation type name.Gets the background.booleanGets the checked.Gets the feature value.Gets the foreground.booleanGets the hidden.getLabel()Gets the label.This method returns a pattern representing either simply an annotation type or else an annotation type/feature value.voidsetAnnotationTypeName(String annotationTypeName) Sets the annotation type name.voidsetBackground(Color background) Sets the background.voidsetChecked(Boolean chk) Sets the checked.voidsetFeatureValue(String featureValue) Sets the feature value.voidsetForeground(Color foreground) Sets the foreground.voidSets the hidden.voidSets the label.toString()
-
Constructor Details
-
StyleMapEntry
public StyleMapEntry()
-
-
Method Details
-
toString
-
getHidden
public boolean getHidden()Gets the hidden.- Returns:
- the hidden
-
setHidden
Sets the hidden.- Parameters:
hid- the new hidden
-
getChecked
public boolean getChecked()Gets the checked.- Returns:
- the checked
-
setChecked
Sets the checked.- Parameters:
chk- the new checked
-
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']- Returns:
- the pattern
-
getBackground
Gets the background.- Returns:
- Returns the background.
-
setBackground
Sets the background.- Parameters:
background- The background to set.
-
getFeatureValue
Gets the feature value.- Returns:
- Returns the featureValue.
-
setFeatureValue
Sets the feature value.- Parameters:
featureValue- The featureValue to set.
-
getForeground
Gets the foreground.- Returns:
- Returns the foreground.
-
setForeground
Sets the foreground.- Parameters:
foreground- The foreground to set.
-
getLabel
Gets the label.- Returns:
- Returns the label.
-
setLabel
Sets the label.- Parameters:
label- The label to set.
-
getAnnotationTypeName
Gets the annotation type name.- Returns:
- Returns the annotationTypeName.
-
setAnnotationTypeName
Sets the annotation type name.- Parameters:
annotationTypeName- The annotationTypeName to set.
-