Enum Class SyllableConstituentType

java.lang.Object
java.lang.Enum<SyllableConstituentType>
ca.phon.syllable.SyllableConstituentType
All Implemented Interfaces:
Serializable, Comparable<SyllableConstituentType>, Constable

public enum SyllableConstituentType extends Enum<SyllableConstituentType>
Parts of a syllable. Every phone may have one of these types associated with it.
  • Enum Constant Details

  • Method Details

    • values

      public static SyllableConstituentType[] 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 SyllableConstituentType 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
    • getIdentifier

      public String getIdentifier()
    • getIdChar

      public char getIdChar()
    • getColor

      public Color getColor()
    • getMnemonic

      public String getMnemonic()
    • fromString

      public static SyllableConstituentType fromString(String identifier)
      Return the constituent type for the given identifier.
      Parameters:
      identifier -
      Returns:
      the constituent type or
      invalid @link
      UKNOWN
      if not found