com.semarchy.mdm.runtime.model.logical
Enum LayoutType

java.lang.Object
  extended by java.lang.Enum<LayoutType>
      extended by com.semarchy.mdm.runtime.model.logical.LayoutType
All Implemented Interfaces:
Serializable, Comparable<LayoutType>

public enum LayoutType
extends Enum<LayoutType>


Enum Constant Summary
NLAYOUT_2_COLS
           
NLAYOUT_3_COLS
           
NLAYOUT_4_COLS
           
ONE_COLUMN
           
 
Method Summary
 int getColCount()
           
static int getColCount(LayoutType pLayout)
           
static LayoutType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static LayoutType[] 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

ONE_COLUMN

public static final LayoutType ONE_COLUMN

NLAYOUT_2_COLS

public static final LayoutType NLAYOUT_2_COLS

NLAYOUT_3_COLS

public static final LayoutType NLAYOUT_3_COLS

NLAYOUT_4_COLS

public static final LayoutType NLAYOUT_4_COLS
Method Detail

values

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

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

valueOf

public static LayoutType 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

getColCount

public int getColCount()

getColCount

public static int getColCount(LayoutType pLayout)


Copyright © 2015. All Rights Reserved.