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

Examples of com.google.gwt.user.client.ui.FlowPanel.addStyleName()


        masterPanel.clear();

        for (OBOTermEditorGroup group : groupList) {
            // The outer element for a group of editors is a DIV
            FlowPanel editorGroupPanel = new FlowPanel();
            editorGroupPanel.addStyleName("web-protege-form-layout-editor-group");

            // In group
            for (OBOTermEditor termEditor : group.getTermEditors()) {

                FlowPanel termEditorPanel = new FlowPanel();
View Full Code Here


            // In group
            for (OBOTermEditor termEditor : group.getTermEditors()) {

                FlowPanel termEditorPanel = new FlowPanel();
                termEditorPanel.addStyleName("web-protege-term-editor");
                editorGroupPanel.add(termEditorPanel);
               
                // A list of DIV elements - one per labelled editor
                FlowPanel editorGroupForm = new FlowPanel();
                editorGroupForm.addStyleName("web-protege-form-layout-editor-group-form");
View Full Code Here

                termEditorPanel.addStyleName("web-protege-term-editor");
                editorGroupPanel.add(termEditorPanel);
               
                // A list of DIV elements - one per labelled editor
                FlowPanel editorGroupForm = new FlowPanel();
                editorGroupForm.addStyleName("web-protege-form-layout-editor-group-form");
                termEditorPanel.add(editorGroupForm);

                for (int i = 0; i < termEditor.getEditorCount(); i++) {

                    FlowPanel labelledEditorPanel = new FlowPanel();
View Full Code Here

                termEditorPanel.add(editorGroupForm);

                for (int i = 0; i < termEditor.getEditorCount(); i++) {

                    FlowPanel labelledEditorPanel = new FlowPanel();
                    labelledEditorPanel.addStyleName("web-protege-form-layout-labelled-editor");

                    editorGroupForm.add(labelledEditorPanel);

                    WebProtegeFormLabel editorLabel = new WebProtegeFormLabel(termEditor.getLabel(i));
                    editorLabel.addStyleName("web-protege-form-layout-label");
View Full Code Here

                    labelledEditorPanel.add(editorLabel);
                    FlowPanel editorPanel = new FlowPanel();
                    Widget widget = termEditor.getEditorWidget(i);
                    widget.addStyleName("web-protege-form-layout-editor-input");
                    editorPanel.add(widget);
                    editorPanel.addStyleName("web-protege-form-layout-editor");
                    labelledEditorPanel.add(editorPanel);
                }

                if(termEditor.hasXRefs()) {
                    FlowPanel sidePanel = new FlowPanel();
View Full Code Here

                    labelledEditorPanel.add(editorPanel);
                }

                if(termEditor.hasXRefs()) {
                    FlowPanel sidePanel = new FlowPanel();
                    sidePanel.addStyleName("web-protege-form-layout-editor-group-sidebar");
                    termEditorPanel.add(sidePanel);
                    sidePanel.add(termEditor.getXRefListEditor());
                }
            }
            masterPanel.add(editorGroupPanel);
View Full Code Here

        Label message5 = new Label(messages.saveAsApprovedDialogInfo3());
        message4.addStyleName("subInfo");
        message5.addStyleName("subInfo");

        FlowPanel infoPanel = new FlowPanel();
        infoPanel.addStyleName("info");

        infoPanel.add(info);
        infoPanel.add(message3);
        infoPanel.add(message4);
        infoPanel.add(message5);
View Full Code Here

    private void addDocumentLabel(String docName,
            ClickHandler viewDocClickHandler,
            ClickHandler searchDocClickHandler, ClickHandler infoClickHandler) {
        FlowPanel docHeading = new FlowPanel();
        docHeading.addStyleName("projectWideSearchResultsDocumentHeader");

        InlineLabel docLabel = new InlineLabel(docName);
        docLabel.addStyleName("projectWideSearchResultsDocumentTitle");
        docHeading.add(docLabel);
View Full Code Here

     */
    private FlowPanel createTab() {

        FlowPanel tabPanel;
        tabPanel = new FlowPanel();
        tabPanel.addStyleName(ENTITY_CLASS);
        tabPanel.addStyleName(I_LayoutBundle.INSTANCE.form().formParent());
        tabPanel.getElement().getStyle().setMargin(0, Unit.PX);
        return tabPanel;
    }

View Full Code Here

    private FlowPanel createTab() {

        FlowPanel tabPanel;
        tabPanel = new FlowPanel();
        tabPanel.addStyleName(ENTITY_CLASS);
        tabPanel.addStyleName(I_LayoutBundle.INSTANCE.form().formParent());
        tabPanel.getElement().getStyle().setMargin(0, Unit.PX);
        return tabPanel;
    }

    /**
 
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.