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