- java.lang.Object
-
- java.lang.Enum<PortDescriptor.Category>
-
- org.praxislive.code.PortDescriptor.Category
-
- All Implemented Interfaces:
Serializable
,Comparable<PortDescriptor.Category>
- Enclosing class:
- PortDescriptor
public static enum PortDescriptor.Category extends Enum<PortDescriptor.Category>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Action
Ports that correspond to actions (triggers).AuxIn
Ports that correspond to auxiliary input.AuxOut
Ports that correspond to auxiliary output.In
Ports that correspond to input.Out
Ports that correspond to output.Property
Ports that correspond to properties.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PortDescriptor.Category
valueOf(String name)
Returns the enum constant of this type with the specified name.static PortDescriptor.Category[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
In
public static final PortDescriptor.Category In
Ports that correspond to input.
-
Action
public static final PortDescriptor.Category Action
Ports that correspond to actions (triggers).
-
Out
public static final PortDescriptor.Category Out
Ports that correspond to output.
-
Property
public static final PortDescriptor.Category Property
Ports that correspond to properties.
-
AuxIn
public static final PortDescriptor.Category AuxIn
Ports that correspond to auxiliary input.
-
AuxOut
public static final PortDescriptor.Category AuxOut
Ports that correspond to auxiliary output.
-
-
Method Detail
-
values
public static PortDescriptor.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 (PortDescriptor.Category c : PortDescriptor.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 PortDescriptor.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
-
-