## Uses of Class
com.holonplatform.vaadin.flow.components.support.Unit

- Packages that use Unit
  Package | Description
  --- | ---
  com.holonplatform.vaadin.flow.components.builders |
  com.holonplatform.vaadin.flow.components.support |

- - ### Uses of Unit in com.holonplatform.vaadin.flow.components.builders

    Methods in com.holonplatform.vaadin.flow.components.builders with parameters of type Unit
    Modifier and Type | Method and Description
    --- | ---
    `default C` | HasSizeConfigurator.`height(float height, Unit unit)` Sets the height of the component, using a value and a size `Unit`.
    `default C` | HasSizeConfigurator.`width(float width, Unit unit)` Sets the width of the component, using a value and a size `Unit`.

  - ### Uses of Unit in com.holonplatform.vaadin.flow.components.support

    Methods in com.holonplatform.vaadin.flow.components.support that return Unit
    Modifier and Type | Method and Description
    --- | ---
    `static Unit` | Unit.`orDefault(Unit unit)` Get the given unit or the default one (Unit`PIXELS`) if `null`.
    `static Unit` | Unit.`valueOf(String name)` Returns the enum constant of this type with the specified name.
    `static Unit[]` | Unit.`values()` Returns an array containing the constants of this enum type, in the order they are declared.

    Methods in com.holonplatform.vaadin.flow.components.support that return types with arguments of type Unit
    Modifier and Type | Method and Description
    --- | ---
    `static Optional<Unit>` | Unit.`getUnitFromSymbol(String symbol)` Get the `Unit` which corresponds to given symbol, if available.

    Methods in com.holonplatform.vaadin.flow.components.support with parameters of type Unit
    Modifier and Type | Method and Description
    --- | ---
    `static Unit` | Unit.`orDefault(Unit unit)` Get the given unit or the default one (Unit`PIXELS`) if `null`.

Copyright © 2019 The Holon Platform. All rights reserved.