- 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>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PortDescriptor.CategoryvalueOf(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
-
Action
public static final PortDescriptor.Category Action
-
Out
public static final PortDescriptor.Category Out
-
Property
public static final PortDescriptor.Category Property
-
AuxIn
public static final PortDescriptor.Category AuxIn
-
AuxOut
public static final PortDescriptor.Category AuxOut
-
-
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
-
-