Class Display

Object
Display
All Implemented Interfaces:
DisplayInterface

public class Display extends Object implements DisplayInterface
TODO: feels wrong, need a better solution.
Author:
maartenl
  • Constructor Details

    • Display

      public Display()
    • Display

      public Display(String title, String image, String body)
  • Method Details

    • getMainTitle

      public String getMainTitle()
      Description copied from interface: DisplayInterface
      The title as visible on the screen.
      Specified by:
      getMainTitle in interface DisplayInterface
      Returns:
    • setMainTitle

      public void setMainTitle(String title)
    • getImage

      public String getImage()
      Description copied from interface: DisplayInterface
      Returns an url pointing to an image.
      Specified by:
      getImage in interface DisplayInterface
      Returns:
    • setImage

      public void setImage(String image)
    • getBody

      public String getBody()
      Description copied from interface: DisplayInterface
      The body to be displayed on the screen. In general the first letter of the body is converted to an image on the client side.
      Specified by:
      getBody in interface DisplayInterface
      Returns:
    • setBody

      public void setBody(String body)