- All Implemented Interfaces:
Serializable,Comparable<ControlInfo.Type>,Constable
- Enclosing class:
ControlInfo
The types of a control.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA control that triggers an action.A control that acts as a function, taking any number of input arguments, and responding with any number of output arguments.A control that acts as a property.A control that acts as a read-only property. -
Method Summary
Modifier and TypeMethodDescriptionstatic ControlInfo.TypeReturns the enum constant of this class with the specified name.static ControlInfo.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Function
A control that acts as a function, taking any number of input arguments, and responding with any number of output arguments. -
Action
A control that triggers an action. An action control always has no input or output arguments. -
Property
A control that acts as a property. A property control accepts an optional single input argument to set the property, and always responds with a single output argument with the value of the property.To query the property value without changing it, the control accepts a call with no input arguments. The input
ArgumentInfoshould always be treated as optional, and does not need to be marked withArgumentInfo.KEY_OPTIONAL. -
ReadOnlyProperty
A control that acts as a read-only property. A read-only property control always has no input arguments, and a single output argument representing the value of the 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
-