Interface ImageDisplayInterface

  • All Known Subinterfaces:
    ImageDisplayInterface
    All Known Implementing Classes:
    ImageDisplayJavaSE, ImageDisplayJavaSE

    public interface ImageDisplayInterface
    Interface encapsulating platform dependent code of the ImageDisplay from the platform independent parts.
    Since:
    Ptolemy II 10.0
    Version:
    $Id$
    Author:
    Jianwu Wang
    Pt.AcceptedRating:
    Pt.ProposedRating:
    • Method Detail

      • cleanUp

        void cleanUp()
        Free up memory when closing.
      • getBackground

        java.awt.Color getBackground()
        Get the background.
        Returns:
        The background color.
        See Also:
        setBackground(Color)
      • getFrame

        java.lang.Object getFrame()
        Get the image's frame.
        Returns:
        the image's frame.
        See Also:
        setFrame(Object)
      • getPicture

        java.lang.Object getPicture()
        Get the platform dependent picture that contains the image.
        Returns:
        the platform dependent container.
        See Also:
        setPicture(Object)
      • getPlatformContainer

        java.lang.Object getPlatformContainer()
        Get the platform dependent container that contains the image.
        Returns:
        the platform dependent container.
        See Also:
        setPlatformContainer(Object)
      • getTableau

        java.lang.Object getTableau()
        Get the image tableau.
        Returns:
        the image tableau.
      • placeContainer

        void placeContainer​(java.awt.Container container)
        Set the container to be placed.
        Parameters:
        container - The Container to be placed.
      • setBackground

        void setBackground​(java.awt.Color background)
        Set the background.
        Parameters:
        background - The background color.
        See Also:
        getBackground()
      • setFrame

        void setFrame​(java.lang.Object frame)
        Set the frame of the image.
        Parameters:
        frame - The frame to set.
        See Also:
        getFrame()
      • setPicture

        void setPicture​(java.lang.Object picture)
        Set the platform dependent picture of the image. The container can be AWT container or Android view.
        Parameters:
        picture - The picture
        See Also:
        getPicture()
      • setPlatformContainer

        void setPlatformContainer​(java.lang.Object container)
        Set the platform dependent container of the image. The container can be AWT container or Android view.
        Parameters:
        container - the platform dependent container.
        See Also:
        getPlatformContainer()