Package org.daypilot.ui.enums
Enum CellWidthSpec
- java.lang.Object
-
- java.lang.Enum<CellWidthSpec>
-
- org.daypilot.ui.enums.CellWidthSpec
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CellWidthSpec>
,java.lang.constant.Constable
public enum CellWidthSpec extends java.lang.Enum<CellWidthSpec>
-
-
Method Summary
Modifier and Type Method Description static CellWidthSpec
fromString(java.lang.String id)
java.lang.String
toString()
static CellWidthSpec
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CellWidthSpec[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTO
public static final CellWidthSpec AUTO
-
FIXED
public static final CellWidthSpec FIXED
-
-
Method Detail
-
values
public static CellWidthSpec[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CellWidthSpec 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
-
fromString
public static CellWidthSpec fromString(java.lang.String id)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<CellWidthSpec>
-
-