Package org.zkoss.stateless.sul
Interface IDisable<I extends IComponent>
-
- All Known Subinterfaces:
ICascader
,IComboitem
,IMenu
,IMenuitem
,IMultislider
,INavitem
,IOrgitem
,IPaging
,IRadiogroup<I>
,IRangeslider
,IRangesliderBase<I>
,IRating
,ISearchbox
,ISelectbox
,ITreeitem
public interface IDisable<I extends IComponent>
ImmutableDisable
interfaceImplemented with
IComponent
to indicate that a component can be disabled.- Author:
- katherine
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default boolean
isDisabled()
Returns whether to disable theIDisable
's control.I
withDisabled(boolean disabled)
Returns a copy ofthis
immutable component with the specifieddisabled
.
-
-
-
Method Detail
-
isDisabled
default boolean isDisabled()
Returns whether to disable theIDisable
's control.Default:
false
-
withDisabled
I withDisabled(boolean disabled)
Returns a copy ofthis
immutable component with the specifieddisabled
.Sets whether to disable the
IDisable
's control or not.- Parameters:
disabled
- Whether to disable theIDisable
's control or not.Default:
false
.- Returns:
- A modified copy of the
this
object
-
-