Examples of ScrollPanel


Examples of com.google.gwt.user.client.ui.ScrollPanel

        stack.add(navigation);

        layout.add(stack);

        scroll = new ScrollPanel(layout);

    }
View Full Code Here

Examples of com.google.gwt.user.client.ui.ScrollPanel

        LayoutPanel layout = new LayoutPanel();

        VerticalPanel panel = new VerticalPanel();
        panel.setStyleName("rhs-content-panel");

        ScrollPanel scroll = new ScrollPanel(panel);
        layout.add(scroll);

        layout.setWidgetTopHeight(scroll, 0, Style.Unit.PX, 100, Style.Unit.PCT);

        // ---
View Full Code Here

Examples of com.google.gwt.user.client.ui.ScrollPanel

    public Widget build() {
        DockLayoutPanel wrapper = new DockLayoutPanel(Style.Unit.PX);
        wrapper.addSouth(options, 35);

        ScrollPanel scroll = new ScrollPanel(content);
        wrapper.add(scroll);

        return wrapper;
    }
View Full Code Here

Examples of com.google.gwt.user.client.ui.ScrollPanel

        FakeTabPanel titleBar = new FakeTabPanel(title);
        super.add(titleBar);
        super.setWidgetTopHeight(titleBar, 0, Style.Unit.PX, 40, Style.Unit.PX);

        ScrollPanel scroll = new ScrollPanel();

        delegate = new VerticalPanel();
        delegate.setStyleName("rhs-content-panel");

        scroll.add(delegate);
        super.add(scroll);
        super.setWidgetTopHeight(scroll, 40, Style.Unit.PX, 100, Style.Unit.PCT);

    }
View Full Code Here

Examples of com.google.gwt.user.client.ui.ScrollPanel


                DebugPanel debugPanel = new DebugPanel();
                Widget debugWidget = debugPanel.asWidget();
                window.setWidget(
                        new ScrollPanel(debugWidget)
                );

                window.setModal(false);
                //window.setGlassEnabled(true);
                window.center();
View Full Code Here

Examples of com.google.gwt.user.client.ui.ScrollPanel

            }
        }));
        treeContainer.add(tree);


        ScrollPanel scroll = new ScrollPanel(treeContainer);
        layout.addWest(scroll, 250);

        rawView = new RawView();
        descView = new DescriptionView();
        nodeHeader = new NodeHeader();
        storageView = new FXTemplatesView();

        TabPanel tabs = new TabPanel();
        tabs.setStyleName("default-tabpanel");
        tabs.getElement().setAttribute("style", "margin-top:15px;");

        tabs.add(descView.asWidget(), "Description");
        tabs.add(rawView.asWidget(), "Data");

        tabs.selectTab(0);

        // --

        VerticalPanel contentPanel = new VerticalPanel();
        contentPanel.setStyleName("rhs-content-panel");

        Widget headerWidget = nodeHeader.asWidget();
        contentPanel.add(headerWidget);
        contentPanel.add(tabs);

        ScrollPanel contentScroll = new ScrollPanel(contentPanel);
        layout.add(contentScroll);

        tree.addOpenHandler(new OpenHandler<TreeItem>() {
            @Override
            public void onOpen(OpenEvent<TreeItem> event) {
View Full Code Here

Examples of com.google.gwt.user.client.ui.ScrollPanel

        this.presenter = presenter;
    }

    public Widget asWidget() {

        ScrollPanel scroll = new ScrollPanel();

        VerticalPanel layout = new VerticalPanel();
        layout.setStyleName("rhs-content-panel");
       
        scroll.add(layout);

        layout.add(new ContentHeaderLabel(Console.CONSTANTS.subsys_logging_loggers()));
       
        loggerConfigTable = new DefaultCellTable<LoggerConfig>(PAGE_SIZE);
        loggerConfigTable.setSelectionModel(new SingleSelectionModel<LoggerConfig>());
View Full Code Here

Examples of com.google.gwt.user.client.ui.ScrollPanel

        );
        detailPanel.add(helpPanel.asWidget());

        detailPanel.add(form.asWidget());
       
        ScrollPanel scroll = new ScrollPanel(detailPanel);
        return scroll;
    }
View Full Code Here

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

Examples of de.lessvoid.nifty.controls.ScrollPanel

    this.screen = screen;
  }

  @Override
  public void init(final Properties parameter, final Attributes controlDefinitionAttributes) {
    ScrollPanel scrollPanel = getScrollPanel();
    scrollPanel.setUp(10.f, 10.f, 100.f, 100.f, AutoScroll.OFF);
    getScrollPanelXPosTextField().setText(String.valueOf((int)scrollPanel.getHorizontalPos()));
    getScrollPanelYPosTextField().setText(String.valueOf((int)scrollPanel.getVerticalPos()));
  }
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.