|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.AbstractAction
edu.cmu.minorthird.text.gui.TextBaseViewer.HighlightAction
public class TextBaseViewer.HighlightAction
highlights text in the spans displayed in documentList based on the options in truthBox, guessBox
| Field Summary |
|---|
| Fields inherited from class javax.swing.AbstractAction |
|---|
changeSupport, enabled |
| Fields inherited from interface javax.swing.Action |
|---|
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON |
| Constructor Summary | |
|---|---|
TextBaseViewer.HighlightAction(java.lang.String msg,
javax.swing.JComboBox guessBox,
javax.swing.JComboBox truthBox,
javax.swing.JList documentList)
|
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent event)
|
SpanDifference.Looper |
differenceIterator(java.lang.String documentId)
Find span differences associated with the document. |
javax.swing.text.AttributeSet |
fnColor()
Color for false negative spans. |
javax.swing.text.AttributeSet |
fpColor()
Color for false positive spans. |
javax.swing.text.AttributeSet |
mpColor()
Color for spans that might be positive |
void |
paintDocument(java.lang.String documentId)
Repaint the specified document. |
javax.swing.text.AttributeSet |
tpColor()
Color for true positive spans. |
| Methods inherited from class javax.swing.AbstractAction |
|---|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TextBaseViewer.HighlightAction(java.lang.String msg,
javax.swing.JComboBox guessBox,
javax.swing.JComboBox truthBox,
javax.swing.JList documentList)
| Method Detail |
|---|
public void actionPerformed(java.awt.event.ActionEvent event)
actionPerformed in interface java.awt.event.ActionListenerpublic void paintDocument(java.lang.String documentId)
public javax.swing.text.AttributeSet fpColor()
public javax.swing.text.AttributeSet fnColor()
public javax.swing.text.AttributeSet tpColor()
public javax.swing.text.AttributeSet mpColor()
public SpanDifference.Looper differenceIterator(java.lang.String documentId)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||