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, supportsCustomEditor
public void setAsText(String text) throws IllegalArgumentException
setAsText
in interface PropertyEditor
setAsText
in class PropertyEditorSupport
IllegalArgumentException
PropertyEditorSupport.setAsText(java.lang.String)
public String getAsText()
getAsText
in interface PropertyEditor
getAsText
in class PropertyEditorSupport
PropertyEditorSupport.getAsText()
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.