Package ptolemy.data

Class 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 Detail

      • ImageToken

        public ImageToken()
        Construct an empty token.
    • Method Detail

      • asAWTImage

        public abstract java.awt.Image asAWTImage()
        Return the value of this token as a java.awt.Image.
        Returns:
        The image.