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

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

public enum HAlign
extends Enum<HAlign>

The enum HAlign is the GWT wrapper for the Phoenix type: com.sap.ui.commons.client.layout.HAlign.
Horizontal alignment, e.g. of a layout cell's content within the cell's borders. Note that some values depend on the current locale's writing direction while others do not.

Version:
0.18.0-SNAPSHOT
Author:
GENERATOR

Enum Constant Summary
Begin
          Aligned towards the beginning of a line, in the current locale's writing direction.
Center
          Horizontally centered.
End
          Aligned towards the end of a line, in the current locale's writing direction.
Left
          Left aligned, regardless of the current locale's writing direction.
Right
          Right aligned, regardless of the current locale's writing direction.
 
Method Summary
static HAlign valueOf(String name)
          Returns the enum constant of this type with the specified name.
static HAlign[] 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 HAlign Begin
Aligned towards the beginning of a line, in the current locale's writing direction.


Center

public static final HAlign Center
Horizontally centered.


End

public static final HAlign End
Aligned towards the end of a line, in the current locale's writing direction.


Left

public static final HAlign Left
Left aligned, regardless of the current locale's writing direction.


Right

public static final HAlign Right
Right aligned, regardless of the current locale's writing direction.

Method Detail

values

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

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

valueOf

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