org.utgenome.gwt.utgb.client.util
Enum BrowserInfo.Agent

java.lang.Object
  extended by java.lang.Enum<BrowserInfo.Agent>
      extended by 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>


Enum Constant Summary
Chrome
           
Firefox
           
IE
           
MobileSafari
           
Opera
           
Safari
           
Unknown
           
 
Method Summary
static BrowserInfo.Agent valueOf(String name)
          Returns the enum constant of this type with the specified name.
static BrowserInfo.Agent[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.