com.sap.ui.commons.client.layout
Enum BackgroundDesign

java.lang.Object
  extended by java.lang.Enum<BackgroundDesign>
      extended by com.sap.ui.commons.client.layout.BackgroundDesign
All Implemented Interfaces:
Serializable, Comparable<BackgroundDesign>

public enum BackgroundDesign
extends Enum<BackgroundDesign>

The enum BackgroundDesign is the GWT wrapper for the Phoenix type: com.sap.ui.commons.client.layout.BackgroundDesign.
Background design (i.e. color), e.g. of a layout cell.

Version:
0.18.0-SNAPSHOT
Author:
GENERATOR

Enum Constant Summary
Border
          A background design suitable for borders.
Fill1
          An opaque background design that looks dark filled.
Fill2
          An opaque background design that looks medium filled.
Fill3
          An opaque background design that looks light filled.
Header
          A background design suitable for headers.
Plain
          A plain but opaque background design.
Transparent
          A transparent background.
 
Method Summary
static BackgroundDesign valueOf(String name)
          Returns the enum constant of this type with the specified name.
static BackgroundDesign[] 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

Border

public static final BackgroundDesign Border
A background design suitable for borders.


Fill1

public static final BackgroundDesign Fill1
An opaque background design that looks dark filled.


Fill2

public static final BackgroundDesign Fill2
An opaque background design that looks medium filled.


Fill3

public static final BackgroundDesign Fill3
An opaque background design that looks light filled.


Header

public static final BackgroundDesign Header
A background design suitable for headers.


Plain

public static final BackgroundDesign Plain
A plain but opaque background design.


Transparent

public static final BackgroundDesign Transparent
A transparent background.

Method Detail

values

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

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

valueOf

public static BackgroundDesign 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 © 2011 SAP. All Rights Reserved.