|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectptolemy.data.Token
ptolemy.data.ImageToken
public abstract class ImageToken
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.
Red (cxh) |
Red (cxh) |
Field Summary |
---|
Fields inherited from class ptolemy.data.Token |
---|
NIL |
Constructor Summary | |
---|---|
ImageToken()
Construct an empty token. |
Method Summary | |
---|---|
abstract java.awt.Image |
asAWTImage()
Return the value of this token as a java.awt.Image. |
Methods inherited from class ptolemy.data.Token |
---|
add, addReverse, divide, divideReverse, getType, isCloseTo, isCloseTo, isEqualTo, isNil, modulo, moduloReverse, multiply, multiplyReverse, notSupportedConversionMessage, notSupportedIncomparableConversionMessage, notSupportedIncomparableMessage, notSupportedMessage, notSupportedNullNilStringMessage, one, pow, subtract, subtractReverse, toString, zero, zeroReturnType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ImageToken()
Method Detail |
---|
public abstract java.awt.Image asAWTImage()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |