All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.dominokit.domino.ui.media.Templated_MediaObject Maven / Gradle / Ivy

package org.dominokit.domino.ui.media;

import elemental2.dom.DomGlobal;
import org.jboss.gwt.elemento.template.TemplateUtil;

import javax.annotation.Generated;

/*
 * WARNING! This class is generated. Do not modify.
 */
@Generated("org.jboss.gwt.elemento.processor.TemplatedProcessor")
public final class Templated_MediaObject extends MediaObject {

    private final elemental2.dom.HTMLDivElement templated_mediaobject_root_element;

 public Templated_MediaObject() {

        this.templated_mediaobject_root_element = (elemental2.dom.HTMLDivElement)DomGlobal.document.createElement("div");
        this.templated_mediaobject_root_element.setAttribute("class", "media");
        this.templated_mediaobject_root_element.innerHTML = "

"; if (this.mediaBody == null) { this.mediaBody = TemplateUtil.resolveElementAs(templated_mediaobject_root_element, "mediaBody"); } else { TemplateUtil.replaceElement(templated_mediaobject_root_element, "mediaBody", mediaBody); } if (this.mediaHeader == null) { this.mediaHeader = TemplateUtil.resolveElementAs(templated_mediaobject_root_element, "mediaHeader"); } else { TemplateUtil.replaceElement(templated_mediaobject_root_element, "mediaHeader", mediaHeader); } init(); } @Override public elemental2.dom.HTMLDivElement asElement() { return templated_mediaobject_root_element; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy