Package org.wicketstuff.facebook.plugins
Enum LikeButton.LikeButtonLayoutStyle
- java.lang.Object
-
- java.lang.Enum<LikeButton.LikeButtonLayoutStyle>
-
- org.wicketstuff.facebook.plugins.LikeButton.LikeButtonLayoutStyle
-
- All Implemented Interfaces:
Serializable,Comparable<LikeButton.LikeButtonLayoutStyle>
- Enclosing class:
- LikeButton
public static enum LikeButton.LikeButtonLayoutStyle extends Enum<LikeButton.LikeButtonLayoutStyle>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOX_COUNTdisplays social text to the right of the button and friends' profile photos below.BUTTON_COUNTdisplays the total number of likes to the right of the button.STANDARDdisplays the total number of likes above the button.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LikeButton.LikeButtonLayoutStylevalueOf(String name)Returns the enum constant of this type with the specified name.static LikeButton.LikeButtonLayoutStyle[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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 nameNullPointerException- if the argument is null
-
-