public enum FlexAlign extends Enum<FlexAlign> implements IsCssClass
| Enum Constant and Description |
|---|
BASE_LINE
The alignment will be based on the original alignment
|
CENTER
The alignment will be at the center of the layout
|
END
The alignment will be at the end of the layout
|
START
The alignment will be at the start of the layout
|
STRETCH
The alignment will cover all the layout
|
| Modifier and Type | Method and Description |
|---|---|
String |
getStyle() |
String |
getValue() |
static FlexAlign |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FlexAlign[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FlexAlign START
public static final FlexAlign END
public static final FlexAlign CENTER
public static final FlexAlign STRETCH
public static final FlexAlign BASE_LINE
public static FlexAlign[] values()
for (FlexAlign c : FlexAlign.values()) System.out.println(c);
public static FlexAlign 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 nullpublic String getStyle()
getStyle in interface IsCssClasspublic String getValue()
Copyright © 2019–2022 Dominokit. All rights reserved.