Package org.vaadin.miki.markers
Interface WithClearButtonMixin<SELF extends com.vaadin.flow.component.shared.HasClearButton>
- Type Parameters:
SELF- Self type.
- All Superinterfaces:
com.vaadin.flow.component.shared.HasClearButton,com.vaadin.flow.component.HasElement,Serializable
- All Known Implementing Classes:
AbstractSuperFloatingPointField,AbstractSuperNumberField,SuperBigDecimalField,SuperDoubleField,SuperIntegerField,SuperLongField,SuperTextArea,SuperTextField
public interface WithClearButtonMixin<SELF extends com.vaadin.flow.component.shared.HasClearButton>
extends com.vaadin.flow.component.shared.HasClearButton
Mixin interface for
HasClearButton.- Since:
- 2021-01-10
- Author:
- miki
-
Method Summary
Modifier and TypeMethodDescriptiondefault SELFwithClearButtonVisible(boolean state) ChainsHasClearButton.setClearButtonVisible(boolean)and returns itself.Methods inherited from interface com.vaadin.flow.component.shared.HasClearButton
isClearButtonVisible, setClearButtonVisibleMethods inherited from interface com.vaadin.flow.component.HasElement
getElement
-
Method Details
-
withClearButtonVisible
ChainsHasClearButton.setClearButtonVisible(boolean)and returns itself.- Parameters:
state- New visibility state for the clear button.- Returns:
- This.
-