Enum Class BalloonSegmentType

java.lang.Object
java.lang.Enum<BalloonSegmentType>
net.jeqo.bloons.balloon.model.BalloonSegmentType
All Implemented Interfaces:
Serializable, Comparable<BalloonSegmentType>, Constable

public enum BalloonSegmentType extends Enum<BalloonSegmentType>
The type of segment that the model accommodates
  • Enum Constant Details

    • BODY

      public static final BalloonSegmentType BODY
      Accommodates the middle segments of the balloon
    • TAIL

      public static final BalloonSegmentType TAIL
      The tail of the balloon, indexed as the first index in the multipart balloon (0)
  • Method Details

    • values

      public static BalloonSegmentType[] 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 BalloonSegmentType 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