com.holonplatform.vaadin.flow.components.builders

## Interface HasSizeConfigurator<C extends HasSizeConfigurator<C>>

- Type Parameters:
    `C` - Concrete configurator type
  All Known Subinterfaces:
    BaseTemporalInputConfigurator<D,C>, BeanListingBuilder<T>, BeanListingBuilder.DatastoreBeanListingBuilder<T>, BeanListingConfigurator<T,C>, BooleanInputBuilder, BooleanInputConfigurator<C>, ButtonBuilder, ButtonConfigurator<C>, ButtonConfigurator.BaseButtonConfigurator, DateInputBuilder, DateInputConfigurator<C>, DateTimeInputBuilder, DateTimeInputConfigurator<C>, DialogBuilder<B>, DialogBuilder.ConfirmDialogBuilder, DialogBuilder.MessageDialogBuilder, DialogBuilder.QuestionDialogBuilder, DialogConfigurator<C>, DialogConfigurator.ClosableDialogConfigurator<C>, FlexComponentConfigurator<C>, FormLayoutBuilder, FormLayoutConfigurator<C>, FormLayoutConfigurator.BaseFormLayoutConfigurator, HorizontalLayoutBuilder, HtmlComponentConfigurator<C>, ItemListingBuilder<T,P,L,B>, ItemListingConfigurator<T,P,L,C>, LabelBuilder<L>, LabelConfigurator<L,C>, LabelConfigurator.BaseLabelConfigurator<L>, LocalDateInputBuilder, LocalDateInputConfigurator<C>, LocalDateTimeInputBuilder, LocalDateTimeInputConfigurator<C>, LocalTimeInputBuilder, LocalTimeInputConfigurator<C>, NativeButtonBuilder, NumberInputBuilder<T>, NumberInputConfigurator<T,C>, PasswordInputBuilder, PasswordInputConfigurator<C>, PropertyListingBuilder, PropertyListingBuilder.DatastorePropertyListingBuilder, PropertyListingConfigurator<C>, SelectModeSingleSelectInputBuilder<T,ITEM,B>, SelectModeSingleSelectInputBuilder.DatastoreItemSelectModeSingleSelectInputBuilder<T,ITEM>, SelectModeSingleSelectInputBuilder.DatastoreItemSelectModeSingleSelectInputConfigurator<T,ITEM,C>, SelectModeSingleSelectInputBuilder.DatastorePropertySelectModeSingleSelectInputBuilder<T>, SelectModeSingleSelectInputBuilder.DatastorePropertySelectModeSingleSelectInputConfigurator<T,C>, SelectModeSingleSelectInputBuilder.ItemSelectModeSingleSelectInputBuilder<T,ITEM>, SelectModeSingleSelectInputBuilder.ItemSelectModeSingleSelectInputConfigurator<T,ITEM,D,C>, SelectModeSingleSelectInputBuilder.PropertySelectModeSingleSelectInputBuilder<T>, SelectModeSingleSelectInputBuilder.PropertySelectModeSingleSelectInputConfigurator<T,D,C>, SelectModeSingleSelectInputBuilder.ValidatableDatastoreItemSelectModeSingleSelectInputBuilder<T,ITEM>, SelectModeSingleSelectInputBuilder.ValidatableDatastorePropertySelectModeSingleSelectInputBuilder<T>, SelectModeSingleSelectInputBuilder.ValidatableItemSelectModeSingleSelectInputBuilder<T,ITEM>, SelectModeSingleSelectInputBuilder.ValidatablePropertySelectModeSingleSelectInputBuilder<T>, StringAreaInputBuilder, StringAreaInputConfigurator<C>, StringInputBuilder, StringInputConfigurator<C>, ThemableFlexComponentConfigurator<C>, ThemableFlexComponentConfigurator.HorizontalLayoutConfigurator, ThemableFlexComponentConfigurator.VerticalLayoutConfigurator, ValidatableBooleanInputBuilder, ValidatableDateInputBuilder, ValidatableDateTimeInputBuilder, ValidatableLocalDateInputBuilder, ValidatableLocalDateTimeInputBuilder, ValidatableLocalTimeInputBuilder, ValidatableNumberInputBuilder<T>, ValidatablePasswordInputBuilder, ValidatableStringAreaInputBuilder, ValidatableStringInputBuilder, VerticalLayoutBuilder, ViewComponentAdapterBuilder<T>, ViewComponentBuilder<T>, ViewComponentConfigurator<T,C>

      public interface HasSizeConfigurator<C extends HasSizeConfigurator<C>>

  Configurator for `HasSize` type components.
  Since:
    5.2.0

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `FULL_SIZE`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `default C` | `fullHeight()` Set the component heigth to `100%`.
    `default C` | `fullSize()` Set the component width and heigth to `100%`.
    `default C` | `fullWidth()` Set the component width to `100%`.
    `default C` | `height(float height, Unit unit)` Sets the height of the component, using a value and a size `Unit`.
    `C` | `height(String height)` Sets the height of the component.
    `default C` | `heightUndefined()` Clears any defined height.
    `default C` | `sizeUndefined()` Clears any size settings.
    `default C` | `width(float width, Unit unit)` Sets the width of the component, using a value and a size `Unit`.
    `C` | `width(String width)` Sets the width of the component.
    `default C` | `widthUndefined()` Clears any defined width.

- - ### Field Detail

    - #### FULL_SIZE

          static final String FULL_SIZE

      See Also:
        Constant Field Values

  - ### Method Detail

    - #### width

          C width(String width)

      Sets the width of the component.

      The width should be in a format understood by the browser, e.g. "100px" or "2.5em".

      If the provided `width` value is `null` then width is removed.

      Parameters:
        `width` - the width to set, may be `null`
      Returns:
        this

    - #### height

          C height(String height)

      Sets the height of the component.

      The height should be in a format understood by the browser, e.g. "100px" or "2.5em".

      If the provided `height` value is `null` then height is removed.

      Parameters:
        `height` - the height to set, may be `null`
      Returns:
        this

    - #### width

          default C width(float width,
                          Unit unit)

      Sets the width of the component, using a value and a size `Unit`.

      Negative number implies unspecified size.

      Parameters:
        `width` - The width of the component, negative values implies unspecified width
        `unit` - The size unit used for the width
      Returns:
        this

    - #### height

          default C height(float height,
                           Unit unit)

      Sets the height of the component, using a value and a size `Unit`.

      Negative number implies unspecified size.

      Parameters:
        `height` - The height of the component, negative values implies unspecified height
        `unit` - The size unit used for the height
      Returns:
        this

    - #### fullWidth

          default C fullWidth()

      Set the component width to `100%`.
      Returns:
        this

    - #### fullHeight

          default C fullHeight()

      Set the component heigth to `100%`.
      Returns:
        this

    - #### fullSize

          default C fullSize()

      Set the component width and heigth to `100%`.
      Returns:
        this

    - #### widthUndefined

          default C widthUndefined()

      Clears any defined width.
      Returns:
        this

    - #### heightUndefined

          default C heightUndefined()

      Clears any defined height.
      Returns:
        this

    - #### sizeUndefined

          default C sizeUndefined()

      Clears any size settings.
      Returns:
        this

Copyright © 2019 The Holon Platform. All rights reserved.