Package com.onec.ui

Enum Class NavStyle

All Implemented Interfaces:
Serializable, Comparable<NavStyle>, Constable

public enum NavStyle extends Enum<NavStyle>
How the app's navigation chrome presents. A renderer-agnostic hint the shell emitter shapes the nav around and the client positions the nav card by:
  • SIDEBAR — a vertical rail beside the content (classic desktop).
  • TOPBAR — a horizontal bar above the content.
  • BOTTOM_BAR — a tab bar pinned below the content (mobile).
  • Enum Constant Details

    • TOPBAR

      public static final NavStyle TOPBAR
    • BOTTOM_BAR

      public static final NavStyle BOTTOM_BAR
  • Method Details

    • values

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