public class ConceptAnswersEditor extends PropertyEditorSupport
| Constructor and Description |
|---|
ConceptAnswersEditor(Collection<ConceptAnswer> originalAnswers)
Default constructor taking in the original answers.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setAsText(String text)
loops over the textbox assigned to this property.
|
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditorpublic ConceptAnswersEditor(Collection<ConceptAnswer> originalAnswers)
originalAnswers - the list on the pojopublic void setAsText(String text) throws IllegalArgumentException
setAsText in interface PropertyEditorsetAsText in class PropertyEditorSupporttext - list of conceptIds (not conceptAnswerIds)
Should set the sort weights with the least possible changesIllegalArgumentExceptionCopyright © 2024 OpenMRS Inc.. All rights reserved.