com.holonplatform.vaadin.flow.components.events

## Interface ReadonlyChangeEvent

- All Superinterfaces:
    Event<Input<?>>, Serializable

      public interface ReadonlyChangeEvent
      extends Event<Input<?>>

  `Input` read-only state change event.
  Since:
    5.2.12

- - ### Method Summary

    All Methods Static Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `static ReadonlyChangeEvent` | `create(Input<?> input, boolean readOnly)` Create a new `ReadonlyChangeEvent`.
    `boolean` | `isReadOnly()` Returns whether this input component is in read-only mode or not.

    - ### Methods inherited from interface com.holonplatform.vaadin.flow.components.events.Event

      `getSource`

- - ### Method Detail

    - #### isReadOnly

          boolean isReadOnly()

      Returns whether this input component is in read-only mode or not.
      Returns:
        `false` if the user can modify the value, `true` if not

    - #### create

          static ReadonlyChangeEvent create(Input<?> input,
                                            boolean readOnly)

      Create a new `ReadonlyChangeEvent`.
      Parameters:
        `input` - The source input
        `readOnly` - The read-only state
      Returns:
        A new event

Copyright © 2019 The Holon Platform. All rights reserved.