Package jfix.zk

Examples of jfix.zk.Window


      getNode().setParent(null);
      Textarea textarea = new Textarea();
      textarea.setVflex("1");
      textarea.setHflex("1");
      textarea.setValue(getObject().getText());
      Window window = new Window(getObject().getPath());
      window.setHeight("75%");
      window.appendChild(textarea);
      window.doModal();
      getRoot().appendChild(window);
    } catch (Exception e) {
      Modal.exception(e);
      return;
    } finally {
View Full Code Here


      });
      final User administrator = new User();
      administrator.setRole(role);
      administrator.setRoots(new Folder[] { (Folder) Nodes.getRoot() });

      final Window window = new Window(I18N.get("Setup_Administrator"));
      window.setClosable(false);
      window.setParent(getRoot());

      Editor editor = new Editor();
      editor.setObject(administrator);
      editor.addChangeListener(new ActionListener() {
        public void actionPerformed(Event evt) {
          window.close();
          redirectToLogin();
        }
      });
      editor.refresh();
      editor.setParent(window);
View Full Code Here

TOP

Related Classes of jfix.zk.Window

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.