Package org.apache.uima.tools.stylemap
Class StyleMapEntry
- java.lang.Object
-
- org.apache.uima.tools.stylemap.StyleMapEntry
-
public class StyleMapEntry extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description StyleMapEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAnnotationTypeName()java.awt.ColorgetBackground()booleangetChecked()java.lang.StringgetFeatureValue()java.awt.ColorgetForeground()booleangetHidden()java.lang.StringgetLabel()java.lang.StringgetPattern()This method returns a pattern representing either simply an annotation type or else an annotation type/feature value.voidsetAnnotationTypeName(java.lang.String annotationTypeName)voidsetBackground(java.awt.Color background)voidsetChecked(java.lang.Boolean chk)voidsetFeatureValue(java.lang.String featureValue)voidsetForeground(java.awt.Color foreground)voidsetHidden(java.lang.Boolean hid)voidsetLabel(java.lang.String label)java.lang.StringtoString()
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getHidden
public boolean getHidden()
-
setHidden
public void setHidden(java.lang.Boolean hid)
-
getChecked
public boolean getChecked()
-
setChecked
public void setChecked(java.lang.Boolean chk)
-
getPattern
public java.lang.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 java.awt.Color getBackground()
- Returns:
- Returns the background.
-
setBackground
public void setBackground(java.awt.Color background)
- Parameters:
background- The background to set.
-
getFeatureValue
public java.lang.String getFeatureValue()
- Returns:
- Returns the featureValue.
-
setFeatureValue
public void setFeatureValue(java.lang.String featureValue)
- Parameters:
featureValue- The featureValue to set.
-
getForeground
public java.awt.Color getForeground()
- Returns:
- Returns the foreground.
-
setForeground
public void setForeground(java.awt.Color foreground)
- Parameters:
foreground- The foreground to set.
-
getLabel
public java.lang.String getLabel()
- Returns:
- Returns the label.
-
setLabel
public void setLabel(java.lang.String label)
- Parameters:
label- The label to set.
-
getAnnotationTypeName
public java.lang.String getAnnotationTypeName()
- Returns:
- Returns the annotationTypeName.
-
setAnnotationTypeName
public void setAnnotationTypeName(java.lang.String annotationTypeName)
- Parameters:
annotationTypeName- The annotationTypeName to set.
-
-