APISonar


com.vaadin.ui.Label.ContentMode.XML

> com > vaadin > ui > Label > ContentMode > XML
com APIs vaadin APIs ui APIs Label APIs ContentMode APIs XML APIs

Example 1
private void createContentModeSelect(String category) {
        LinkedHashMap<String, ContentMode> options = new LinkedHashMap<String, ContentMode>();
        options.put("Text", ContentMode.TEXT);
        options.put("Preformatted", ContentMode.PREFORMATTED);
        options.put("Raw", ContentMode.RAW);
        options.put("UIDL", ContentMode.XML); // Deprecated UIDL mode still used
                                              // to avoid breaking old tests
        options.put("XHTML", ContentMode.XHTML);
        options.put("XML", ContentMode.XML);

        createSelectAction("Content mode", category, options, "Text",
                contentModeCommand);
    }