edu.northwestern.at.wordhoard.swing.find
Class WordSetCriterion

java.lang.Object
  extended by edu.northwestern.at.wordhoard.swing.find.CriterionComponent
      extended by edu.northwestern.at.wordhoard.swing.find.WordSetCriterion

 class WordSetCriterion
extends CriterionComponent

WordSet criterion component.


Constructor Summary
WordSetCriterion()
           
 
Method Summary
(package private)  SearchCriterion getValue()
          Gets the value of the component.
(package private)  javax.swing.JComponent init(SearchCriterion val)
          Initializes the component.
(package private)  java.lang.String setCriteria(SearchCriteria searchCriteria)
          Sets the criteria value.
 
Methods inherited from class edu.northwestern.at.wordhoard.swing.find.CriterionComponent
checkTaggingData, getOtherRowValue, getSwingComponent, getWindow, handleValueChanged, init, notifyWindow, rebuildSelf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WordSetCriterion

WordSetCriterion()
Method Detail

init

javax.swing.JComponent init(SearchCriterion val)
                      throws java.lang.Exception
Initializes the component.

Specified by:
init in class CriterionComponent
Parameters:
val - Initial value, or null.
Returns:
The component.
Throws:
java.lang.Exception

getValue

SearchCriterion getValue()
Gets the value of the component.

Specified by:
getValue in class CriterionComponent
Returns:
The corpus.

setCriteria

java.lang.String setCriteria(SearchCriteria searchCriteria)
Sets the criteria value.

Specified by:
setCriteria in class CriterionComponent
Parameters:
searchCriteria - Search criteria.
Returns:
Validation error message, or null if none.