public class DrugEditor extends PropertyEditorSupport
| Constructor and Description |
|---|
DrugEditor() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAsText()
Gets the drug identifier associated with this property editor.
|
void |
setAsText(String text)
Sets the value of the property editor given the drug identifier.
|
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditorpublic void setAsText(String text) throws IllegalArgumentException
setAsText in interface PropertyEditorsetAsText in class PropertyEditorSupportIllegalArgumentExceptionPropertyEditorSupport.setAsText(java.lang.String)public String getAsText()
getAsText in interface PropertyEditorgetAsText in class PropertyEditorSupportPropertyEditorSupport.getAsText()Copyright © 2018 OpenMRS LLC.. All Rights Reserved.