Package org.vaadin.miki.markers
Interface WithInvalidInputPreventionMixin<SELF extends HasInvalidInputPrevention>
- All Superinterfaces:
HasInvalidInputPrevention
- All Known Implementing Classes:
AbstractSuperFloatingPointField,AbstractSuperNumberField,SuperBigDecimalField,SuperDoubleField,SuperIntegerField,SuperLongField,SuperTextField
public interface WithInvalidInputPreventionMixin<SELF extends HasInvalidInputPrevention>
extends HasInvalidInputPrevention
Mixin interface for
HasInvalidInputPrevention.- Since:
- 2023-06-05
- Author:
- miki
-
Method Summary
Modifier and TypeMethodDescriptiondefault SELFChainsHasInvalidInputPrevention.setPreventingInvalidInput(boolean)called withfalseand returns itself.default SELFChainsHasInvalidInputPrevention.setPreventingInvalidInput(boolean)called withtrueand returns itself.default SELFwithPreventingInvalidInput(boolean prevent) ChainsHasInvalidInputPrevention.setPreventingInvalidInput(boolean)and returns itself.Methods inherited from interface org.vaadin.miki.markers.HasInvalidInputPrevention
isPreventingInvalidInput, setPreventingInvalidInput
-
Method Details
-
withPreventingInvalidInput
ChainsHasInvalidInputPrevention.setPreventingInvalidInput(boolean)and returns itself.- Parameters:
prevent- Whether to prevent invalid input.- Returns:
- This.
- See Also:
-
withPreventingInvalidInput
ChainsHasInvalidInputPrevention.setPreventingInvalidInput(boolean)called withtrueand returns itself.- Returns:
- This.
- See Also:
-
withoutPreventingInvalidInput
ChainsHasInvalidInputPrevention.setPreventingInvalidInput(boolean)called withfalseand returns itself.- Returns:
- This.
- See Also:
-