Package org.tomighty.bus.messages.ui

Examples of org.tomighty.bus.messages.ui.LookChanged


    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());
      }
    }
View Full Code Here


  private void changeColors(Colors colors) {
    if(currentColors.equals(colors)) {
      return;
    }
    currentColors = colors;
    bus.publish(new LookChanged());
  }
View Full Code Here

TOP

Related Classes of org.tomighty.bus.messages.ui.LookChanged

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.