Xj3D 2.0 VRML/X3D Code API

org.xj3d.sai
Enum BrowserInterfaceTypes

java.lang.Object
  extended by java.lang.Enum<BrowserInterfaceTypes>
      extended by org.xj3d.sai.BrowserInterfaceTypes
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<BrowserInterfaceTypes>

public enum BrowserInterfaceTypes
extends java.lang.Enum<BrowserInterfaceTypes>

Enumeration of the types of browser implementations that we can create.

This is used in conjunction with BrowserConfig when talking to specific panel interfaces to work out what should be created.

Version:
$Revision: 1.1 $
Author:
Justin Couch

Enum Constant Summary
HEAVYWEIGHT
           
LIGHTWEIGHT
           
OFFSCREEN
           
PARTIAL_LIGHTWEIGHT
           
 
Method Summary
static BrowserInterfaceTypes valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static BrowserInterfaceTypes[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

HEAVYWEIGHT

public static final BrowserInterfaceTypes HEAVYWEIGHT

PARTIAL_LIGHTWEIGHT

public static final BrowserInterfaceTypes PARTIAL_LIGHTWEIGHT

LIGHTWEIGHT

public static final BrowserInterfaceTypes LIGHTWEIGHT

OFFSCREEN

public static final BrowserInterfaceTypes OFFSCREEN
Method Detail

values

public static final BrowserInterfaceTypes[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(BrowserInterfaceTypes c : BrowserInterfaceTypes.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static BrowserInterfaceTypes valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

Xj3D 2.0 VRML/X3D Code API

Copyright © 2001 - 2006 Web3D Consortium