Package com.smartgwt.client.widgets.form.fields.events

# Interface HasShowValueHandlers

All Superinterfaces:
  `HasHandlers`

All Known Implementing Classes:
  `ButtonItem`, `CancelItem`, `CanvasItem`, `DateRangeItem`, `FileItem`, `IPickTreeItem`, `MultiComboBoxItem`, `MultiFileItem`, `PickTreeItem`, `RelativeDateItem`, `ResetItem`, `RichTextItem`, `SectionItem`, `ShuttleItem`, `SliderItem`, `SubmitItem`, `ToggleItem`, `ToolbarItem`, `ViewFileItem`

public interface HasShowValueHandlers extends HasHandlers

- ## Method Summary

  Modifier and Type
  Method
  Description
  `HandlerRegistration`
  `addShowValueHandler(ShowValueHandler handler)`
  This method will be called whenever this FormItem's value is being set via a programmatic call to e.g: `DynamicForm.setValues()` or `FormItem.setValue()` and may be overridden by CanvasItems intended to support displaying data values to update the embedded Canvas to reflect the value passed in.

  ### Methods inherited from interface com.google.gwt.event.shared.HasHandlers

  `fireEvent`

- ## Method Details

  - ### addShowValueHandler

    HandlerRegistration addShowValueHandler(ShowValueHandler handler)
    This method will be called whenever this FormItem's value is being set via a programmatic call to e.g: `DynamicForm.setValues()` or `FormItem.setValue()` and may be overridden by CanvasItems intended to support displaying data values to update the embedded Canvas to reflect the value passed in. Note that the first parameter will be a formatted value - while the second parameter will contain the underlying data value for the item.
    Parameters:
      `handler` - the showValue handler
    Returns:
      `HandlerRegistration` used to remove this handler