- java.lang.Object
-
- java.lang.Enum<ControlDescriptor.Category>
-
- org.praxislive.code.ControlDescriptor.Category
-
- All Implemented Interfaces:
Serializable
,Comparable<ControlDescriptor.Category>
- Enclosing class:
- ControlDescriptor
public static enum ControlDescriptor.Category extends Enum<ControlDescriptor.Category>
Categories of control, which also affects broad ordering of controls.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Action
Controls that correspond to actions.AuxIn
Controls that correspond to auxiliary input.Function
Controls that represent functions.In
Controls that correspond to input.Internal
Internal controls that are part of the base context implementation, eg.Property
Controls that correspond to properties.Synthetic
Synthetic controls used for injected resources that require a control endpoint.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ControlDescriptor.Category
valueOf(String name)
Returns the enum constant of this type with the specified name.static ControlDescriptor.Category[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Internal
public static final ControlDescriptor.Category Internal
Internal controls that are part of the base context implementation, eg. the info and code properties.
-
Synthetic
public static final ControlDescriptor.Category Synthetic
Synthetic controls used for injected resources that require a control endpoint. Excluded from info and display.
-
In
public static final ControlDescriptor.Category In
Controls that correspond to input.
-
Action
public static final ControlDescriptor.Category Action
Controls that correspond to actions.
-
Property
public static final ControlDescriptor.Category Property
Controls that correspond to properties.
-
AuxIn
public static final ControlDescriptor.Category AuxIn
Controls that correspond to auxiliary input.
-
Function
public static final ControlDescriptor.Category Function
Controls that represent functions.
-
-
Method Detail
-
values
public static ControlDescriptor.Category[] 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 (ControlDescriptor.Category c : ControlDescriptor.Category.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ControlDescriptor.Category 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
-
-