Package org.vaadin.miki.markers
Interface HasHelperPositionable
- All Superinterfaces:
com.vaadin.flow.component.HasElement,Serializable
- All Known Subinterfaces:
WithHelperPositionableMixin<SELF>
- All Known Implementing Classes:
AbstractSuperFloatingPointField,AbstractSuperNumberField,CollectionField,GridMultiSelect,GridSelect,HeaderFooterFieldWrapper,ItemGrid,LabelField,MapField,ObjectField,SuperBigDecimalField,SuperDatePicker,SuperDateTimePicker,SuperDoubleField,SuperIntegerField,SuperLongField,SuperTabs,SuperTextArea,SuperTextField,VariantField
public interface HasHelperPositionable
extends com.vaadin.flow.component.HasElement
Allows controlling position of the helper text/component.
- Since:
- 2021-10-29
- Author:
- miki
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault booleanChecks if the helper is positioned above.default voidPositions the helper above the component.default voidsetHelperAbove(boolean above) Positions the helper above or below the component.default voidPositions the helper below the component.Methods inherited from interface com.vaadin.flow.component.HasElement
getElement
-
Field Details
-
HELPER_ABOVE_THEME_VARIANT
Vaadin expects this in the theme list.- See Also:
-
-
Method Details
-
setHelperAbove
default void setHelperAbove()Positions the helper above the component. -
setHelperBelow
default void setHelperBelow()Positions the helper below the component. -
setHelperAbove
default void setHelperAbove(boolean above) Positions the helper above or below the component.- Parameters:
above- Whentrue, helper should be positioned above.- See Also:
-
isHelperAbove
default boolean isHelperAbove()Checks if the helper is positioned above.- Returns:
- When
true, helper should be positioned above.
-