public class SMSShare extends ShareService
Constructor and Description |
---|
SMSShare()
Default Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
canShareImage()
The implementing service needs to declare if it is capable to share an
image
|
Image |
getIcon()
Returns the icon representing the command
|
void |
share(String toShare)
This is the sharing method which should be implemented by the service.
|
actionPerformed, finish, getOriginal, setImage, setMessage, setOriginalForm, share
create, createMaterial, equals, getClientProperty, getCommandName, getDisabledIcon, getIconFont, getIconGapMM, getId, getMaterialIcon, getMaterialIconSize, getPressedIcon, getRolloverIcon, hashCode, isDisposesDialog, isEnabled, putClientProperty, setCommandName, setDisabledIcon, setDisposesDialog, setEnabled, setIcon, setIconFont, setIconGapMM, setMaterialIcon, setMaterialIconSize, setPressedIcon, setRolloverIcon, toString
public Image getIcon()
Command
public void share(String toShare)
share
in class ShareService
toShare
- text to sharepublic boolean canShareImage()
canShareImage
in class ShareService