public class SMSShare
- Object
- Command
- ShareService
- SMSShare
ImplementsActionListener<ActionEvent>
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
From Command
DESKTOP_MENU, DESKTOP_MENU_APP, DESKTOP_MENU_ABOUT, DESKTOP_MENU_PREFERENCES, DESKTOP_MENU_QUIT, DESKTOP_MENU_FILE, DESKTOP_MENU_EDIT, DESKTOP_MENU_VIEW, DESKTOP_MENU_WINDOW, DESKTOP_MENU_HELP, DESKTOP_SHORTCUT_KEY, DESKTOP_SHORTCUT_MODIFIERS, DESKTOP_SHORTCUT_MODIFIER_PRIMARY, DESKTOP_SHORTCUT_MODIFIER_SHIFT, DESKTOP_SHORTCUT_MODIFIER_ALT
Inherited methods
From ShareService
actionPerformed, share, setMessage, setImage, setOriginalForm, getOriginal, finish, setShareResultListener, getShareResultListener, deliverResult
From Command
create, createMaterial, getId, getCommandName, setCommandName, setIcon, toString, getPressedIcon, setPressedIcon, getDisabledIcon, setDisabledIcon, getRolloverIcon, setRolloverIcon, equals, hashCode, isDisposesDialog, setDisposesDialog, isEnabled, setEnabled, getClientProperty, putClientProperty, setDesktopMenu, getDesktopMenu, setDesktopShortcut, setDesktopShortcut, getDesktopShortcutKeyChar, getDesktopShortcutModifiers, getMaterialIcon, setMaterialIcon, getIconGapMM, setIconGapMM, getMaterialIconSize, setMaterialIconSize, getIconFont, setIconFont
Constructor details
SMSShare
public SMSShare()Method details
getIcon
public Image getIcon()