public enum ChannelBannerMode extends Enum<ChannelBannerMode>
| Enum Constant and Description |
|---|
IGNORE_ASPECT |
KEEP_ASPECT |
NO_ADJUST |
UNKNOWN
An unknown channel banner mode.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getIndex() |
static ChannelBannerMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChannelBannerMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChannelBannerMode NO_ADJUST
public static final ChannelBannerMode IGNORE_ASPECT
public static final ChannelBannerMode KEEP_ASPECT
public static final ChannelBannerMode UNKNOWN
If you ever encounter an unknown banner mode, please tell us! We may have to update the API.
public static ChannelBannerMode[] values()
for (ChannelBannerMode c : ChannelBannerMode.values()) System.out.println(c);
public static ChannelBannerMode 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 int getIndex()
Released under the MIT license.