Enum Class Parts

java.lang.Object
java.lang.Enum<Parts>
cz.cuni.kubinja.hospitalsystem.calendar.util.Parts
All Implemented Interfaces:
Serializable, Comparable<Parts>, Constable

public enum Parts extends Enum<Parts>
Parts of the graphical export of calendar.
  • Enum Constant Details

    • TOP

      public static final Parts TOP
      Top part of graphical calendar representation
    • MIDDLE

      public static final Parts MIDDLE
      Middle part of graphical calendar representation
    • BOTTOM

      public static final Parts BOTTOM
      Bottom part of graphical calendar representation
  • Method Details

    • values

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