public enum LayoutType extends Enum<LayoutType>
Enum Constant and Description |
---|
NLAYOUT_2_COLS |
NLAYOUT_3_COLS |
NLAYOUT_4_COLS |
ONE_COLUMN |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final LayoutType ONE_COLUMN
public static final LayoutType NLAYOUT_2_COLS
public static final LayoutType NLAYOUT_3_COLS
public static final LayoutType NLAYOUT_4_COLS
public static LayoutType[] values()
for (LayoutType c : LayoutType.values()) System.out.println(c);
public static LayoutType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getColCount()
public static int getColCount(LayoutType pLayout)
Copyright © 2017. All rights reserved.