public enum CaptionPosition extends Enum<CaptionPosition>
| Enum Constant and Description |
|---|
BOTTOM
Caption placed to bottom.
|
LEFT
Caption placed to left.
|
RIGHT
Caption placed to right.
|
TOP
Caption placed to top.
|
| Modifier and Type | Method and Description |
|---|---|
static CaptionPosition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CaptionPosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CaptionPosition TOP
public static final CaptionPosition RIGHT
public static final CaptionPosition BOTTOM
public static final CaptionPosition LEFT
public static CaptionPosition[] values()
for (CaptionPosition c : CaptionPosition.values()) System.out.println(c);
public static CaptionPosition 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 © 2023 Vaadin Ltd. All rights reserved.