de.lessvoid.nifty.builder
Enum ElementBuilder.ChildLayoutType

java.lang.Object
  extended by java.lang.Enum<ElementBuilder.ChildLayoutType>
      extended by de.lessvoid.nifty.builder.ElementBuilder.ChildLayoutType
All Implemented Interfaces:
Serializable, Comparable<ElementBuilder.ChildLayoutType>
Enclosing class:
ElementBuilder

public static enum ElementBuilder.ChildLayoutType
extends Enum<ElementBuilder.ChildLayoutType>


Enum Constant Summary
Absolute
           
AbsoluteInside
           
Center
           
Horizontal
           
Overlay
           
Vertical
           
 
Method Summary
 String getLayout()
           
static ElementBuilder.ChildLayoutType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ElementBuilder.ChildLayoutType[] 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

Vertical

public static final ElementBuilder.ChildLayoutType Vertical

Horizontal

public static final ElementBuilder.ChildLayoutType Horizontal

Center

public static final ElementBuilder.ChildLayoutType Center

Absolute

public static final ElementBuilder.ChildLayoutType Absolute

AbsoluteInside

public static final ElementBuilder.ChildLayoutType AbsoluteInside

Overlay

public static final ElementBuilder.ChildLayoutType Overlay
Method Detail

values

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

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

valueOf

public static ElementBuilder.ChildLayoutType 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

getLayout

public String getLayout()


Copyright © 2012. All Rights Reserved.