public static enum LabeledIcon.IconPosition extends Enum<LabeledIcon.IconPosition>
| Enum Constant and Description |
|---|
LEFT
position the icon to the left
|
RIGHT
position the icon to the right
|
| Modifier and Type | Method and Description |
|---|---|
void |
placeElements(elemental2.dom.HTMLElement left,
elemental2.dom.HTMLElement right,
BaseIcon<?> icon,
elemental2.dom.Text text)
Position the elements
|
static LabeledIcon.IconPosition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LabeledIcon.IconPosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LabeledIcon.IconPosition LEFT
public static final LabeledIcon.IconPosition RIGHT
public static LabeledIcon.IconPosition[] values()
for (LabeledIcon.IconPosition c : LabeledIcon.IconPosition.values()) System.out.println(c);
public static LabeledIcon.IconPosition 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 void placeElements(elemental2.dom.HTMLElement left,
elemental2.dom.HTMLElement right,
BaseIcon<?> icon,
elemental2.dom.Text text)
left - the left containerright - the right containericon - the icontext - the labelCopyright © 2019–2022 Dominokit. All rights reserved.