|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<RGBAComponentKind> tv.amwa.maj.enumeration.RGBAComponentKind
public enum RGBAComponentKind
Specifies the color or function of a component within a pixel, for example whether the component a red level, palette index etc..
The AAF object specification specifies these values as single byte characters. To find the
specified character, call charValue()
. To find the enumeration constant corresponding to
a character, call fromSpecifiedCode(char)
.
Original C name: aafRGBAComponentKind_e
RGBAComponent
,
TypeDefinitionEnumeration.RGBAComponentKind
,
CompArray
,
RGBADescriptor
Enum Constant Summary | |
---|---|
Alpha
Alpha component. |
|
Blue
Blue component. |
|
Fill
Fill component. |
|
Green
Green component. |
|
None
No component. |
|
Null
Terminates the list of components. |
|
Palette
Palette component. |
|
Red
Red component. |
Method Summary | |
---|---|
char |
charValue()
Value of the enumeration as defined in the AAF object specification. |
static RGBAComponentKind |
fromSpecifiedCode(char code)
Returns the enumeration constant matching the given code that should match that specified in the AAF object specification. |
long |
value()
Returns the unique integer value associated with an enumeration value, either according to the AAF specification and/or the current AAF meta dictionary. |
static RGBAComponentKind |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static RGBAComponentKind[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface tv.amwa.maj.enumeration.AAFEnumerationValue |
---|
name |
Enum Constant Detail |
---|
public static final RGBAComponentKind Red
Red component.
public static final RGBAComponentKind Green
Green component.
public static final RGBAComponentKind Blue
Blue component.
public static final RGBAComponentKind Alpha
Alpha component.
public static final RGBAComponentKind Fill
Fill component.
public static final RGBAComponentKind Palette
Palette component.
public static final RGBAComponentKind None
No component.
public static final RGBAComponentKind Null
Terminates the list of components.
Method Detail |
---|
public static final RGBAComponentKind[] values()
for(RGBAComponentKind c : RGBAComponentKind.values()) System.out.println(c);
public static RGBAComponentKind valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified namepublic char charValue()
Value of the enumeration as defined in the AAF object specification.
public static final RGBAComponentKind fromSpecifiedCode(char code)
Returns the enumeration constant matching the given code that should match
that specified in the AAF object specification. For example, calling this method
with 'R
' will return Red
.
code
- Character specified to represent an RGBA component kind.
null
if the code is
not recognised.@Int64 public long value()
AAFEnumerationValue
Returns the unique integer value associated with an enumeration value, either according to the AAF specification and/or the current AAF meta dictionary.
value
in interface AAFEnumerationValue
|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |