public class JMFImageToken extends ImageToken
Red (cxh) |
Red (cxh) |
Constructor and Description |
---|
JMFImageToken(javax.media.Buffer value)
Construct a token with a specified Buffer.
|
Modifier and Type | Method and Description |
---|---|
java.awt.Image |
asAWTImage()
Convert a javax.media.Buffer to a java.awt.Image and return it.
|
Type |
getType()
Return the type of this token.
|
javax.media.Buffer |
getValue()
Return the value of this token.
|
java.lang.String |
toString()
Return a description of the token.
|
add, addReverse, divide, divideReverse, isCloseTo, isCloseTo, isEqualTo, isNil, modulo, moduloReverse, multiply, multiplyReverse, notSupportedConversionMessage, notSupportedIncomparableConversionMessage, notSupportedIncomparableMessage, notSupportedMessage, notSupportedNullNilStringMessage, one, pow, subtract, subtractReverse, zero, zeroReturnType
public JMFImageToken(javax.media.Buffer value)
value
- The buffer.public java.awt.Image asAWTImage()
asAWTImage
in class ImageToken
public Type getType()
public javax.media.Buffer getValue()
public java.lang.String toString()