Package com.jogamp.gluegen
Enum JavaEmitter.Ownership
- java.lang.Object
-
- java.lang.Enum<JavaEmitter.Ownership>
-
- com.jogamp.gluegen.JavaEmitter.Ownership
-
- All Implemented Interfaces:
Serializable
,Comparable<JavaEmitter.Ownership>
- Enclosing class:
- JavaEmitter
public static enum JavaEmitter.Ownership extends Enum<JavaEmitter.Ownership>
Resource ownership.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JavaEmitter.Ownership
valueOf(String name)
Returns the enum constant of this type with the specified name.static JavaEmitter.Ownership[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Parent
public static final JavaEmitter.Ownership Parent
Parent ownership of resource, i.e. derived-from and shared-with compounding parent resource.
-
Java
public static final JavaEmitter.Ownership Java
Java ownership of resource.
-
Native
public static final JavaEmitter.Ownership Native
Native ownership of resource.
-
Mixed
public static final JavaEmitter.Ownership Mixed
Ambiguous mixed ownership of resource, i.e. orNative
.
-
-
Method Detail
-
values
public static JavaEmitter.Ownership[] 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 (JavaEmitter.Ownership c : JavaEmitter.Ownership.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JavaEmitter.Ownership 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
-
-