Package org.zkoss.stateless.sul
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 TypeMethodDescriptiondefault booleanReturns whether to disable theIDisable's control.withDisabled(boolean disabled) Returns a copy ofthisimmutable component with the specifieddisabled.
-
Method Details
-
isDisabled
default boolean isDisabled()Returns whether to disable theIDisable's control.Default:
false -
withDisabled
Returns a copy ofthisimmutable 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
thisobject
-