org.appcelerator.titanium.view
Enum TiCompositeLayout.LayoutArrangement

java.lang.Object
  extended by java.lang.Enum<TiCompositeLayout.LayoutArrangement>
      extended by org.appcelerator.titanium.view.TiCompositeLayout.LayoutArrangement
All Implemented Interfaces:
Serializable, Comparable<TiCompositeLayout.LayoutArrangement>
Enclosing class:
TiCompositeLayout

public static enum TiCompositeLayout.LayoutArrangement
extends Enum<TiCompositeLayout.LayoutArrangement>

Supported layout arrangements


Enum Constant Summary
DEFAULT
          The default Titanium layout arrangement.
HORIZONTAL
          The layout arrangement for Views and Windows that set layout: "horizontal".
VERTICAL
          The layout arrangement for Views and Windows that set layout: "vertical".
 
Method Summary
static TiCompositeLayout.LayoutArrangement valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TiCompositeLayout.LayoutArrangement[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 

Enum Constant Detail

DEFAULT

public static final TiCompositeLayout.LayoutArrangement DEFAULT
The default Titanium layout arrangement.


VERTICAL

public static final TiCompositeLayout.LayoutArrangement VERTICAL
The layout arrangement for Views and Windows that set layout: "vertical".


HORIZONTAL

public static final TiCompositeLayout.LayoutArrangement HORIZONTAL
The layout arrangement for Views and Windows that set layout: "horizontal".

Method Detail

values

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

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

valueOf

public static TiCompositeLayout.LayoutArrangement 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 © 2010-2012 Appcelerator, Inc. Licensed under the Apache License 2.0