public class JAIImageToken extends ImageToken
| Red (cxh) |
| Red (cxh) |
| Constructor and Description |
|---|
JAIImageToken(javax.media.jai.RenderedOp value)
Construct a token with a specified RenderedOp.
|
| Modifier and Type | Method and Description |
|---|---|
Token |
add(Token rightArgument)
Return a new token whose value is the sum of this token and
the argument.
|
java.awt.Image |
asAWTImage()
Convert a javax.media.jai.RenderedOp to a BufferedImage, a
subclass of awt.Image, and return it.
|
Token |
divide(Token rightArgument)
Return a new token whose value is the division of this
token and the argument.
|
Type |
getType()
Return the type of this token.
|
javax.media.jai.RenderedOp |
getValue()
Return the value of the token, a renderedop.
|
Token |
multiply(Token rightArgument)
Return a new token whose value is the multiplication of this
token and the argument.
|
Token |
subtract(Token rightArgument)
Return a new token whose value is the subtraction of this token
from the argument.
|
java.lang.String |
toString()
Return a description of the token.
|
addReverse, divideReverse, isCloseTo, isCloseTo, isEqualTo, isNil, modulo, moduloReverse, multiplyReverse, notSupportedConversionMessage, notSupportedIncomparableConversionMessage, notSupportedIncomparableMessage, notSupportedMessage, notSupportedNullNilStringMessage, one, pow, subtractReverse, zero, zeroReturnTypepublic JAIImageToken(javax.media.jai.RenderedOp value)
value - The RenderedOp with which to construct the JAIImageToken.public Token add(Token rightArgument) throws IllegalActionException
add in class TokenrightArgument - The token to add to this token.IllegalActionException - If the data type is not supported.public java.awt.Image asAWTImage()
asAWTImage in class ImageTokenpublic Token divide(Token rightArgument) throws IllegalActionException
divide in class TokenrightArgument - The token to divide this token by.IllegalActionException - If the data type is not supported.public Type getType()
public javax.media.jai.RenderedOp getValue()
public Token multiply(Token rightArgument) throws IllegalActionException
multiply in class TokenrightArgument - The token to multiply this token by.IllegalActionException - If the data type is not supported.public Token subtract(Token rightArgument) throws IllegalActionException
subtract in class TokenrightArgument - The token to subtract from this token.IllegalActionException - If the data type is not supported.public java.lang.String toString()