Package org.zkoss.zk.ui.event

Examples of org.zkoss.zk.ui.event.ClientInfoEvent


  }

  private void initBrowserInfo() {
    getRoot().addEventListener(Events.ON_CLIENT_INFO, new EventListener() {
      public void onEvent(Event evt) throws Exception {
        ClientInfoEvent ce = (ClientInfoEvent) evt;
        JeaseSession.set(Names.JEASE_CMS_HEIGHT, ce.getDesktopHeight());
        JeaseSession.set(Names.JEASE_CMS_WIDTH, ce.getDesktopWidth());
      }
    });
  }
View Full Code Here

TOP

Related Classes of org.zkoss.zk.ui.event.ClientInfoEvent

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.