Package com.zaranux.os.client.ui

Examples of com.zaranux.os.client.ui.ZWindow


  {

    if(_w != -1) // deserialized
    {
      View view = screen.getView(_v);
      zwindow = new ZWindow(widget,_w, _h, callback);
      view.addWindow(zwindow, _l, _t);
    }else
    {
      View activeView = screen.getActiveView();

      if(zwindow == null)
      {
        zwindow = new ZWindow(widget,width, height, callback);
      }
      int centerX = (activeView.getWidth() - width) / 2;
      int centerY = (activeView.getHeight() - height)/2;
      activeView.addWindow(zwindow, centerX, centerY);
    }
View Full Code Here

TOP

Related Classes of com.zaranux.os.client.ui.ZWindow

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.