Examples of BorderLayoutData


Examples of com.extjs.gxt.ui.client.widget.layout.BorderLayoutData

    LayoutContainer topPanel = new LayoutContainer();
    setWhiteBackgroundColor(topPanel);
    topPanel.setLayout(new BorderLayout());
   
    HeaderPanel headerPanel = new HeaderPanel();
    topPanel.add(headerPanel, new BorderLayoutData(LayoutRegion.NORTH, 80.0f));
   
    HeaderHome breadcrumbPanel = new HeaderHome();
    setPadding(breadcrumbPanel);
   
    topPanel.add(breadcrumbPanel, new BorderLayoutData(LayoutRegion.SOUTH, 50));
    rootPanel.add(topPanel, new BorderLayoutData(LayoutRegion.NORTH, 140.0f));
  }
View Full Code Here

Examples of com.extjs.gxt.ui.client.widget.layout.BorderLayoutData

    cp.setHeading("Charts Gallery");
    cp.setFrame(true);
    cp.setSize(700, 350);
    cp.setLayout(new BorderLayout());

    BorderLayoutData eastData = new BorderLayoutData(LayoutRegion.EAST, 370);

    BorderLayoutData centerData = new BorderLayoutData(LayoutRegion.CENTER);
    centerData.setMargins(new Margins(0, 5, 0, 0));

    cp.add(getChart(), centerData);
    cp.add(getDetails(), eastData);

    add(cp, new MarginData(20));
View Full Code Here

Examples of com.extjs.gxt.ui.client.widget.layout.BorderLayoutData

                    FormFieldCreator.copyValue(prop, f);
                }
            }
        });

        panel.add(sourceLangPropertiesEditor, new BorderLayoutData(Style.LayoutRegion.WEST, windowWidth/2));
        panel.add(targetLangPropertiesEditor, new BorderLayoutData(Style.LayoutRegion.EAST, windowWidth/2));

        add(panel);

        LayoutContainer buttonsPanel = new LayoutContainer();
        buttonsPanel.setBorders(false);
View Full Code Here

Examples of com.extjs.gxt.ui.client.widget.layout.BorderLayoutData

        } else {
            m = (ContentPanel) mainAreaComponent.getParent();
            m.remove(mainAreaComponent);
        }
        mainAreaComponent = w;
        m.add(mainAreaComponent, new BorderLayoutData(Style.LayoutRegion.CENTER));
        m.layout();
    }
View Full Code Here

Examples of com.extjs.gxt.ui.client.widget.layout.BorderLayoutData

    public void restoreMainArea() {
        ContentPanel m = (ContentPanel) mainAreaComponent.getParent();
        m.remove(mainAreaComponent);
        mainAreaComponent = null;
        m.add(mainModule, new BorderLayoutData(Style.LayoutRegion.CENTER));
        m.layout();
        mainModule.getContainer().setVScrollPosition(mainAreaVScrollPosition);
    }
View Full Code Here

Examples of com.extjs.gxt.ui.client.widget.layout.BorderLayoutData

        JahiaGWTParameters.setSitesMap(config.getSitesMap());

        borderLayout =  new BorderLayout();
        setLayout(borderLayout);
        setHeaderVisible(false);
        BorderLayoutData data = new BorderLayoutData(Style.LayoutRegion.WEST, 300);
        data.setCollapsible(true);
        data.setSplit(true);
        data.setFloatable(true);
        sidePanel = new SidePanel(config);
        sidePanel.setStyleAttribute("z-index", "999");
        sidePanel.addStyleName("gwt-only-panel");
        add(sidePanel, data);

        toolbar =  new ActionToolbarLayoutContainer(config.getTopToolbar());
        toolbar.setStyleAttribute("z-index", "999");
        toolbar.setStyleAttribute("position", "relative");
        toolbar.addStyleName("gwt-only-panel");
        setTopComponent(toolbar);

        setScrollMode(Style.Scroll.NONE);
        mainModule = new MainModule(html, path, template, nodeTypes, config);
        mainModule.getHeader().addStyleName("gwt-only-panel");       
        add(mainModule, new BorderLayoutData(Style.LayoutRegion.CENTER));

        editLinker = new EditLinker(mainModule, sidePanel, toolbar, config);
        GWTJahiaLanguage lang = new GWTJahiaLanguage();
        lang.setLanguage(JahiaGWTParameters.getLanguage());
        lang.setDisplayName(JahiaGWTParameters.getLanguageDisplayName());
