Package com.google.code.jqwicket

Source Code of com.google.code.jqwicket.TabsPage

package com.google.code.jqwicket;

import com.google.code.jqwicket.api.JQOptions;
import com.google.code.jqwicket.ui.tabs.TabsOptions;
import com.google.code.jqwicket.ui.tabs.TabsWebMarkupContainer;

public class TabsPage extends DemoPage {

    public TabsPage() {

        TabsOptions options = new TabsOptions().disabled(1).cookie(
                JQOptions.valueOf("expires: 7, path: '/'"));

        add(new TabsWebMarkupContainer("tabs", options).add(JQBehaviors
                .draggable()));

    }

    /**
     * {@inheritDoc}
     *
     * @see com.google.code.jqwicket.DemoPage#getExampleTitle()
     */
    @Override
    protected String getExampleTitle() {
        return "JQuery UI Tabs example";
    }

    /**
     * {@inheritDoc}
     *
     * @see com.google.code.jqwicket.DemoPage#getExampleDescription()
     */
    @Override
    protected String getExampleDescription() {
        return "This example demonstrates JQuery UI Tabs integration";
    }
}
TOP

Related Classes of com.google.code.jqwicket.TabsPage

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.