Package com.github.dandelion.datatables.core.extension.theme

Examples of com.github.dandelion.datatables.core.extension.theme.Bootstrap2Theme


  @Test
  public void should_set_theme() {
    entry = new MapEntry<ConfigToken<?>, Object>(TableConfig.CSS_THEME, "bootstrap2");
    processor.process(entry, tableConfiguration);
    assertThat(entry.getValue()).isEqualTo(new Bootstrap2Theme());
   
    entry = new MapEntry<ConfigToken<?>, Object>(TableConfig.CSS_THEME, "BOOTSTRAP2");
    processor.process(entry, tableConfiguration);
    assertThat(entry.getValue()).isEqualTo(new Bootstrap2Theme());
   
    entry = new MapEntry<ConfigToken<?>, Object>(TableConfig.CSS_THEME, "jqueryui");
    processor.process(entry, tableConfiguration);
    assertThat(entry.getValue()).isEqualTo(new JQueryUITheme());
   
View Full Code Here

TOP

Related Classes of com.github.dandelion.datatables.core.extension.theme.Bootstrap2Theme

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.