public enum ToggleTarget extends Enum<ToggleTarget>
| Enum Constant and Description |
|---|
ANY
any element inside the item
|
ICON
the icon of the item
|
| Modifier and Type | Method and Description |
|---|---|
String |
getStyle() |
static ToggleTarget |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ToggleTarget[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ToggleTarget ANY
public static final ToggleTarget ICON
public static ToggleTarget[] values()
for (ToggleTarget c : ToggleTarget.values()) System.out.println(c);
public static ToggleTarget 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()
Copyright © 2019–2022 Dominokit. All rights reserved.