DvClusterWidget

public class DvClusterWidget extends DatatypeWidget<DvCluster>

This class represents a visual widget mapped on a DvCluster datatype.

Fields

myToolTipView

protected ToolTipView myToolTipView

Constructors

DvClusterWidget

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

Instantiate a new DvClusterWidget

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

Methods

onEhrDatatypeChanged

public void onEhrDatatypeChanged(DvCluster 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()