Package next.i.view

Examples of next.i.view.XDragScrollView


        tbl.setWidget(1, 1, btnGit);
      }
    });

    final XPopup popup = new XPopup();
    XDragScrollView view = new XDragScrollView();
    view.addStyleName("codeDemo");

    tbl.setWidget(0, 0, new XSpinner());
    tbl.setCellSpacing(10);

    FlexCellFormatter fcf = tbl.getFlexCellFormatter();
    fcf.setVerticalAlignment(0, 0, HasVerticalAlignment.ALIGN_TOP);
    fcf.setHorizontalAlignment(0, 0, HasHorizontalAlignment.ALIGN_LEFT);
    fcf.setVerticalAlignment(1, 0, HasVerticalAlignment.ALIGN_TOP);
    fcf.setHorizontalAlignment(1, 0, HasHorizontalAlignment.ALIGN_RIGHT);
    fcf.setVerticalAlignment(1, 1, HasVerticalAlignment.ALIGN_TOP);
    fcf.setHorizontalAlignment(1, 1, HasHorizontalAlignment.ALIGN_LEFT);
    fcf.setColSpan(0, 0, 2);
    fcf.setWidth(1, 0, "50%");
    fcf.setWidth(1, 1, "50%");
    view.add(tbl);

    int h = Window.getClientHeight();
    int w = Window.getClientWidth();
    popup.setWidget(view);
View Full Code Here

TOP

Related Classes of next.i.view.XDragScrollView

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.