public class SMSShare

  1. Object
  2. Command
  3. ShareService
  4. SMSShare

ImplementsActionListener<ActionEvent>

SMS Sharing service

Constructors

public SMSShare()Default Constructor

Methods

public Image getIcon()Returns the icon representing the command
public void share(String toShare)This is the sharing method which should be implemented by the service.
public boolean canShareImage()The implementing service needs to declare if it is capable to share an image

Inherited fields

Inherited methods

Constructor details

SMSShare

public SMSShare()
Default Constructor

Method details

getIcon

public Image getIcon()
Returns the icon representing the command

Returns

an icon representing the command

share

public void share(String toShare)
This is the sharing method which should be implemented by the service.

Parameters

toShare String
text to share

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