java.lang.Object
java.lang.Enum<Navbar.Position>
de.agilecoders.wicket.core.markup.html.bootstrap.navbar.Navbar.Position
All Implemented Interfaces:
ICssClassNameProvider, Serializable, Comparable<Navbar.Position>, Constable, IClusterable
Enclosing class:
Navbar

public static enum Navbar.Position extends Enum<Navbar.Position> implements ICssClassNameProvider
indicates the position of the navigation bar itself
  • Enum Constant Details

    • TOP

      public static final Navbar.Position TOP
      fixate at the top of the screen
    • STICKY_TOP

      public static final Navbar.Position STICKY_TOP
      Create a full-width navbar that scrolls away with the page
    • BOTTOM

      public static final Navbar.Position BOTTOM
      fixate at the bottom of the screen
    • DEFAULT

      public static final Navbar.Position DEFAULT
      do not fixate the position
  • Method Details

    • values

      public static Navbar.Position[] 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 Navbar.Position 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
    • cssClassName

      public String cssClassName()
      Specified by:
      cssClassName in interface ICssClassNameProvider
      Returns:
      a css class name