Enum Class Emoticons

java.lang.Object
java.lang.Enum<Emoticons>
org.deltava.beans.cooler.Emoticons
All Implemented Interfaces:
Serializable, Comparable<Emoticons>, Constable

public enum Emoticons extends Enum<Emoticons>
An interface to store Water Cooler emoticon names.
Since:
1.0
Version:
5.0
Author:
Luke
  • Enum Constant Details

    • SMILE

      public static final Emoticons SMILE
    • WINK

      public static final Emoticons WINK
    • COOL

      public static final Emoticons COOL
    • FROWN

      public static final Emoticons FROWN
    • EEK

      public static final Emoticons EEK
    • MAD

      public static final Emoticons MAD
    • REDFACE

      public static final Emoticons REDFACE
    • CONFUSED

      public static final Emoticons CONFUSED
    • ROLLEYES

      public static final Emoticons ROLLEYES
    • BIGGRIN

      public static final Emoticons BIGGRIN
    • RAZZ

      public static final Emoticons RAZZ
    • PLOTTING

      public static final Emoticons PLOTTING
    • JUDGE

      public static final Emoticons JUDGE
    • SLITWRIST

      public static final Emoticons SLITWRIST
    • SCARED

      public static final Emoticons SCARED
    • EVILGRIN

      public static final Emoticons EVILGRIN
    • ROFL

      public static final Emoticons ROFL
    • NUTS

      public static final Emoticons NUTS
    • BLAHBLAH

      public static final Emoticons BLAHBLAH
    • RAWK

      public static final Emoticons RAWK
    • RIMSHOT

      public static final Emoticons RIMSHOT
    • KISS

      public static final Emoticons KISS
    • BANGHEAD

      public static final Emoticons BANGHEAD
    • FACEPALM

      public static final Emoticons FACEPALM
    • DROOL

      public static final Emoticons DROOL
  • Method Details

    • values

      public static Emoticons[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Emoticons valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getCode

      public String getCode()
      Returns the emoticon shortcut code.
      Returns:
      the code
    • getName

      public String getName()
      Returns the emoticon name.
      Returns:
      the lowercase name
    • find

      public static Emoticons find(String name)
      Find an emoticon based on name or code.
      Parameters:
      name - the emoticon
      Returns:
      an Emoticons entry, or null if not found