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, sharecreate, 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, toStringpublic Image getIcon()
Commandpublic void share(String toShare)
share in class ShareServicetoShare - text to sharepublic boolean canShareImage()
canShareImage in class ShareService