Class FollowButton

    • Constructor Detail

      • FollowButton

        public FollowButton​(String id,
                            IModel<?> accountModel)
        Parameters:
        id -
        accountModel - model for twitter login without '@'
      • FollowButton

        public FollowButton​(String id,
                            String account)
        Parameters:
        id - wicket-id
        account - twitter login without '@'
    • Method Detail

      • getTwitterUrl

        public String getTwitterUrl()
        Returns:
        the link to the twitter profile
      • isShowFollowerCount

        public boolean isShowFollowerCount()
        Returns:
        weather the follower count is shown
        See Also:
        setShowFollowerCount(boolean)
      • setShowFollowerCount

        public void setShowFollowerCount​(boolean showFollowerCount)
        By default, the User's followers count is displayed with the Follow Button.
        Parameters:
        showFollowerCount - weather the follower count should be shown