Package org.sgx.yuigwt.yui.widget.panel

Examples of org.sgx.yuigwt.yui.widget.panel.PanelConfig


    }
    final TabView tb = Y.newTabView(TabViewConfig.create(tabConfig));
    tb.render(tbEl);

    // now render the panel
    PanelConfig panelConfig = (PanelConfig) PanelConfig.create().centered(true).srcNode(panelEl).width("80%").height("450px");
    panelConfig.headerContent("Example Sources");
    panelConfig.bodyContent(tbEl);
    final Panel panel1 = Y.newPanel(panelConfig);
    // panel1.contentBox().setY(0);
    panel1.render();

    // make it draggable by the header.
View Full Code Here


      config = y.merge(config, nodeConfig).cast();
      w = y.newCalendar(config).render();
    }

    else if (yuiWidget != null && yuiWidget.equals("panel")) {
      PanelConfig config = PanelConfig.create().srcNode(n).cast();
      config = y.merge(config, nodeConfig).cast();
      w = y.newPanel(config).render();
//      System.out.println("render panel");
//      System.out.println("panel config: " + JsUtil.dumpObj(config) + " - " + JsUtil.dumpObj(nodeConfig));
    }
View Full Code Here

TOP

Related Classes of org.sgx.yuigwt.yui.widget.panel.PanelConfig

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.