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 String
getAnnotationTypeName()
Color
getBackground()
boolean
getChecked()
String
getFeatureValue()
Color
getForeground()
boolean
getHidden()
String
getLabel()
String
getPattern()
This method returns a pattern representing either simply an annotation type or else an annotation type/feature value.void
setAnnotationTypeName(String annotationTypeName)
void
setBackground(Color background)
void
setChecked(Boolean chk)
void
setFeatureValue(String featureValue)
void
setForeground(Color foreground)
void
setHidden(Boolean hid)
void
setLabel(String label)
String
toString()
-
-
-
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.
-
-