Class FacebookShare
java.lang.Object
com.codename1.ui.Command
com.codename1.share.ShareService
com.codename1.share.FacebookShare
- All Implemented Interfaces:
ActionListener<ActionEvent>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.This method is called when the soft button/Menu item is clickedbooleanDeprecated.The implementing service needs to declare if it is capable to share an imagebooleanDeprecated.compare two commandsgetIcon()Deprecated.Returns the icon representing the commandinthashCode()Deprecated.Allows storing commands in a vector/hashtablevoidDeprecated.This is the sharing method which should be implemented by the service.voidDeprecated.This 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()Deprecated.Default Constructor
-
-
Method Details
-
getIcon
-
equals
-
hashCode
-
actionPerformed
Deprecated.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
-
FaceBookAccessOAuth/Graph flow which is no longer supported by Facebook. Use aBrowserComponentpointed at a Facebook share URL, or delegate to the native share sheet. This class will be removed in a future release.