Package com.restfb.types
Class PageTab
- java.lang.Object
-
- com.restfb.types.AbstractFacebookType
-
- com.restfb.types.FacebookType
-
- com.restfb.types.NamedFacebookType
-
- com.restfb.types.PageTab
-
- All Implemented Interfaces:
Serializable
public class PageTab extends NamedFacebookType
Represents the Page Tab type- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata
-
-
Constructor Summary
Constructors Constructor Description PageTab()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Application
getApplication()
The app that is in the tabString
getCustomImageUrl()
URL for an image to be used as a custom iconString
getCustomName()
Name to be used for the tabString
getImageUrl()
The location of the tab thumbnail imageBoolean
getIsNonConnectionLandingTab()
A flag to identify whether the tab is a custom landing tab for users who are not connected to this PageBoolean
getIsPermanent()
A flag to identify whether the tab can be removed from the PageString
getLink()
A link directly to this Page tabInteger
getPosition()
Where this tab is located in the list of tabsvoid
setApplication(Application application)
The app that is in the tabvoid
setCustomImageUrl(String customImageUrl)
URL for an image to be used as a custom iconvoid
setCustomName(String customName)
Name to be used for the tabvoid
setImageUrl(String imageUrl)
The location of the tab thumbnail imagevoid
setIsNonConnectionLandingTab(Boolean isNonConnectionLandingTab)
A flag to identify whether the tab is a custom landing tab for users who are not connected to this Pagevoid
setIsPermanent(Boolean isPermanent)
A flag to identify whether the tab can be removed from the Pagevoid
setLink(String link)
A link directly to this Page tabvoid
setPosition(Integer position)
Where this tab is located in the list of tabs-
Methods inherited from class com.restfb.types.NamedFacebookType
getName, setName
-
Methods inherited from class com.restfb.types.FacebookType
getId, getMetadata, getType, setId, setMetadata, setType
-
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
-
-
-
Constructor Detail
-
PageTab
public PageTab()
-
-
Method Detail
-
getApplication
public Application getApplication()
The app that is in the tab
-
setApplication
public void setApplication(Application application)
The app that is in the tab
-
getCustomImageUrl
public String getCustomImageUrl()
URL for an image to be used as a custom icon
-
setCustomImageUrl
public void setCustomImageUrl(String customImageUrl)
URL for an image to be used as a custom icon
-
getCustomName
public String getCustomName()
Name to be used for the tab
-
setCustomName
public void setCustomName(String customName)
Name to be used for the tab
-
getImageUrl
public String getImageUrl()
The location of the tab thumbnail image
-
setImageUrl
public void setImageUrl(String imageUrl)
The location of the tab thumbnail image
-
getIsNonConnectionLandingTab
public Boolean getIsNonConnectionLandingTab()
A flag to identify whether the tab is a custom landing tab for users who are not connected to this Page
-
setIsNonConnectionLandingTab
public void setIsNonConnectionLandingTab(Boolean isNonConnectionLandingTab)
A flag to identify whether the tab is a custom landing tab for users who are not connected to this Page
-
getIsPermanent
public Boolean getIsPermanent()
A flag to identify whether the tab can be removed from the Page
-
setIsPermanent
public void setIsPermanent(Boolean isPermanent)
A flag to identify whether the tab can be removed from the Page
-
getPosition
public Integer getPosition()
Where this tab is located in the list of tabs
-
setPosition
public void setPosition(Integer position)
Where this tab is located in the list of tabs
-
-