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, supportsCustomEditor
public ConceptAnswersEditor(Collection<ConceptAnswer> originalAnswers)
originalAnswers
- the list on the pojopublic void setAsText(String text) throws IllegalArgumentException
setAsText
in interface PropertyEditor
setAsText
in class PropertyEditorSupport
text
- list of conceptIds (not conceptAnswerIds)
Should set the sort weights with the least possible changesIllegalArgumentException
Copyright © 2024 OpenMRS Inc.. All rights reserved.