100101102103104105106107
public void theme(Class<? extends Theme> clazz) { Class<? extends Theme> currentClass = config.asClass(UI_THEME, Shiny.class); if(!clazz.equals(currentClass)) { config.set(UI_THEME, clazz); bus.publish(new LookChanged()); } }
58596061626364
private void changeColors(Colors colors) { if(currentColors.equals(colors)) { return; } currentColors = colors; bus.publish(new LookChanged()); }