com.sap.ui.core.client
Enum TextAlign

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

public enum TextAlign
extends Enum<TextAlign>

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

Version:
0.18.0-SNAPSHOT
Author:
GENERATOR

Enum Constant Summary
Begin
          Locale-specific positioning at the beginnig of the line.
Center
          Centered text alignment.
End
          Locale-specific positioning at the end of the line.
Left
          Hard option for left alignment.
Right
          Hard option for right alignment.
 
Method Summary
static TextAlign valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TextAlign[] 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

Begin

public static final TextAlign Begin
Locale-specific positioning at the beginnig of the line.


End

public static final TextAlign End
Locale-specific positioning at the end of the line.


Left

public static final TextAlign Left
Hard option for left alignment.


Right

public static final TextAlign Right
Hard option for right alignment.


Center

public static final TextAlign Center
Centered text alignment.

Method Detail

values

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

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

valueOf

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