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

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


                queuelessPoolView, unboundedQueuePoolView, boundedQueuePoolView, scheduledPoolView);
    }

    @Override
    public Widget createWidget() {
        TabLayoutPanel tabLayoutpanel = new TabLayoutPanel(25, Style.Unit.PX);
        tabLayoutpanel.addStyleName("default-tabpanel");
       
        tabLayoutpanel.add(threadFactoryView.asWidget(), threadFactoryView.getEntityDisplayName());
        tabLayoutpanel.add(queuelessPoolView.asWidget(), queuelessPoolView.getEntityDisplayName());
        tabLayoutpanel.add(unboundedQueuePoolView.asWidget(), unboundedQueuePoolView.getEntityDisplayName());
        tabLayoutpanel.add(boundedQueuePoolView.asWidget(), boundedQueuePoolView.getEntityDisplayName());
        tabLayoutpanel.add(scheduledPoolView.asWidget(), scheduledPoolView.getEntityDisplayName());
        return tabLayoutpanel;
    }
View Full Code Here


    private JMSEditor jmsEditor;

    @Override
    public Widget createWidget() {

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

        providerEditor = new MessagingProviderEditor(presenter);
        jmsEditor = new JMSEditor(presenter);

        tabLayoutpanel.add(providerEditor.asWidget(), Console.CONSTANTS.subsys_messaging_jms_provider());
        tabLayoutpanel.add(jmsEditor.asWidget(), Console.CONSTANTS.subsys_messaging_jms_destinations());

        tabLayoutpanel.selectTab(0);

        return tabLayoutpanel;
    }
View Full Code Here

    public void selectTab() {
        Widget parent = getParent();
        while (!(parent instanceof TabLayoutPanel)) {
            parent = parent.getParent();
        }
        TabLayoutPanel tab = (TabLayoutPanel) parent;
        tab.selectTab(this);
    }
View Full Code Here

        return clone;
    }
   
    @Override
    public Widget cloneDisplay(Map<String, Object> data) {
        TabLayoutPanel panel = new MyTabLayoutPanel(25, Unit.PX);
        panel.getElement().setId(this.id);
        panel.getElement().setClassName(this.cssClassName);
        for (int index = 0; index < this.titles.size() && index < this.tabs.size(); index++) {
            FlowLayoutFormItem flow = this.tabs.get(index);
            TabLabelFormItem label = this.titles.get(index);
            if (flow != null && label != null) {
                Widget newFlow = flow.cloneDisplay(data);
                if (this.cssClassName != null && !"".equals(this.cssClassName)) {
                    newFlow.setStyleName(this.cssClassName);
                }
                panel.add(newFlow, label.cloneDisplay(data));
            }
        }
        super.populateActions(panel.getElement());
        return panel;
    }
View Full Code Here

TOP

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

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.