Interface IPictureService

All Known Implementing Classes:
AbsPictureService, PictureService

public interface IPictureService
An interface for Picture manipulation with custom logic.
  • Method Details

    • createPicture

      PictureDef createPicture()
      Creates a new PictureDef successor
      Returns:
      a new PictureDef
    • setContent

      PictureDef setContent(Picture picture, String fileName, Point transparent)
      Sets content to the given picture. Content is taken from file with the given fileName.
      Parameters:
      picture - is the Picture
      fileName - is the file name
      transparent - is the transparent point for picture
      Returns:
    • getPictureName

      String getPictureName(Picture picture)
      Returns name for the given picture
      Parameters:
      picture - is the picture
      Returns:
      the picture name
    • deleteContent

      void deleteContent(Picture picture)
      Deletes content of the given picture
      Parameters:
      picture - is the picture