com.sap.ui.core.client
Enum Wrapping

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

public enum Wrapping
extends Enum<Wrapping>

The enum Wrapping is the GWT wrapper for the Phoenix type: com.sap.ui.core.client.Wrapping.
Configuration options for text wrapping.

Version:
0.18.0-SNAPSHOT
Author:
GENERATOR

Enum Constant Summary
Hard
          Inserts actual line breaks in the text at the wrap point.
None
          The standard browser behaviour is considered for wrapping.
Off
          Wrapping shall not be allowed.
Soft
          The actual text is still on the same line but looks like it is divided into several lines.
 
Method Summary
static Wrapping valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Wrapping[] 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

None

public static final Wrapping None
The standard browser behaviour is considered for wrapping.


Soft

public static final Wrapping Soft
The actual text is still on the same line but looks like it is divided into several lines.


Hard

public static final Wrapping Hard
Inserts actual line breaks in the text at the wrap point.


Off

public static final Wrapping Off
Wrapping shall not be allowed.

Method Detail

values

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

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

valueOf

public static Wrapping 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.