Enum Class TaskBar.Layout

java.lang.Object
java.lang.Enum<TaskBar.Layout>
overit.geocall.basic.ui.container.TaskBar.Layout
All Implemented Interfaces:
Serializable, Comparable<TaskBar.Layout>, Constable
Enclosing class:
TaskBar

public static enum TaskBar.Layout extends Enum<TaskBar.Layout>
Lists the possible layouts of the TaskBar
  • Enum Constant Details

  • Method Details

    • values

      public static TaskBar.Layout[] 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 TaskBar.Layout 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
    • getInstance

      public static TaskBar.Layout getInstance(String mode)
      Returns a static instance of the layout of the Taskbar
      Parameters:
      mode - The string that describes the layout of the TaskBar.
      The possible values are:
      "fixedLogo": the logo's area remains fixed, and the user can scroll the rest of the TaskBar
      "fixedIdentity": (the default one) the logo's area and the identity's area remains fixed, and the user can scroll the rest of the TaskBar
      "fullScroll": it is possible to scroll the full TaskBar
      "foldableFavorites" it is the same as "fixedIdentity" with the feature for hide/shows the favorites box in addition.
      Returns:
      The layout of the TaskBar