DvCodedTextWidget

public class DvCodedTextWidget extends DatatypeWidget<DvCodedText>

This class represents a visual widget mapped on a DvCodedText datatype. It renders all the options of the DvCodedText datatype in a Combobox.

Constructors

DvCodedTextWidget

public DvCodedTextWidget(WidgetProvider provider, String name, String path, JSONObject attributes, int parentIndex)

Instantiates a new DvCodedTextWidget

Parameters:
  • provider – the widget provider
  • name – the name of this widget
  • path – the path of the DvCodedText mapped on this widget
  • attributes – the attributes of the DvCodedText mapped on this widget
  • parentIndex – the parent index

Methods

onEhrDatatypeChanged

public void onEhrDatatypeChanged(DvCodedText datatype)

See also: it.crs4.most.ehrlib.datatypes.EhrDatatypeChangeListener.onEhrDatatypeChanged(it.crs4.most.ehrlib.datatypes.EhrDatatype)

replaceTooltip

protected void replaceTooltip(ToolTip tooltip)

reset

public void reset()

See also: it.crs4.most.ehrlib.widgets.DatatypeWidget.reset()

save

public void save()

See also: it.crs4.most.ehrlib.widgets.DatatypeWidget.save()

updateLabelsContent

protected void updateLabelsContent()