public enum FlowSegmentStyle extends java.lang.Enum<FlowSegmentStyle>
Enum Constant and Description |
---|
ABSOLUTE
Defines style of flow data to be display on the tile as absolute.
|
RELATIVE
Defines style of flow data to be display on the tile as relative.
|
RELATIVE_DELAY
Defines type of flow data to be display on the tile as relative with delay.
|
Modifier and Type | Method and Description |
---|---|
static FlowSegmentStyle |
fromInt(int value)
Static method that takes int value which will be searched for in enum.
|
int |
getValue()
Getter for current flow segment style.
|
static FlowSegmentStyle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FlowSegmentStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FlowSegmentStyle ABSOLUTE
public static final FlowSegmentStyle RELATIVE
public static final FlowSegmentStyle RELATIVE_DELAY
public static FlowSegmentStyle[] values()
for (FlowSegmentStyle c : FlowSegmentStyle.values()) System.out.println(c);
public static FlowSegmentStyle 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 nullpublic int getValue()
fromInt(int)
method.@NonNull public static FlowSegmentStyle fromInt(int value)
FlowSegmentStyle
will be returned,
otherwise IllegalArgumentException
will be thrown.value
- integer that will be searched in enum.