public enum Emoticon extends Enum<Emoticon>
Enum Constant and Description |
---|
BLUE_STAR |
BROKEN_HEART |
CHEEKY |
CROSS |
GREEN_STAR |
HEART |
INFORMATION |
LAUGH |
LIGHT_OFF |
LIGHT_ON |
MINUS |
PLUS |
QUESTION |
RED_STAR |
SAD |
SMILE |
THUMBS_DOWN |
THUMBS_UP |
TICK |
WARNING |
WINK |
YELLOW_STAR |
Modifier and Type | Field and Description |
---|---|
static String |
IDENTIFYING_ATTRIBUTE_NAME
Used to identify UI elements as being emoticons.
|
Modifier and Type | Method and Description |
---|---|
static Emoticon |
get(String type) |
String |
getType() |
boolean |
isSecret() |
static Emoticon[] |
notSecretValues() |
static Emoticon |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Emoticon[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Emoticon SMILE
public static final Emoticon SAD
public static final Emoticon CHEEKY
public static final Emoticon LAUGH
public static final Emoticon WINK
public static final Emoticon THUMBS_UP
public static final Emoticon THUMBS_DOWN
public static final Emoticon INFORMATION
public static final Emoticon TICK
public static final Emoticon CROSS
public static final Emoticon WARNING
public static final Emoticon PLUS
public static final Emoticon MINUS
public static final Emoticon QUESTION
public static final Emoticon LIGHT_ON
public static final Emoticon LIGHT_OFF
public static final Emoticon YELLOW_STAR
public static final Emoticon RED_STAR
public static final Emoticon GREEN_STAR
public static final Emoticon BLUE_STAR
public static final Emoticon HEART
public static final Emoticon BROKEN_HEART
public static final String IDENTIFYING_ATTRIBUTE_NAME
public static Emoticon[] values()
for (Emoticon c : Emoticon.values()) System.out.println(c);
public static Emoticon 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 getType()
public boolean isSecret()
public static Emoticon[] notSecretValues()
Copyright © 2003–2015 Atlassian. All rights reserved.