Package org.pentaho.ui.xul.containers

Examples of org.pentaho.ui.xul.containers.XulMenu


  public XulMenupopup createPopupMenu(final String label, final XulComponent parent) throws XulException
  {

    final XulLoader xulLoader = window.getXulDomContainer().getXulLoader();
    final XulMenu menu = (XulMenu) xulLoader.createElement("MENU");
    menu.setLabel(label);
    parent.addChild(menu);

    final XulMenupopup childPopup = (XulMenupopup) xulLoader.createElement("MENUPOPUP");
    menu.addChild(childPopup);
    return childPopup;
  }
View Full Code Here

TOP

Related Classes of org.pentaho.ui.xul.containers.XulMenu

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.