facets.facet
Enum FacetFactory.SurfaceStyle

java.lang.Object
  extended by java.lang.Enum<FacetFactory.SurfaceStyle>
      extended by facets.facet.FacetFactory.SurfaceStyle
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<FacetFactory.SurfaceStyle>
Enclosing class:
FacetFactory

public static enum FacetFactory.SurfaceStyle
extends java.lang.Enum<FacetFactory.SurfaceStyle>

Possible app surface styles.


Enum Constant Summary
APPLET
          Applet surface contentStyle with tool panel below or beside content area.
BROWSER
          Applet surface contentStyle with panel shade to match page etc.
DESKTOP
          Desktop surface contentStyle with toolbar above content area, status bar below.
 
Method Summary
static FacetFactory.SurfaceStyle valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static FacetFactory.SurfaceStyle[] 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

DESKTOP

public static final FacetFactory.SurfaceStyle DESKTOP
Desktop surface contentStyle with toolbar above content area, status bar below.


APPLET

public static final FacetFactory.SurfaceStyle APPLET
Applet surface contentStyle with tool panel below or beside content area.


BROWSER

public static final FacetFactory.SurfaceStyle BROWSER
Applet surface contentStyle with panel shade to match page etc.

Default page shade is assumed to be white.

Method Detail

values

public static FacetFactory.SurfaceStyle[] 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 (FacetFactory.SurfaceStyle c : FacetFactory.SurfaceStyle.values())
    System.out.println(c);

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

valueOf

public static FacetFactory.SurfaceStyle 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
java.lang.NullPointerException - if the argument is null