public static enum Prop.Source extends java.lang.Enum<Prop.Source>
Enum Constant and Description |
---|
CONTEXT
The prop value is retrieved from the react context.
|
DEFAULT
The prop value is passed to the component during construction.
|
Modifier and Type | Method and Description |
---|---|
static Prop.Source |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Prop.Source[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Prop.Source DEFAULT
public static final Prop.Source CONTEXT
public static Prop.Source[] values()
for (Prop.Source c : Prop.Source.values()) System.out.println(c);
public static Prop.Source valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null