| Package | Description |
|---|---|
| com.holonplatform.vaadin.flow.components.builders | |
| com.holonplatform.vaadin.flow.components.support |
| 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. |
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
static Optional<Unit> |
Unit.getUnitFromSymbol(String symbol)
Get the
Unit which corresponds to given symbol, if available. |
| 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 © 2020 The Holon Platform. All rights reserved.