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

## Interface HasShowValueHandlers

- All Superinterfaces:
    com.google.gwt.event.shared.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 com.google.gwt.event.shared.HasHandlers

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `com.google.gwt.event.shared.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 Detail

    - #### addShowValueHandler

          com.google.gwt.event.shared.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