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