/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package plate.wellmann.shop.controller;

import javax.inject.Named;
import javax.enterprise.context.SessionScoped;
import java.io.Serializable;

/**
 *
 * @author Patrick
 */
@Named(value = "themeController")
@SessionScoped
public class ThemeController implements Serializable {

        private String theme = "start";
        
    private final String[] themes = {
        "afterdark",
        "afternoon",
        "afterwork",
        "aristo",
        "black-tie",
        "blitzer",
        "bluesky",
        "bootstrap",
        "casablanca",
        "cupertino",
        "cruze",
        "dark-hive",
        "delta",
        "dot-luv",
        "eggplant",
        "excite-bike",
        "flick",
        "glass-x",
        "home",
        "hot-sneaks",
        "humanity",
        "le-frog",
        "midnight",
        "mint-choc",
        "overcast",
        "pepper-grinder",
        "redmond",
        "rocket",
        "sam",
        "smoothness",
        "south-street",
        "start",
        "sunny",
        "swanky-purse",
        "trontastic",
        "ui-darkness",
        "ui-lightness",
        "vader"
    };

    /**
     * Get the value of themes
     *
     * @return the value of themes
     */
    public String[] getThemes() {
        return themes;
    }


    /**
     * Get the value of theme
     *
     * @return the value of theme
     */
    public String getTheme() {
        return theme;
    }

    /**
     * Set the value of theme
     *
     * @param theme new value of theme
     */
    public void setTheme(String theme) {
        this.theme = theme;
    }

    
    /**
     * Creates a new instance of ThemeController
     */
    public ThemeController() {
    }
    
}
