public static enum LikeView.Style extends Enum<LikeView.Style>
Enum Constant and Description |
---|
BOX_COUNT
Setting the attribute to this value will display the button and a box near it with the number of likes
for the associated object
|
BUTTON
Setting the attribute to this value will display the button by itself, with no other components
|
STANDARD
Setting the attribute to this value will display the button and a sentence near it that describes the
social sentence for the associated object.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static LikeView.Style |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LikeView.Style[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LikeView.Style STANDARD
public static final LikeView.Style BUTTON
public static final LikeView.Style BOX_COUNT
public static LikeView.Style[] values()
for (LikeView.Style c : LikeView.Style.values()) System.out.println(c);
public static LikeView.Style valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<LikeView.Style>