Class
caplin.presenter.util

ErrorMonitor

Constructor Summary

Attributes Name and Description
caplin.presenter.util.ErrorMonitor(caplin.presenter.node.ToolTipNode Node)

ErrorMonitor is responsible for monitoring the status of fields that contain an error and failure message property.

Method Summary

Attributes Name and Description
void forgetField(caplin.presenter.node.Field oField)

Removes the automatic monitoring of the supplied Field, and removes it from the list of current errors if the field is currently in an error state.

void monitorField(caplin.presenter.node.ToolTipField oField)

Monitors a Field to automatically add it as an error when it enters an error state and remove it once that error is resolved.

void removeErrorListeners(Array pGroups)

removes all error subscriptions for the given fields

Constructor Detail

caplin.presenter.util.ErrorMonitor(caplin.presenter.node.ToolTipNode Node)

ErrorMonitor is responsible for monitoring the status of fields that contain an error and failure message property. It is used to set the tool tip class that the {caplinx.fxexecution.presenter.control.TooltipControl} will scan in order to create the tool tip box.

Parameters
caplin.presenter.node.ToolTipNode Node representing the tool tip model.

Method Detail

void forgetField(caplin.presenter.node.Field oField)

Removes the automatic monitoring of the supplied Field, and removes it from the list of current errors if the field is currently in an error state.

Parameters
caplin.presenter.node.Field oField

void monitorField(caplin.presenter.node.ToolTipField oField)

Monitors a Field to automatically add it as an error when it enters an error state and remove it once that error is resolved.

Parameters
caplin.presenter.node.ToolTipField oField

void removeErrorListeners(Array pGroups)

removes all error subscriptions for the given fields

Parameters
Array pGroups fields we want to forget