com.jwebmp.plugins.bootstrap.navbar.BSNavBarColourSchemes Maven / Gradle / Ivy
Show all versions of jwebmp-bootstrap Show documentation
/*
* Copyright (C) 2017 Marc Magon
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
package com.jwebmp.plugins.bootstrap.navbar;
import com.fasterxml.jackson.annotation.JsonValue;
import com.jwebmp.plugins.bootstrap.options.IBSComponentOptions;
import static com.jwebmp.core.utilities.StaticStrings.*;
/**
* Color schemes
*
* Theming the navbar has never been easier thanks to the combination of theming classes and background-color utilities. Choose from .navbar-light for use with light background
* colors, or
* .navbar-inverse for dark background colors. Then, customize with .bg-* utilities.
*
* @author GedMarc
* @since 21 Jan 2017
*/
public enum BSNavBarColourSchemes
implements IBSComponentOptions
{
/**
* Color schemes
*
* Theming the navbar has never been easier thanks to the combination of theming classes and background-color utilities. Choose from .navbar-light for use with light background
* colors, or
* .navbar-inverse for dark background colors. Then, customize with .bg-* utilities.
*/
Navbar_Inverse,
/**
* Color schemes
*
* Theming the navbar has never been easier thanks to the combination of theming classes and background-color utilities. Choose from .navbar-light for use with light background
* colors, or
* .navbar-inverse for dark background colors. Then, customize with .bg-* utilities.
*/
BG_Inverse,
/**
* Color schemes
*
* Theming the navbar has never been easier thanks to the combination of theming classes and background-color utilities. Choose from .navbar-light for use with light background
* colors, or
* .navbar-inverse for dark background colors. Then, customize with .bg-* utilities.
*/
BG_Faded,
/**
* Color schemes
*
* Theming the navbar has never been easier thanks to the combination of theming classes and background-color utilities. Choose from .navbar-light for use with light background
* colors, or
* .navbar-inverse for dark background colors. Then, customize with .bg-* utilities.
*/
Navbar_Light;
BSNavBarColourSchemes()
{
//Nothing Needed
}
@JsonValue
@Override
public String toString()
{
return name().toLowerCase()
.replaceAll("\\$", STRING_SPACE)
.replaceAll("_", "-");
}
}