Package org.opencms.ade.galleries.shared
Enum Class CmsResourceTypeBean.TypeVisibility
java.lang.Object
java.lang.Enum<CmsResourceTypeBean.TypeVisibility>
org.opencms.ade.galleries.shared.CmsResourceTypeBean.TypeVisibility
- All Implemented Interfaces:
Serializable,Comparable<CmsResourceTypeBean.TypeVisibility>,Constable
- Enclosing class:
CmsResourceTypeBean
public static enum CmsResourceTypeBean.TypeVisibility
extends Enum<CmsResourceTypeBean.TypeVisibility>
Enum representing the visibility of a resource type in the bean.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNever displayed.Always show the type.The user may choose to display the type, but it's not shown by default. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static CmsResourceTypeBean.TypeVisibility[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
showAlways
Always show the type. -
showOptional
The user may choose to display the type, but it's not shown by default.
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-