Class ImageModifier

java.lang.Object
app.media_managers.ImageModifier

public class ImageModifier extends Object
  • Constructor Details

    • ImageModifier

      public ImageModifier()
  • Method Details

    • addMedia

      public static void addMedia(MediaCommunicator com, double x, double y) throws Exception
      Loads images into the page from a file, passing back to MediaCommunicator to be displayed.
      Parameters:
      com - MediaCommunicator of the page
      x - X coordinate of top-left corner of image once placed
      y - Y coordinate of top-left corner of image once played
      Throws:
      Exception - Throws exception upon failing to find proper file.
    • setCaption

      public void setCaption(String givenCaption)
    • getCaption

      public String getCaption()
    • setImage

      public void setImage(MediaImage image)
    • getImage

      public MediaImage getImage()