Examples of footerContent()


Examples of org.sgx.yuigwt.yui.widget.panel.Panel.footerContent()

          public void call(EventFacade e) {

            final Panel panel = y.newPanel((PanelConfig) PanelConfig.create().centered(true).width("400px"));
            panel.headerContent("<h1>" + name + "</h1>");
            panel.bodyContent("<div class=\"bodyContent\"></div>");
            panel.footerContent("<i>small</i>");

            Button acceptButton = getContext().newButton(ButtonConfig.create().label("Accept").on("click", new EventCallback<ButtonEvent>() {
              @Override
              public void call(ButtonEvent e) {
                panel.hide();
View Full Code Here

Examples of org.sgx.yuigwt.yui.widget.panel.Panel.footerContent()

      final PropertyHaverEditor2<T> entityEditor = new PropertyHaverEditor2<T>(y);

      final Panel panel = y.newPanel((PanelConfig) PanelConfig.create().centered(true).width("400px"));
      panel.headerContent("<h1>Add new " + entityName + "</h1>");
      panel.bodyContent("<div class=\"bodyContent\"></div>");
      panel.footerContent("<i>small</i>");


      Button cancelButton = y.newButton(ButtonConfig.create().label("Cancel").on("click", new EventCallback<ButtonEvent>() {
        @Override
        public void call(ButtonEvent e) {
View Full Code Here

Examples of org.sgx.yuigwt.yui.widget.panel.Panel.footerContent()

    // a panel initially empty but being poblated using the panel
    // api
    Panel panel2 = Y.newPanel((PanelConfig) PanelConfig.create().xy(10, 10).srcNode(parent.appendChild("<p></p>")).width("400px").render(true));
    panel2.headerContent("<h1>Panel header string</h1>");
    panel2.bodyContent(parent.appendChild("<p>Body <b>content</b> from an other node. Sl asdkljlksajd lfklaj serfjkjd slfj klajsdk fj klaj dsf. </p>"));
    panel2.footerContent("<i>small</i>");
    panel2.align(Align.create().node(parent).points(new Point[] { Point.create(0, 0), Point.create(0, 0) }));
    panel2.render(); // apply the align

    // now make this panel draggable by its header
    panel2.plug(Y.Plugin().Drag(), DragConfig.create().handles(new String[] { ".yui3-widget-hd" }));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.