Module wicket.bootstrap.core
Enum Class Navbar.Position
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
indicates the position of the navigation bar itself
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionfixate at the bottom of the screendo not fixate the positionCreate a full-width navbar that scrolls away with the pagefixate at the top of the screen -
Method Summary
Modifier and TypeMethodDescriptionstatic Navbar.PositionReturns the enum constant of this class with the specified name.static Navbar.Position[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TOP
fixate at the top of the screen -
STICKY_TOP
Create a full-width navbar that scrolls away with the page -
BOTTOM
fixate at the bottom of the screen -
DEFAULT
do not fixate the position
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
cssClassName
- Specified by:
cssClassNamein interfaceICssClassNameProvider- Returns:
- a css class name
-