org.utgenome.gwt.utgb.client.util
Enum BrowserInfo.Agent
java.lang.Object
java.lang.Enum<BrowserInfo.Agent>
org.utgenome.gwt.utgb.client.util.BrowserInfo.Agent
- All Implemented Interfaces:
- Serializable, Comparable<BrowserInfo.Agent>
- Enclosing class:
- BrowserInfo
public static enum BrowserInfo.Agent
- extends Enum<BrowserInfo.Agent>
Unknown
public static final BrowserInfo.Agent Unknown
Firefox
public static final BrowserInfo.Agent Firefox
Safari
public static final BrowserInfo.Agent Safari
Opera
public static final BrowserInfo.Agent Opera
Chrome
public static final BrowserInfo.Agent Chrome
IE
public static final BrowserInfo.Agent IE
MobileSafari
public static final BrowserInfo.Agent MobileSafari
values
public static BrowserInfo.Agent[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (BrowserInfo.Agent c : BrowserInfo.Agent.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static BrowserInfo.Agent valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
Copyright © 2007-2012 utgenome.org. All Rights Reserved.