public enum LabelPosition extends Enum<LabelPosition>
| Enum Constant and Description |
|---|
AFTER_END
Label is placed to the side of the component, after it, and aligned to the end of the column.
|
AFTER_MIDDLE
Label is placed to the side of the component, after it, and aligned to the middle of the column.
|
AFTER_START
Label is placed to the side of the component, after it, and aligned to the start of the column.
|
BEFORE_END
Label is placed to the side of the component, before it, and aligned to the end of the column.
|
BEFORE_MIDDLE
Label is placed to the side of the component, before it, and aligned to the middle of the column.
|
BEFORE_START
Label is placed to the side of the component, before it, and aligned to the start of the column.
|
DEFAULT
Default label position, without any changes.
|
LAST
Label is placed as the last thing of the entire component.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getPositionData()
The attribute value that corresponds to the given label position.
|
static LabelPosition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LabelPosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LabelPosition DEFAULT
public static final LabelPosition BEFORE_START
public static final LabelPosition BEFORE_MIDDLE
public static final LabelPosition BEFORE_END
public static final LabelPosition AFTER_START
public static final LabelPosition AFTER_MIDDLE
public static final LabelPosition AFTER_END
public static final LabelPosition LAST
public static LabelPosition[] values()
for (LabelPosition c : LabelPosition.values()) System.out.println(c);
public static LabelPosition 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 getPositionData()
null.null array.Copyright © 2023 Miki. All rights reserved.