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 Type
    Method
    Description
    default SELF
    withClearButtonVisible(boolean state)
    Chains HasClearButton.setClearButtonVisible(boolean) and returns itself.

    Methods inherited from interface com.vaadin.flow.component.shared.HasClearButton

    isClearButtonVisible, setClearButtonVisible

    Methods inherited from interface com.vaadin.flow.component.HasElement

    getElement
  • Method Details

    • withClearButtonVisible

      default SELF withClearButtonVisible(boolean state)
      Chains HasClearButton.setClearButtonVisible(boolean) and returns itself.
      Parameters:
      state - New visibility state for the clear button.
      Returns:
      This.