|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<BrowserType>
com.teamdev.jxbrowser.BrowserType
public enum BrowserType
Enumeration of all browser types supported.
| Enum Constant Summary | |
|---|---|
IE
Microsoft Internet Explorer browser engine. |
|
Mozilla
Mozilla Firefox browser engine. |
|
Safari
Safari WebKit browser engine. |
|
| Method Summary | |
|---|---|
static BrowserType |
getCrossPlatformBrowser()
Returns default cross-platform browser type. |
static BrowserType |
getPlatformSpecificBrowser()
Returns default browser type for the current platform. |
boolean |
isSupported()
Returns true if the browser engine type is supported under the current OS. |
static BrowserType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static BrowserType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final BrowserType IE
public static final BrowserType Mozilla
public static final BrowserType Safari
| Method Detail |
|---|
public static BrowserType[] values()
for (BrowserType c : BrowserType.values()) System.out.println(c);
public static BrowserType 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 name
java.lang.NullPointerException - if the argument is nullpublic static BrowserType getPlatformSpecificBrowser()
getCrossPlatformBrowser() if not defined.public static BrowserType getCrossPlatformBrowser()
public boolean isSupported()
true if the browser engine type is supported under the current OS.
true if the browser is supported, false otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||