Esempio n. 1
0
 public void onClientInfo$div(ClientInfoEvent event) {
   telaprincipal.setHeight(event.getDesktopHeight() + "px");
   telaprincipal.setWidth((event.getDesktopWidth() - 10) + "px");
   north.setSize((event.getDesktopHeight() * 0.037) + "px");
   // vlayout.setHeight((event.getDesktopHeight() * 0.246) + "px");
   west.setSize((event.getDesktopHeight() * 0.246) + "px");
   south.setSize((event.getDesktopHeight() * 0.049) + "px");
   ;
 }
 /**
  * Gets the current desktop height and width and <br>
  * stores it in two hidden intboxes components. <br>
  * We use these values for calculating the count of rows in the listboxes. <br>
  *
  * @param event
  * @throws Exception
  */
 public void onClientInfo(ClientInfoEvent event) throws Exception {
   setCurrentDesktopHeight(event.getDesktopHeight() - this.centerAreaHeightOffset);
   setCurrentDesktopWidth(event.getDesktopWidth());
 }