DvCodedTextAsListWidget

public class DvCodedTextAsListWidget 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 ListView.

Constructors

DvCodedTextAsListWidget

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

Instantiates a new DvCodedTextAsListWidget

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)

See also: {@linkit.crs4.most.ehrlib.widgets.DatatypeWidget.replaceTooltip(com.nhaarman.supertooltips.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()

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