Package org.opencms.ade.configuration
Enum CmsResourceTypeConfig.AddMenuVisibility
java.lang.Object
java.lang.Enum<CmsResourceTypeConfig.AddMenuVisibility>
org.opencms.ade.configuration.CmsResourceTypeConfig.AddMenuVisibility
- All Implemented Interfaces:
Serializable
,Comparable<CmsResourceTypeConfig.AddMenuVisibility>
,java.lang.constant.Constable
- Enclosing class:
- CmsResourceTypeConfig
public static enum CmsResourceTypeConfig.AddMenuVisibility
extends Enum<CmsResourceTypeConfig.AddMenuVisibility>
Represents the visibility status of a resource type in the 'Add' menu of the container page editor.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionType should not be creatable.Type not visible.Type does not belong to current view, but has been configured to be still visible in it.Type is normally visible. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
createDisabled
Type should not be creatable. -
disabled
Type not visible. -
fromOtherView
Type does not belong to current view, but has been configured to be still visible in it. -
visible
Type is normally visible.
-
-
Method Details
-
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
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
-