Package org.apache.uima.tools.stylemap
Class StyleMapEntry
java.lang.Object
org.apache.uima.tools.stylemap.StyleMapEntry
The Class StyleMapEntry.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the annotation type name.Gets the background.boolean
Gets the checked.Gets the feature value.Gets the foreground.boolean
Gets the hidden.getLabel()
Gets the label.This method returns a pattern representing either simply an annotation type or else an annotation type/feature value.void
setAnnotationTypeName
(String annotationTypeName) Sets the annotation type name.void
setBackground
(Color background) Sets the background.void
setChecked
(Boolean chk) Sets the checked.void
setFeatureValue
(String featureValue) Sets the feature value.void
setForeground
(Color foreground) Sets the foreground.void
Sets the hidden.void
Sets 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.
-