Enum LikeButton.LikeButtonLayoutStyle

    • Enum Constant Detail

      • BOX_COUNT

        public static final LikeButton.LikeButtonLayoutStyle BOX_COUNT
        displays social text to the right of the button and friends' profile photos below. Minimum width: 225 pixels. Default width: 450 pixels. Height: 35 pixels (without photos) or 80 pixels (with photos).
      • BUTTON_COUNT

        public static final LikeButton.LikeButtonLayoutStyle BUTTON_COUNT
        displays the total number of likes to the right of the button. Minimum width: 90 pixels. Default width: 90 pixels. Height: 20 pixels.
      • STANDARD

        public static final LikeButton.LikeButtonLayoutStyle STANDARD
        displays the total number of likes above the button. Minimum width: 55 pixels. Default width: 55 pixels. Height: 65 pixels.
    • Method Detail

      • values

        public static LikeButton.LikeButtonLayoutStyle[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (LikeButton.LikeButtonLayoutStyle c : LikeButton.LikeButtonLayoutStyle.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static LikeButton.LikeButtonLayoutStyle valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null