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>ImmutableDisableinterfaceImplemented with
IComponentto 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 booleanisDisabled()Returns whether to disable theIDisable's control.IwithDisabled(boolean disabled)Returns a copy ofthisimmutable 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 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
-
-