Package com.googlecode.mgwt.ui.client.resource.MainResourceAppearance

Examples of com.googlecode.mgwt.ui.client.resource.MainResourceAppearance.UtilCss


  }-*/;

  // update styles on body
    private static void setClasses(ORIENTATION o) {

      UtilCss utilCss = MainResourceHolder.getUtilCss();
      switch (o) {

      case PORTRAIT:
        Document.get().getBody().addClassName(utilCss.portrait());
        Document.get().getBody().removeClassName(utilCss.landscape());
        break;
      case LANDSCAPE:
        Document.get().getBody().addClassName(utilCss.landscape());
        Document.get().getBody().removeClassName(utilCss.portrait());
        break;

      default:
        break;
      }
View Full Code Here

TOP

Related Classes of com.googlecode.mgwt.ui.client.resource.MainResourceAppearance.UtilCss

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.