Package com.axelor.meta.db
Enum PanelMailDisplay
- java.lang.Object
-
- java.lang.Enum<PanelMailDisplay>
-
- com.axelor.meta.db.PanelMailDisplay
-
- All Implemented Interfaces:
ValueEnum<Integer>
,Serializable
,Comparable<PanelMailDisplay>
public enum PanelMailDisplay extends Enum<PanelMailDisplay> implements ValueEnum<Integer>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MESSAGES
MESSAGES_AND_FOLLOWERS
NO_MESSAGES
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
getValue()
Get the value.static PanelMailDisplay
valueOf(String name)
Returns the enum constant of this type with the specified name.static PanelMailDisplay[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_MESSAGES
@EnumWidget(title="No messages") public static final PanelMailDisplay NO_MESSAGES
-
MESSAGES
@EnumWidget(title="Display messages") public static final PanelMailDisplay MESSAGES
-
MESSAGES_AND_FOLLOWERS
@EnumWidget(title="Display messages and followers") public static final PanelMailDisplay MESSAGES_AND_FOLLOWERS
-
-
Method Detail
-
values
public static PanelMailDisplay[] 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 (PanelMailDisplay c : PanelMailDisplay.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PanelMailDisplay 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
-
-