Enum LayoutContainer.LayoutType
- java.lang.Object
-
- java.lang.Enum<LayoutContainer.LayoutType>
-
- com.adobe.cq.wcm.core.components.models.LayoutContainer.LayoutType
-
- All Implemented Interfaces:
Serializable
,Comparable<LayoutContainer.LayoutType>
- Enclosing interface:
- LayoutContainer
public static enum LayoutContainer.LayoutType extends Enum<LayoutContainer.LayoutType>
Enumeration of supported layout types for the container component
-
-
Enum Constant Summary
Enum Constants Enum Constant Description RESPONSIVE_GRID
SIMPLE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getLayout()
static LayoutContainer.LayoutType
getLayoutType(String layout)
static LayoutContainer.LayoutType
valueOf(String name)
Returns the enum constant of this type with the specified name.static LayoutContainer.LayoutType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SIMPLE
public static final LayoutContainer.LayoutType SIMPLE
-
RESPONSIVE_GRID
public static final LayoutContainer.LayoutType RESPONSIVE_GRID
-
-
Method Detail
-
values
public static LayoutContainer.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 (LayoutContainer.LayoutType c : LayoutContainer.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 LayoutContainer.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 nameNullPointerException
- if the argument is null
-
getLayout
public String getLayout()
-
getLayoutType
public static LayoutContainer.LayoutType getLayoutType(String layout)
-
-