View Full Code Here

Examples of com.extjs.gxt.ui.client.widget.layout.BorderLayoutData

            tab.setProcessed(true);
            tab.setLayout(new BorderLayout());
            final GWTJahiaNode node = engine.getNode();
            initCategoriesStoreA(node, engine);
            if (!engine.isExistingNode() || (PermissionsUtils.isPermitted("jcr:modifyProperties",node) && !node.isLocked())) {
                tab.add(createCategoriedPickerPanel(), new BorderLayoutData(Style.LayoutRegion.NORTH, 250));
            }
            tab.add(createSelectedCategoriesPanel(engine), new BorderLayoutData(Style.LayoutRegion.CENTER));
            tab.layout();
        }
    }
View Full Code Here

Examples of com.extjs.gxt.ui.client.widget.layout.BorderLayoutData

        listPanel.setSize(600, 350);
        listPanel.setBottomComponent(pagingToolBar);
        grid.getAriaSupport().setLabelledBy(listPanel.getId());
        add(listPanel);

        BorderLayoutData centerData = new BorderLayoutData(Style.LayoutRegion.CENTER);
        add(listPanel, centerData);

        FormPanel detailPanel = new FormPanel();
        detailPanel.setBorders(true);
        detailPanel.setBodyBorder(true);
        detailPanel.setHeaderVisible(true);
        detailPanel.setHeading(Messages.get("label.detailed", "Details"));
        detailPanel.setScrollMode(Style.Scroll.AUTOY);
        detailPanel.setLabelWidth(100);
        detailsPanel = detailPanel;

        BorderLayoutData southData = new BorderLayoutData(Style.LayoutRegion.SOUTH, 200);
        southData.setSplit(true);
        southData.setCollapsible(true);
        add(detailPanel, southData);

    }
View Full Code Here

Examples of com.extjs.gxt.ui.client.widget.layout.BorderLayoutData

        super.onRender(parent, pos);
        setLayout(new BorderLayout());

        headerPanel = new Header();
        add(headerPanel, new BorderLayoutData(LayoutRegion.NORTH, 60));
        cardPanel = new CardPanel();
        cardPanel.setStyleAttribute("padding", "5px 5px 5px 5px");
        cardPanel.setStyleAttribute("backgroundColor", "#F6F6F6");

        add(cardPanel, new BorderLayoutData(LayoutRegion.CENTER));
        for (WizardCard wizardCard : cards) {
            cardPanel.add(wizardCard);
        }

        if (cards.size() > 0) {
View Full Code Here

Examples of com.extjs.gxt.ui.client.widget.layout.BorderLayoutData

            public void selectionChanged(SelectionChangedEvent<BaseModelData> se) {
                updateView();
            }
        });

        BorderLayoutData data = new BorderLayoutData(Style.LayoutRegion.NORTH, 150);
        data.setCollapsible(true);
        data.setSplit(true);
        data.setFloatable(true);

        add(list, data);

        cardsContainer = new LayoutContainer(new CardLayout());
        add(cardsContainer, new BorderLayoutData(Style.LayoutRegion.CENTER));

        this.linker = linker;
        this.mainContainer = mainContainer;
        this.bar = new ButtonBar();
        this.bar.setAlignment(Style.HorizontalAlignment.CENTER);
View Full Code Here
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.