Package com.googlecode.mgwt.ui.client.widget.panel.scroll

Examples of com.googlecode.mgwt.ui.client.widget.panel.scroll.ScrollPanel


    currentPage = 0;

    selectionBar = new SelectionBar<G, T>(css);
    main.add(selectionBar);

    scrollPanel = new ScrollPanel();

    scrollPanel.setWidget(cellList);
    scrollPanel.setSnapSelector(cellList.getHeaderSelector());

    scrollPanel.setShowScrollBarX(false);
View Full Code Here


    main = new FlexPanel();
    initWidget(main);

    main.addStyleName(this.appearance.css().carousel());

    scrollPanel = new ScrollPanel();
    scrollPanel.addStyleName(this.appearance.css().carouselScroller());

    main.add(scrollPanel);

    container = new FlowPanel();
View Full Code Here

    fixedSpacer.setVisible(!MGWT.getOsDetection().isAndroid());
    headerPanel.add(fixedSpacer);

    main.add(headerPanel);

    ScrollPanel scrollPanel = new ScrollPanel();

    list = new CellList<Animation>(new BasicCell<Animation>() {

      @Override
      public String getDisplayString(Animation model) {
        return model.getName();
      }

      @Override
      public boolean canBeSelected(Animation model) {
        return true;
      }
    });

    FlowPanel container = new FlowPanel();
    container.add(list);

    scrollPanel.setWidget(container);
    scrollPanel.setScrollingEnabledX(false);

    main.add(scrollPanel);

  }
View Full Code Here

    headerPanel.add(new FlexSpacer());
    FixedSpacer fixedSpacer = new FixedSpacer();
    fixedSpacer.setVisible(!MGWT.getOsDetection().isAndroid());
    headerPanel.add(fixedSpacer);

    ScrollPanel scrollPanel = new ScrollPanel();

    cellListWithHeader = new CellList<Item>(new BasicCell<Item>() {

      @Override
      public String getDisplayString(Item model) {
        return model.getDisplayString();
      }

      @Override
      public boolean canBeSelected(Item model) {
        return true;
      }
    });
    scrollPanel.setWidget(cellListWithHeader);
    scrollPanel.setScrollingEnabledX(false);

    main.add(scrollPanel);

  }
View Full Code Here



    for (int i = 0; i < 5; i++) {
      RootFlexPanel rootFlexPanel = new RootFlexPanel();
      ScrollPanel scrollPanel2 = new ScrollPanel();
      scrollPanel2.setScrollingEnabledX(false);
      // scrollPanel2.setWidth("100%");

      Panel flowPanel3 = new Panel();
      flowPanel3.setRound(true);
      for (int j = 0; j < 10; j++) {
        HTML html = new HTML("Slide: " + (i + 1));
        html.getElement().getStyle().setMarginBottom(300, Unit.PX);
        flowPanel3.add(html);
      }

      scrollPanel2.setWidget(flowPanel3);
      rootFlexPanel.add(scrollPanel2);
      carousel.add(rootFlexPanel);
    }

  }
View Full Code Here

    FlowPanel container = new FlowPanel();
    container.add(cellList);


    ScrollPanel scrollPanel = new ScrollPanel();
    scrollPanel.setWidget(container);
    scrollPanel.setScrollingEnabledX(false);
    main.add(scrollPanel);

  }
View Full Code Here

  protected HeaderTitle title;

  public DetailViewGwtImpl() {
    main = new RootFlexPanel();

    scrollPanel = new ScrollPanel();

    headerPanel = new HeaderPanel();


View Full Code Here

    currentPage = 0;

    selectionBar = new SelectionBar<G, T>(css);
    main.add(selectionBar);

    scrollPanel = new ScrollPanel();

    scrollPanel.setWidget(cellList);
    scrollPanel.setSnapSelector(cellList.getHeaderSelector());

    scrollPanel.setShowVerticalScrollBar(false);
View Full Code Here

TOP

Related Classes of com.googlecode.mgwt.ui.client.widget.panel.scroll.ScrollPanel

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.