public static enum HasChildMeasurementHint.ChildMeasurementHint extends Enum<HasChildMeasurementHint.ChildMeasurementHint>
| Enum Constant and Description |
|---|
MEASURE_ALWAYS
Always measure all child components (default).
|
MEASURE_IF_NEEDED
Measure child component only if child component is a Layout or
implements either ManagedLayout or ElementResizeListener.
|
MEASURE_NEVER
Never measure child components.
|
| Modifier and Type | Method and Description |
|---|---|
static HasChildMeasurementHint.ChildMeasurementHint |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HasChildMeasurementHint.ChildMeasurementHint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HasChildMeasurementHint.ChildMeasurementHint MEASURE_ALWAYS
public static final HasChildMeasurementHint.ChildMeasurementHint MEASURE_IF_NEEDED
public static final HasChildMeasurementHint.ChildMeasurementHint MEASURE_NEVER
public static HasChildMeasurementHint.ChildMeasurementHint[] values()
for (HasChildMeasurementHint.ChildMeasurementHint c : HasChildMeasurementHint.ChildMeasurementHint.values()) System.out.println(c);
public static HasChildMeasurementHint.ChildMeasurementHint valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2022 Vaadin Ltd. All rights reserved.