Package org.zkoss.zul

Examples of org.zkoss.zul.Window


    /**
     * !! Windows as NameSpaceContainer to prevent not unique id's error
     * from other dashboard module buttons or other used components.
     */
    Window win = new Window();
    win.setBorder("none");
    win.setSclass("OT-DashboardWindow");
    win.setParent(this);

    Panel pl = new Panel();
    pl.setBorder("normal");
    pl.setClosable(false);
    pl.setParent(win);
View Full Code Here


    /**
     * !! Windows as NameSpaceContainer to prevent not unique id's error
     * from other dashboard module buttons or other used components.
     */
    Window win = new Window();
    win.setBorder("none");
    win.setSclass("OT-DashboardWindow");
    win.setParent(this);

    Panel pl = new Panel();
    pl.setBorder("normal");
    pl.setClosable(false);
    pl.setParent(win);
View Full Code Here

        cb.setChecked(true);
        UserWorkspace.getInstance().setTreeMenu(true);

        // Refresh the whole page for setting correct sizes of the
        // components
        final Window win = (Window) Path.getComponent("/outerIndexWindow");
        win.invalidate();

      }
    });

    // Refresh the whole page for setting correct sizes of the
    // components
    final Window win = (Window) Path.getComponent("/outerIndexWindow");
    win.invalidate();
  }
View Full Code Here

    } catch (Exception e) {
      e.printStackTrace();
      System.out.println("wh FormatNumberHelper null pointer");
    }

    Window formatMainWin = (Window) Path.getComponent("//p1/mainWin/formatMainWin");
    formatMainWin.setVisible(false);
    spreadsheet.setHighlight(null);
  }
View Full Code Here

    namevar.setNameName(name);
    namevar.setSheetIndex(sheetindex);
    CellRangeAddress cra = new CellRangeAddress(top, bottom, left, right);
    namevar.setRefersToFormula(cra.formatAsString());
   
    Window rangeAddWin = (Window) Path.getComponent("//p1/rangeAddWin");
    rangeAddWin.detach();
  }
View Full Code Here

      if (st != null) {
        String rangeName = st.getLabel();
        book.removeName(rangeName);
      }

      Window rangeDeleteWin = (Window) Path
          .getComponent("//p1/rangeDeleteWin");
      rangeDeleteWin.detach();
    } catch (Exception e) {
      e.printStackTrace();
    }

  }
View Full Code Here

        rect = new Rect(cra.getFirstColumn(), cra.getFirstRow(),
            cra.getLastColumn(), cra.getLastRow());
        spreadsheet.setSelection(rect);
      }

      Window rangeChooseWin = (Window) Path
          .getComponent("//p1/rangeChooseWin");
      rangeChooseWin.detach();
    } catch (Exception e) {
      e.printStackTrace();
    }
  }
View Full Code Here

//    win.doPopup();// Modal();
//  }

  // SECTION HELP MENU
  public void onHelpCheatsheet(ForwardEvent event) {
    Window win = (Window) mainWin.getFellow("cheatsheet");
    win.setPosition("parent");
    win.setLeft("327px");
    win.setTop("124px");
    win.doPopup();
  }
View Full Code Here

    closeFormatNumberWindow();
*/   
  }
 
  private void closeFormatNumberWindow() {
    Window formatNumberWin = (Window) Path.getComponent("//p1/mainWin/formatNumberWin");
    formatNumberWin.setVisible(false);
    spreadsheet.setHighlight(null);
  }
View Full Code Here

      e.printStackTrace();
    }
  }
 
  private void windowPopupOnceByName(String s){
    Window win = (Window) getFellow(s);
    win.doPopup();
    win.setVisible(false);
  }
View Full Code Here

TOP

Related Classes of org.zkoss.zul.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.