Class FacebookShare
java.lang.Object
com.codename1.ui.Command
com.codename1.share.ShareService
com.codename1.share.FacebookShare
- All Implemented Interfaces:
ActionListener<ActionEvent>
Facebook sharing service
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidThis method is called when the soft button/Menu item is clickedbooleanThe implementing service needs to declare if it is capable to share an imagebooleancompare two commandsgetIcon()Returns the icon representing the commandinthashCode()Allows storing commands in a vector/hashtablevoidThis is the sharing method which should be implemented by the service.voidThis is the image sharing method which should be implemented by the service, if the service returned true on the canShareImage() method Notice not all services are able to share text and image together, in this case the image sharing will be preferred by these servicesMethods inherited from class ShareService
finish, getOriginal, setImage, setMessage, setOriginalFormMethods inherited from class Command
create, createMaterial, getClientProperty, getCommandName, getDisabledIcon, getIconFont, getIconGapMM, getId, getMaterialIcon, getMaterialIconSize, getPressedIcon, getRolloverIcon, isDisposesDialog, isEnabled, putClientProperty, setCommandName, setDisabledIcon, setDisposesDialog, setEnabled, setIcon, setIconFont, setIconGapMM, setMaterialIcon, setMaterialIconSize, setPressedIcon, setRolloverIcon, toString
-
Constructor Details
-
FacebookShare
public FacebookShare()Default Constructor
-
-
Method Details
-
getIcon
-
equals
-
hashCode
-
actionPerformed
This method is called when the soft button/Menu item is clicked
Parameters
evt: the Event Object
- Specified by:
actionPerformedin interfaceActionListener<ActionEvent>- Overrides:
actionPerformedin classShareService
-