org.wicketstuff.facebook.plugins
Enum LikeButton.LikeButtonLayoutStyle

java.lang.Object
  extended by java.lang.Enum<LikeButton.LikeButtonLayoutStyle>
      extended by 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
BOX_COUNT
          displays social text to the right of the button and friends' profile photos below.
BUTTON_COUNT
          displays the total number of likes to the right of the button.
STANDARD
          displays the total number of likes above the button.
 
Method Summary
static LikeButton.LikeButtonLayoutStyle valueOf(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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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


Copyright © 2014. All rights reserved.