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

Examples of com.google.gwt.user.client.ui.TabLayoutPanel$Tab


        //layout.setWidgetBottomHeight(formPanel, 0, Style.Unit.PX, 30, Style.Unit.PCT);


        // ----------------------------------------------------------

        TabLayoutPanel tabLayoutpanel = new TabLayoutPanel(25, Style.Unit.PX);
        tabLayoutpanel.addStyleName("default-tabpanel");

        tabLayoutpanel.add(formPanel, "Instance Details");
        tabLayoutpanel.add(new HTML("This going to display heap, permgen, etc, "), "JVM Status");
        //tabLayoutpanel.add(new HTML("Baz"), "Other");

        tabLayoutpanel.selectTab(0);

        layout.add(tabLayoutpanel);
        layout.setWidgetBottomHeight(tabLayoutpanel, 0, Style.Unit.PX, 40, Style.Unit.PCT);

        return layout;
View Full Code Here


    @Override
    public Widget createWidget() {

        this.dataSourceEditor = new DataSourceEditor(presenter);

        TabLayoutPanel tabLayoutpanel = new TabLayoutPanel(25, Style.Unit.PX);
        tabLayoutpanel.addStyleName("default-tabpanel");


        tabLayoutpanel.add(dataSourceEditor.asWidget(), "Data Sources");
        tabLayoutpanel.add(new HTML("Not implemented yet"), "XA Data Sources");

        tabLayoutpanel.selectTab(0);

        return tabLayoutpanel;
    }
View Full Code Here

public class PTTabLayoutPanel extends PTWidget<TabLayoutPanel> {

    @Override
    public void create(final PTInstruction create, final UIService uiService) {
        init(create, uiService, new TabLayoutPanel(2, Unit.EM));
    }
View Full Code Here

    @Override
    public void add(final PTInstruction add, final UIService uiService) {

        final Widget w = asWidget(add.getObjectID(), uiService);
        final TabLayoutPanel tabPanel = uiObject;

        final int beforeIndex = add.getInt(PROPERTY.BEFORE_INDEX);

        if (add.containsKey(PROPERTY.TAB_TEXT)) {
            tabPanel.insert(w, add.getString(PROPERTY.TAB_TEXT), beforeIndex);
        } else if (add.containsKey(PROPERTY.TAB_WIDGET)) {
            final PTWidget<?> ptWidget = (PTWidget<?>) uiService.getPTObject(add.getLong(PROPERTY.TAB_WIDGET));
            tabPanel.insert(w, ptWidget.cast(), beforeIndex);
        }
    }
View Full Code Here

    public SplitEditorPanel() {
        dockLayout = new SplitLayoutPanel(5);

        topLayout = new LayoutPanel();

        bottomLayout = new TabLayoutPanel(25, Style.Unit.PX);
        bottomLayout.addStyleName("default-tabpanel");

        dockLayout.addSouth(bottomLayout, 250);
        dockLayout.add(topLayout);
    }
View Full Code Here

    public Widget createWidget() {

        this.dataSourceEditor = new DataSourceEditor(presenter);
        this.xaDataSourceEditor = new XADataSourceEditor(presenter);

        TabLayoutPanel tabLayoutpanel = new TabLayoutPanel(40, Style.Unit.PX);
        tabLayoutpanel.addStyleName("default-tabpanel");


        tabLayoutpanel.add(dataSourceEditor.asWidget(), Console.CONSTANTS.subsys_jca_dataSources());
        tabLayoutpanel.add(xaDataSourceEditor.asWidget(), Console.CONSTANTS.subsys_jca_dataSourcesXA());

        tabLayoutpanel.selectTab(0);

        return tabLayoutpanel;
    }
View Full Code Here

    }

    @Override
    public Widget createWidget() {

        TabLayoutPanel tabLayoutpanel = new TabLayoutPanel(40, Style.Unit.PX);
        tabLayoutpanel.addStyleName("default-tabpanel");

        workmanagerEditor = new WorkmanagerEditor(presenter);
        boostrapEditor = new JcaBootstrapEditor(presenter);
        baseEditor = new JcaBaseEditor(presenter);

        tabLayoutpanel.add(baseEditor.asWidget(), "Common Config");
        tabLayoutpanel.add(boostrapEditor.asWidget(), "Bootstrap Contexts");
        tabLayoutpanel.add(workmanagerEditor.asWidget(), "Work Manager");

        tabLayoutpanel.selectTab(0);

        return tabLayoutpanel;
    }
View Full Code Here

        );
    }

    @Override
    public Widget createWidget() {
        TabLayoutPanel tabLayoutpanel = new TabLayoutPanel(40, Style.Unit.PX);
        tabLayoutpanel.addStyleName("default-tabpanel");

        tabLayoutpanel.add(createEmbeddableWidget(), getEntityDisplayName());
        tabLayoutpanel.selectTab(0);

        return tabLayoutpanel;
    }
View Full Code Here

    public Widget createWidget() {

        deck = new DeckPanel();
        deck.setStyleName("fill-layout");

        TabLayoutPanel loggersTabs = new TabLayoutPanel(40, Style.Unit.PX);
        loggersTabs.addStyleName("default-tabpanel");

        loggersTabs.add(rootLoggerSubview.asWidget(), rootLoggerSubview.getEntityDisplayName());
        loggersTabs.add(loggerSubview.asWidget(), loggerSubview.getEntityDisplayName());
        loggersTabs.selectTab(0);


        TabLayoutPanel handlersTabs = new TabLayoutPanel(40, Style.Unit.PX);
        handlersTabs.addStyleName("default-tabpanel");

        handlersTabs.add(consoleHandlerSubview.asWidget(), Console.CONSTANTS.subsys_logging_console());
        handlersTabs.add(fileHandlerSubview.asWidget(), Console.CONSTANTS.subsys_logging_file());
        handlersTabs.add(periodicRotatingFileHandlerSubview.asWidget(), Console.CONSTANTS.subsys_logging_periodic());
        handlersTabs.add(sizeRotatingFileHandlerSubview.asWidget(), Console.CONSTANTS.subsys_logging_size());
        handlersTabs.add(asyncHandlerSubview.asWidget(), Console.CONSTANTS.subsys_logging_async());
        handlersTabs.add(customHandlerSubview.asWidget(), Console.CONSTANTS.subsys_logging_custom());
        handlersTabs.selectTab(0);

        deck.add(loggersTabs);
        deck.add(handlersTabs);

        // default
View Full Code Here

    @Override
    public Widget createWidget() {
        frameworkEditor = new FrameworkEditor(presenter);
        configAdminEditor = new ConfigAdminEditor(presenter);

        TabLayoutPanel tabLayoutPanel = new TabLayoutPanel(40, Style.Unit.PX);
        tabLayoutPanel.addStyleName("default-tabpanel");

        tabLayoutPanel.add(frameworkEditor.asWidget(), Console.CONSTANTS.subsys_osgi_framework());
        tabLayoutPanel.add(configAdminEditor.asWidget(), Console.CONSTANTS.subsys_osgi_configAdmin());

        tabLayoutPanel.selectTab(0);

        return tabLayoutPanel;
    }
View Full Code Here

TOP

Related Classes of com.google.gwt.user.client.ui.TabLayoutPanel$Tab

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.