Examples of addStyleName()


Examples of com.vaadin.ui.TextArea.addStyleName()

        ta.setInputPrompt("Write your comment…");
        row.addComponent(ta);

        ta = new TextArea("Inline icon");
        ta.setInputPrompt("Inline icon not really working");
        ta.addStyleName("inline-icon");
        ta.setIcon(testIcon.get());
        row.addComponent(ta);

        ta = new TextArea("Custom color");
        ta.addStyleName("color1");
View Full Code Here

Examples of com.vaadin.ui.TextField.addStyleName()

                        Object columnId) {
                    TextField tf = new TextField();
                    tf.setInputPrompt("Type here…");
                    // tf.addStyleName("compact");
                    if ((Integer) itemId % 2 == 0) {
                        tf.addStyleName("borderless");
                    }
                    return tf;
                }
            });
View Full Code Here

Examples of com.vaadin.ui.TreeTable.addStyleName()

    @Override
    protected void setup(VaadinRequest request) {
        setTheme("reindeer-tests");
        TreeTable tt = new TreeTable();
        tt.addStyleName("table-equal-rowheight");
        tt.setPageLength(0);
        tt.setContainerDataSource(makeHierarchicalContainer());
        tt.setWidth("300px");
        addComponent(tt);
        tt.getParent().setHeight(null);
View Full Code Here

Examples of com.vaadin.ui.VerticalLayout.addStyleName()

        return table;
    }

    private void forms(CssLayout container) {
        VerticalLayout form = new VerticalLayout();
        form.addStyleName(Bootstrap.Forms.FORM.styleName());
        form.setSpacing(true);
        form.setCaption("Legend");

        TextField email = new TextField("Email address");
        email.setInputPrompt("Enter email");
View Full Code Here

Examples of com.vaadin.ui.VerticalSplitPanel.addStyleName()

        smallSplitPanel.setCaption("SmallVertSplitPan");
        smallSplitPanel.setFirstComponent(new Label("Some content 1"));
        smallSplitPanel.setSecondComponent(new Label("Some content 2"));
        smallSplitPanel.setComponentError(new UserError("A error message..."));
        smallSplitPanel.setSplitPosition(50);
        smallSplitPanel.addStyleName(Reindeer.SPLITPANEL_SMALL);
        smallSplitPanel.setEnabled(false);
        smallSplitPanel.setHeight("50px");
        smallSplitPanel.setId("layout" + debugIdCounter++);
        addComponent(smallSplitPanel);
View Full Code Here

Examples of com.vaadin.ui.Window.addStyleName()

public class MoveToTop extends AbstractTestUI {

    @Override
    protected void setup(VaadinRequest request) {
        Window window = new Window("one");
        window.addStyleName("first-window");
        window.setWidth(200, Unit.PIXELS);
        window.setHeight(100, Unit.PIXELS);
        window.setPositionX(100);
        window.setPositionY(100);
        addWindow(window);
View Full Code Here

Examples of edu.stanford.bmir.protege.web.client.ui.library.common.WebProtegeFormLabel.addStyleName()

                    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");
                    labelledEditorPanel.add(editorLabel);
                    FlowPanel editorPanel = new FlowPanel();
                    Widget widget = termEditor.getEditorWidget(i);
                    widget.addStyleName("web-protege-form-layout-editor-input");
                    editorPanel.add(widget);
View Full Code Here

Examples of edu.stanford.bmir.protege.web.client.ui.library.dlg.WebProtegeLabel.addStyleName()

        defaultSharingSettingPanel = new SharingSettingsDefaultSharingSettingPanel();
        add(defaultSharingSettingPanel);

        WebProtegeLabel listLabel = new WebProtegeLabel("Who has access");
        add(listLabel);
        listLabel.addStyleName("web-protege-header-label");


        sharingSettingsList = new SharingSettingsList();
       
        refillSharingSettingsList(projectId);
View Full Code Here

Examples of lv.odylab.evemanage.client.widget.DamagePerJobLabel.addStyleName()

        HorizontalPanel quantityAndDamagePerJobPanel = new HorizontalPanel();
        quantityAndDamagePerJobPanel.add(quantityForParentLabel);
        BigDecimal damagePerJob = calculationTreeNodeSummary.getDamagePerJob();
        if (BigDecimal.ONE.compareTo(damagePerJob) == 1) {
            DamagePerJobLabel damagePerJobLabel = new DamagePerJobLabel(damagePerJob);
            damagePerJobLabel.addStyleName(resources.css().damagePerJob());
            quantityAndDamagePerJobPanel.add(damagePerJobLabel);
            quantityAndDamagePerJobPanel.setCellVerticalAlignment(damagePerJobLabel, HasVerticalAlignment.ALIGN_BOTTOM);
        }
        rootCalculationItemTable.setWidget(index, 3, quantityAndDamagePerJobPanel);
        rootCalculationItemTable.setWidget(index, 4, new Label("x"));
View Full Code Here

Examples of lv.odylab.evemanage.client.widget.OpaqueLoadableBlueprintImage.addStyleName()

        WasteLabel wasteLabel = new WasteLabel(messages);
        blueprintTable.setWidget(0, 5, wasteLabel);
        Button editButton = new Button(messages.edit());
        blueprintTable.setWidget(0, 6, editButton);
        OpaqueLoadableBlueprintImage useAllBlueprintsImage = new OpaqueLoadableBlueprintImage(resources, messages, messages.useAllBlueprints(), messages.stopUsingAllBlueprints());
        useAllBlueprintsImage.addStyleName(resources.css().image16());
        useAllBlueprintsImage.addStyleName(resources.css().cursorHand());
        useAllBlueprintsImage.setOpacity();
        blueprintTable.setWidget(0, 7, useAllBlueprintsImage);
        blueprintInfoTable.setWidget(0, 2, blueprintTable);
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.