Package com.gwtext.client.widgets

Examples of com.gwtext.client.widgets.Panel


    public Collection<PropertyWidget> getWidgets() {
        return widgets;
    }

    protected Panel createInnerPanel(Map panelConf) {
        Panel panel = new Panel();
        panel.setLayout(new FormLayout()); // TODO
        panel.setPaddings(5);
        panel.setBorder(false);
        panel.setAutoScroll(true);

        tab2TypesAny.put(panel, (Collection<String>) panelConf.get(FormConstants.TYPES_ANY));
        setTabVisible(panel, true);

        createInnerPanelComponents(panel, panelConf);
View Full Code Here


    protected CheckBox createCheckComponent(String name, String label) {
        return new CheckBox(label);
    }

    protected Panel createWrappingPanel() {
        wrappingPanel = new Panel();
        wrappingPanel.setLayout(new ColumnLayout());
        wrappingPanel.setPaddings(5);
        int height = UIUtil.getIntegerConfigurationProperty(getWidgetConfiguration(), FormConstants.HEIGHT, 120);
        wrappingPanel.setHeight(height);
View Full Code Here

        appendInviteeForm();
        addInviteMoreLink();

        scrollPanel.add(inviteeListFlexTable);

        Panel panel = new Panel();
        panel.setBorder(false);
        panel.setCls("loginpanel");
        panel.setLayout(new FitLayout());
        invitationWindow.setLayout(new FitLayout());

        FlexTable inviteePanelFlexTable = new FlexTable();
        inviteePanelFlexTable.setWidget(0, 0, scrollPanel);
        inviteePanelFlexTable.setWidget(1, 0, inviteMoreHTML);
        inviteePanelFlexTable.setWidget(2, 0, sendInvitationButton);
        inviteePanelFlexTable.getFlexCellFormatter().setAlignment(2, 0, HasAlignment.ALIGN_CENTER,
                HasAlignment.ALIGN_MIDDLE);

        panel.add(inviteePanelFlexTable, new AnchorLayoutData("-100 30%"));

        invitationWindow.setWidth("380px");
        invitationWindow.setHeight("250px");
        invitationWindow.add(panel);
        invitationWindow.setPaddings(10);
View Full Code Here

       setTitle("Parents");
       setLayout(new FitLayout());
       parentsPanel = new ParentsPanel(getProjectId(), false, false, false, false, true);
       parentsPanel.setContainerPortlet(this);
       parentsPanel.setAutoScroll(false);
       Panel wrappingPanel = new Panel();
       wrappingPanel.add(parentsPanel.getParentsPanel());
       wrappingPanel.setAutoScroll(true);
       add(wrappingPanel);
    }
View Full Code Here

    public Component getComponent() {
        return wrappingPanel;
    }

    protected Panel createWrappingPanel() {
        Panel panel = new Panel();
        panel.setLayout(new ColumnLayout());
        panel.setPaddings(5);
        return panel;
    }
View Full Code Here

        label = new Label();
        return label;
    }

    protected Component createFieldComponent() {
        return new Panel();
    }
View Full Code Here

        }

        FlexTable topLoginTable = new FlexTable();
        topLoginTable.setWidget(0, 0, loginTable);
        topLoginTable.getFlexCellFormatter().setAlignment(0, 0, HasAlignment.ALIGN_CENTER, HasAlignment.ALIGN_MIDDLE);
        Panel panel = new Panel();
        panel.setBorder(false);
        panel.setPaddings(15);
        panel.setCls("loginpanel");
        panel.setLayout(new FitLayout());

        win.setLayout(new FitLayout());

        panel.add(topLoginTable, new AnchorLayoutData("-100 30%"));
        win.setTitle("Sign in");
        win.setClosable(true);
        win.setClosable(true);
        win.setPaddings(7);
        win.setCloseAction(Window.HIDE);
View Full Code Here

        indListPorlet = createIndividualsListPorlet();
        add(indListPorlet, new ColumnLayoutData(showClsesPanel ? 0.5 : 1));

        if (showClsesPanel) {
            Panel clsesPanel = createClsesPanel();
            add(clsesPanel, new ColumnLayoutData(0.5));
        } else {
            EntityData firstItem = UIUtil.getFirstItem(clses);
            indListPorlet.setEntity(firstItem); //TODO: handle multiple classes
        }
View Full Code Here

            indListPorlet.setEntity(firstItem); //TODO: handle multiple classes
        }
    }

    protected Panel createClsesPanel() {
        final Panel clsesPanel = new Panel();
        clsesPanel.setLayout(new VerticalLayout(5));
        clsesPanel.setAutoWidth(true);

        clsTreePortlet = createClassTreePortlet(seeAllClasses);
        seeAllClassesAnchor = createSeeAllClassesAnchor();

        clsesPanel.add(clsTreePortlet);
        clsesPanel.add(seeAllClassesAnchor);

        seeAllClassesAnchor.addClickHandler(new ClickHandler() {
            public void onClick(ClickEvent event) {
                seeAllClasses = !seeAllClasses;
                remove(clsesPanel.getId());
                clsesPanel.removeFromParent();
                Panel clsesPanel1 = createClsesPanel();
                insert(0, clsesPanel1);
                doLayout();
            }
        });
View Full Code Here

        setPaddings(5);
        setLayout(new ColumnLayout());

        topClass = getRootClsName();

        Panel linkPanel = new Panel();

        if (isClassCreateEnabled()) {
            linkPanel.add(createCreateClsHtml()); //TODO: commented out because it invoked ICD class creation
        }

        if (isChangeParentEnabled()) {
            linkPanel.add(createMoveClsHtml());
        }

        if (isRetireClassEnabled()) {
            linkPanel.add(new HTML("<br />"));
            linkPanel.add(createRetireClsHtml());
        }

        linkPanel.add(createAdditionalHtml());

        wrappingPanel = new Panel();
        wrappingPanel.setAutoScroll(true);
        wrappingPanel.setPaddings(5);
        wrappingPanel.setLayout(new FitLayout());

        add(linkPanel, new ColumnLayoutData(.35));
View Full Code Here

TOP

Related Classes of com.gwtext.client.widgets.Panel

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.