Interface IDisable<I extends IComponent>

All Known Subinterfaces:
IBreadcrumbitem, ICascader, IChip, ICodeeditor, IComboitem, IDaterangebox, IMenu, IMenuitem, IMultislider, INavitem, IOrgitem, IPaging, IRadiogroup<I>, IRangeslider, IRangesliderBase<I>, IRating, ISearchbox, ISelectbox, ITreeitem

public interface IDisable<I extends IComponent>
Immutable Disable interface

Implemented with IComponent to indicate that a component can be disabled.

Author:
katherine
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    Returns whether to disable the IDisable's control.
    withDisabled(boolean disabled)
    Returns a copy of this immutable component with the specified disabled.
  • Method Details

    • isDisabled

      default boolean isDisabled()
      Returns whether to disable the IDisable's control.

      Default: false

    • withDisabled

      I withDisabled(boolean disabled)
      Returns a copy of this immutable component with the specified disabled.

      Sets whether to disable the IDisable's control or not.

      Parameters:
      disabled - Whether to disable the IDisable's control or not.

      Default: false.

      Returns:
      A modified copy of the this object