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

## Interface HasReadOnlyDisplayChangedHandlers

- All Superinterfaces:
    HasHandlers
  All Known Implementing Classes:
    ButtonItem, CancelItem, CanvasItem, DateRangeItem, FileItem, IPickTreeItem, MultiComboBoxItem, MultiFileItem, PickTreeItem, RelativeDateItem, ResetItem, RichTextItem, SectionItem, SliderItem, SubmitItem, ToolbarItem, ViewFileItem

      public interface HasReadOnlyDisplayChangedHandlers
      extends HasHandlers

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `HandlerRegistration` | `addReadOnlyDisplayChangedHandler(ReadOnlyDisplayChangedHandler handler)` Notification method called when the `readOnlyDisplay` setting is modified.

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

      `fireEvent`

- - ### Method Detail

    - #### addReadOnlyDisplayChangedHandler

          HandlerRegistration addReadOnlyDisplayChangedHandler(ReadOnlyDisplayChangedHandler handler)

      Notification method called when the `readOnlyDisplay` setting is modified. Developers may make use of this to toggle between an editable and a read-only appearance of the `canvas`.

      The default behavior is: when the `canvas` is a `DynamicForm`, the form's `readOnlyDisplay` setting is set to `appearance`.

      Standard `CanvasItem`-based form items may customize the default behavior.

      Parameters:
        `handler` - the readOnlyDisplayChanged handler
      Returns:
        `HandlerRegistration` used to remove this handler