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

org.dominokit.domino.ui.layout.Section Maven / Gradle / Ivy

package org.dominokit.domino.ui.layout;

import elemental2.dom.HTMLElement;
import org.dominokit.domino.ui.utils.BaseDominoElement;
import org.dominokit.domino.ui.utils.DominoElement;
import org.jboss.gwt.elemento.template.DataElement;
import org.jboss.gwt.elemento.template.Templated;

import javax.annotation.PostConstruct;

@Templated
public abstract class Section extends BaseDominoElement {
    @DataElement
    HTMLElement leftSide;

    @DataElement
    HTMLElement rightSide;

    @PostConstruct
    void init() {
        init(this);
    }

    public static Section create() {
        return new Templated_Section();
    }

    public DominoElement getLeftSide() {
        return DominoElement.of(leftSide);
    }

    public DominoElement getRightSide() {
        return DominoElement.of(rightSide);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy