public static enum LayoutHelper.Preset extends Enum<LayoutHelper.Preset>
Modifier and Type | Method and Description |
---|---|
static LayoutHelper.Preset |
fromString(String layout) |
YUILayout |
getLayout() |
String |
getName() |
static LayoutHelper.Preset |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LayoutHelper.Preset[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LayoutHelper.Preset X_1_DEFAULT
public static final LayoutHelper.Preset X_2_DEFAULT
public static final LayoutHelper.Preset X_2_66_33
public static final LayoutHelper.Preset X_2_33_66
public static final LayoutHelper.Preset X_3_DEFAULT
public static final LayoutHelper.Preset X_3_HEADER_2COLS
public static final LayoutHelper.Preset X_4_FOOTER_3COLS
public static final LayoutHelper.Preset X_4_HEADER_3COLS
public static final LayoutHelper.Preset X_4_66_33_50_50
public static final LayoutHelper.Preset X_4_50_50_66_33
public static final LayoutHelper.Preset X_4_100_66_33_100
public static final LayoutHelper.Preset X_4_100_33_66_100
public static final LayoutHelper.Preset X_6_50_50_75_25_50_50
public static final LayoutHelper.Preset X_7_33_33_33_75_25_50_50
public static final LayoutHelper.Preset X_7_33_33_33_100_33_33_33
public static final LayoutHelper.Preset X_7_75_25_50_50_33_33_33
public static LayoutHelper.Preset[] values()
for (LayoutHelper.Preset c : LayoutHelper.Preset.values()) System.out.println(c);
public static LayoutHelper.Preset 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 String getName()
public static LayoutHelper.Preset fromString(String layout) throws LayoutException
layout
- LayoutException
- when layout is not a known layout name.public YUILayout getLayout()
Copyright © 2013 Nuxeo SA. All Rights Reserved.