public enum BrowserMode extends java.lang.Enum<BrowserMode>
Enum Constant and Description |
---|
IE10
Internet Explorer 10.
|
IE10_IGNORE_DOCTYPE
Internet Explorer 10.
|
IE11
IE11.
|
IE11_IGNORE_DOCTYPE
Internet Explorer 11.
|
IE7
Webpages containing standards-based !DOCTYPE directives are displayed in IE7 Standards mode.
|
IE8
Webpages containing standards-based !DOCTYPE directives are displayed in IE8 mode.
|
IE8_IGNORE_DOCTYPE
Webpages are displayed in IE8 Standards mode, regardless of the !DOCTYPE directive.
|
IE9
Internet Explorer 9.
|
IE9_IGNORE_DOCTYPE
Windows Internet Explorer 9.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static BrowserMode |
valueOf(int value) |
static BrowserMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BrowserMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BrowserMode IE11_IGNORE_DOCTYPE
public static final BrowserMode IE11
public static final BrowserMode IE10_IGNORE_DOCTYPE
public static final BrowserMode IE10
public static final BrowserMode IE9_IGNORE_DOCTYPE
public static final BrowserMode IE9
public static final BrowserMode IE8_IGNORE_DOCTYPE
public static final BrowserMode IE8
public static final BrowserMode IE7
public static BrowserMode[] values()
for (BrowserMode c : BrowserMode.values()) System.out.println(c);
public static BrowserMode 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()
public static BrowserMode valueOf(int value)