org.apache.uima.tools.stylemap
Class StyleMapEntry

java.lang.Object
  extended by org.apache.uima.tools.stylemap.StyleMapEntry

public class StyleMapEntry
extends java.lang.Object


Constructor Summary
StyleMapEntry()
           
 
Method Summary
 java.lang.String getAnnotationTypeName()
           
 java.awt.Color getBackground()
           
 boolean getChecked()
           
 java.lang.String getFeatureValue()
           
 java.awt.Color getForeground()
           
 boolean getHidden()
           
 java.lang.String getLabel()
           
 java.lang.String getPattern()
          This method returns a pattern representing either simply an annotation type or else an annotation type/feature value.
 void setAnnotationTypeName(java.lang.String annotationTypeName)
           
 void setBackground(java.awt.Color background)
           
 void setChecked(java.lang.Boolean chk)
           
 void setFeatureValue(java.lang.String featureValue)
           
 void setForeground(java.awt.Color foreground)
           
 void setHidden(java.lang.Boolean hid)
           
 void setLabel(java.lang.String label)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StyleMapEntry

public StyleMapEntry()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.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.


Copyright © 2012. All Rights Reserved.