Enum VKCommunityWidgetType
- java.lang.Object
-
- java.lang.Enum<VKCommunityWidgetType>
-
- ru.easydonate.easydonate4j.api.v3.data.model.plugin.vkontakte.community.widget.VKCommunityWidgetType
-
- All Implemented Interfaces:
Serializable
,Comparable<VKCommunityWidgetType>
public enum VKCommunityWidgetType extends Enum<VKCommunityWidgetType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SHOW_MEMBERS
SHOW_NAME
SHOW_NEWS
UNKNOWN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static @NotNull VKCommunityWidgetType
getByMode(int mode)
static VKCommunityWidgetType
valueOf(String name)
Returns the enum constant of this type with the specified name.static VKCommunityWidgetType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SHOW_NAME
public static final VKCommunityWidgetType SHOW_NAME
-
SHOW_MEMBERS
public static final VKCommunityWidgetType SHOW_MEMBERS
-
SHOW_NEWS
public static final VKCommunityWidgetType SHOW_NEWS
-
UNKNOWN
public static final VKCommunityWidgetType UNKNOWN
-
-
Method Detail
-
values
public static VKCommunityWidgetType[] 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 (VKCommunityWidgetType c : VKCommunityWidgetType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VKCommunityWidgetType 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
-
getByMode
@NotNull public static @NotNull VKCommunityWidgetType getByMode(int mode)
-
-