Package ptolemy.data
Class ImageToken
- java.lang.Object
-
- ptolemy.data.Token
-
- ptolemy.data.ObjectToken
-
- ptolemy.data.ImageToken
-
- Direct Known Subclasses:
AWTImageToken
,JAIImageToken
,JMFImageToken
public abstract class ImageToken extends ObjectToken
An abstract class that all tokens which encapsulate images should extend. Each class that extends this class is required to implement the method asAWTImage(), so that it may be used with the standard image processing library.- Since:
- Ptolemy II 3.0
- Version:
- $Id$
- Author:
- James Yeh
- Pt.AcceptedRating:
- Red (cxh)
- Pt.ProposedRating:
- Red (cxh)
-
-
Constructor Summary
Constructors Constructor Description ImageToken()
Construct an empty token.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract java.awt.Image
asAWTImage()
Return the value of this token as a java.awt.Image.-
Methods inherited from class ptolemy.data.ObjectToken
_isCloseTo, _isEqualTo, convert, equals, getType, getValue, getValueClass, hashCode, isCloseTo, isEqualTo, object, toString
-
Methods inherited from class ptolemy.data.Token
add, addReverse, divide, divideReverse, isCloseTo, isNil, modulo, moduloReverse, multiply, multiplyReverse, notSupportedConversionMessage, notSupportedIncomparableConversionMessage, notSupportedIncomparableMessage, notSupportedMessage, notSupportedNullNilStringMessage, one, pow, subtract, subtractReverse, zero, zeroReturnType
-
-