public enum IconType extends Enum<IconType>
Enum Constant and Description |
---|
FONT
Icon displayed with a font.
|
IMAGE
Icon displayed with an image (an image HTML tag).
|
Modifier and Type | Method and Description |
---|---|
static IconType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IconType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IconType IMAGE
public static final IconType FONT
public static IconType[] values()
for (IconType c : IconType.values()) System.out.println(c);
public static IconType 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 © 2004–2019 XWiki. All rights reserved.