Enum Class PropertyAccessLevel
java.lang.Object
java.lang.Enum<PropertyAccessLevel>
nl.pim16aap2.animatedarchitecture.core.structures.properties.PropertyAccessLevel
- All Implemented Interfaces:
Serializable,Comparable<PropertyAccessLevel>,Constable
Represents the access level of a property.
This determines to what extent a user can interact with the property.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe property is hidden from the user.The property is editable by the user.The property is visible to the user but not directly editable. -
Method Summary
Modifier and TypeMethodDescriptionstatic PropertyAccessLevelReturns the enum constant of this class with the specified name.static PropertyAccessLevel[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
HIDDEN
The property is hidden from the user.It will not be shown in the GUI or in any other user-facing interface.
This is useful for properties that are only used strictly internally.
-
VISIBLE
The property is visible to the user but not directly editable.It may be shown in the GUI and in any other user-facing interface.
This is useful for properties that the user should be able to see but not change directly.
-
USER_EDITABLE
The property is editable by the user.The user can directly change the value of this property.
-
-
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
-