Class SMSShare

All Implemented Interfaces:
ActionListener<ActionEvent>

public class SMSShare extends ShareService
SMS Sharing service
  • Constructor Details

    • SMSShare

      public SMSShare()
      Default Constructor
  • Method Details

    • getIcon

      public Image getIcon()
      Description copied from class: Command

      Returns the icon representing the command

      Returns

      an icon representing the command

      Overrides:
      getIcon in class Command
    • share

      public void share(String toShare)

      This is the sharing method which should be implemented by the service.

      Parameters
      • text: text to share
      Specified by:
      share in class ShareService
    • canShareImage

      public boolean canShareImage()

      The implementing service needs to declare if it is capable to share an image

      Returns

      true if the service can share images

      Specified by:
      canShareImage in class ShareService