Enum CmsCheckableDatePanel.Style
- java.lang.Object
-
- java.lang.Enum<CmsCheckableDatePanel.Style>
-
- org.opencms.acacia.client.widgets.serialdate.CmsCheckableDatePanel.Style
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CmsCheckableDatePanel.Style>
- Enclosing class:
- CmsCheckableDatePanel
public static enum CmsCheckableDatePanel.Style extends java.lang.Enum<CmsCheckableDatePanel.Style>
The various style options for the checkable date panel.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ONE_COLUMN
One column.THREE_COLUMNS
Three columns.TWO_COLUMNS
Two columns.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getWidth()
Get the width of elements dependent on the style.static CmsCheckableDatePanel.Style
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CmsCheckableDatePanel.Style[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ONE_COLUMN
public static final CmsCheckableDatePanel.Style ONE_COLUMN
One column.
-
TWO_COLUMNS
public static final CmsCheckableDatePanel.Style TWO_COLUMNS
Two columns.
-
THREE_COLUMNS
public static final CmsCheckableDatePanel.Style THREE_COLUMNS
Three columns.
-
-
Method Detail
-
values
public static CmsCheckableDatePanel.Style[] 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 (CmsCheckableDatePanel.Style c : CmsCheckableDatePanel.Style.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CmsCheckableDatePanel.Style valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getWidth
public java.lang.String getWidth()
Get the width of elements dependent on the style.- Returns:
- the element width, e.g., "50%"
-
-