public static enum Component.ComponentType extends Enum<Component.ComponentType>
| Enum Constant and Description |
|---|
MULTIMEDIA |
NORMAL |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static Component.ComponentType |
findByName(String name) |
static Component.ComponentType |
findByValue(int value) |
int |
getValue() |
static Component.ComponentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Component.ComponentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Component.ComponentType MULTIMEDIA
public static final Component.ComponentType NORMAL
public static final Component.ComponentType UNKNOWN
public static Component.ComponentType[] values()
for (Component.ComponentType c : Component.ComponentType.values()) System.out.println(c);
public static Component.ComponentType 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 static Component.ComponentType findByValue(int value)
public static Component.ComponentType findByName(String name)
public int getValue()
Copyright © 2017. All rights reserved.