Package com.ponysdk.ui.server.basic

Examples of com.ponysdk.ui.server.basic.PScrollPanel


    @Override
    protected void onLeavingPage() {}

    @Override
    protected void onFirstShowPage() {
        codePanel = new PScrollPanel();

        examplePanel = new PSimpleLayoutPanel() {

            @Override
            public void setWidget(final PWidget w) {
View Full Code Here


public class DefaultScrollablePageView extends DefaultPageView implements PageView {

    @Override
    protected void buildBody() {
        body = new PScrollPanel();
        body.addStyleName(PonySDKTheme.PAGE_BODY);
    }
View Full Code Here

        final PHeaderPanel headerPanel = new PHeaderPanel();
        headerPanel.setHeaderWidget(getDatas("Header", 3));
        headerPanel.setFooterWidget(getDatas("Footer", 2));

        final PScrollPanel scroll = new PScrollPanel();
        scroll.setWidget(getDatas("Content", 100));
        scroll.setHeight("100%");
        scroll.setWidth("100%");
        headerPanel.setContentWidget(scroll);

        headerPanel.getHeaderWidget().setStyleProperty("border-bottom", "1px solid #EEE");
        headerPanel.getFooterWidget().setStyleProperty("border-top", "1px solid #EEE");
View Full Code Here

        container.add(cellListBox);
        container.add(actionListBox);
        container.add(styleListBox);
        container.add(update);

        final PScrollPanel scrollPanel = new PScrollPanel();
        scrollPanel.setWidget(container);
        scrollPanel.setSizeFull();

        examplePanel.setWidget(scrollPanel);
    }
View Full Code Here

TOP

Related Classes of com.ponysdk.ui.server.basic.PScrollPanel

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.