Package com.ponysdk.ui.server.basic

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


    @Override
    protected void onFirstShowPage() {
        super.onFirstShowPage();

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

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

TOP

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

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.