kieker.webgui.web.beans.application
Class ThemeSwitcherBean

java.lang.Object
  extended by kieker.webgui.web.beans.application.ThemeSwitcherBean

@Component
@Scope(value="singleton")
public final class ThemeSwitcherBean
extends Object

This is a Spring managed bean responsible for holding a map with all available themes (look and feels). The content is static, which means that it is not possible (or at least not intended) to add further themes during runtime. If you want to change the themes (or add new ones) take a look into the configuration file spring-bean-config.xml.

This class is a singleton scoped bean, as the list with the available themes is a static list. As this bean is Spring managed, it is not recommended to use the constructor or the setter methods.

Author:
Nils Christian Ehmke

Constructor Summary
ThemeSwitcherBean()
          Default constructor.
 
Method Summary
 Map<String,String> getThemes()
           
 void setThemes(Map<String,String> themes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThemeSwitcherBean

public ThemeSwitcherBean()
Default constructor. Do not use this constructor. This bean is Spring managed.

Method Detail

getThemes

public Map<String,String> getThemes()

setThemes

public void setThemes(Map<String,String> themes)


Copyright © 2015. All rights reserved.