Enum Scheduler.View

java.lang.Object
java.lang.Enum<Scheduler.View>
com.codename1.ui.scheduler.Scheduler.View
All Implemented Interfaces:
Comparable<Scheduler.View>
Enclosing class:
Scheduler

public static enum Scheduler.View extends Enum<Scheduler.View>
The ways a schedule is shown.
  • Enum Constant Details

    • DAY

      public static final Scheduler.View DAY
      One day, time running down.
    • WORK_WEEK

      public static final Scheduler.View WORK_WEEK
      The working days of a week side by side.
    • WEEK

      public static final Scheduler.View WEEK
      A week side by side.
    • MONTH

      public static final Scheduler.View MONTH
      A month of day cells.
    • AGENDA

      public static final Scheduler.View AGENDA
      A list, day by day.
    • RESOURCE_TIMELINE

      public static final Scheduler.View RESOURCE_TIMELINE
      A row per resource, time running across.
    • RESOURCE_DAY

      public static final Scheduler.View RESOURCE_DAY
      One day with a column per resource.
  • Method Details

    • values

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

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