Package com.google.gwt.user.client.ui

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


        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


    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

        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


                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

            }
        }));
        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

        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

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

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

        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_handlerConfigurations()));

        handlerTable = new DefaultCellTable<LoggingHandler>(PAGE_SIZE);
        SingleSelectionModel<LoggingHandler> selectionModel = new SingleSelectionModel<LoggingHandler>();
View Full Code Here

        detailPanel.add(form.asWidget());

        setEnabled(false)// initially don't allow edit

        ScrollPanel scroll = new ScrollPanel(detailPanel);
        return scroll;
    }
View Full Code Here

 

  private void addRecords(String[] records) {
    RootPanel.get("records_table_area").clear();
    ScrollPanel recordsPanel = new ScrollPanel();
    VerticalPanel vPanel = createRecordsPanel(records);
    HorizontalPanel hPanel = new HorizontalPanel();
    hPanel.setSpacing(5);
    vPanel.add(hPanel);
    recordsPanel.add(vPanel);
    RootPanel.get("records_table_area").add(recordsPanel);
  }
View Full Code Here

TOP

Related Classes of com.google.gwt.user.client.ui.ScrollPanel$Impl

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.