Enum Class CalendarView.HeaderLayout

java.lang.Object
java.lang.Enum<CalendarView.HeaderLayout>
com.dlsc.gemsfx.CalendarView.HeaderLayout
All Implemented Interfaces:
Serializable, Comparable<CalendarView.HeaderLayout>, Constable
Enclosing class:
CalendarView

public static enum CalendarView.HeaderLayout extends Enum<CalendarView.HeaderLayout>
Different layouts that can be used to position the month, the year, and the various navigation elements in the header of the view. We are intentionally not using the HPos enumeration object as we have good reason to believe that additional layouts will be added in the future.
  • Enum Constant Details

    • CENTER

      public static final CalendarView.HeaderLayout CENTER
      Centers the month and year in the middle. The previous / next month buttons will be on the left and right.
    • LEFT

      public static final CalendarView.HeaderLayout LEFT
      Positions the month and the year on the left side. The previous / next month buttons will both be on the right side.
  • Method Details

    • values

      public static CalendarView.HeaderLayout[] 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 CalendarView.HeaderLayout 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