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

net.n2oapp.framework.api.metadata.action.N2oConfirmAction Maven / Gradle / Ivy

There is a newer version: 7.28.2
Show newest version
package net.n2oapp.framework.api.metadata.action;

import lombok.Getter;
import lombok.Setter;
import net.n2oapp.framework.api.metadata.control.N2oComponent;
import net.n2oapp.framework.api.metadata.global.view.widget.toolbar.ConfirmType;

/**
 * Исходная модель действия подтверждения
 */
@Getter
@Setter
public class N2oConfirmAction extends N2oAbstractAction implements N2oAction{

    private String title;

    private String text;

    private String className;

    private String style;

    private ConfirmType type;

    private Boolean closeButton;

    private ConfirmButton[] confirmButtons;

    @Getter
    @Setter
    public abstract static class ConfirmButton extends N2oComponent {

        private String label;
        private String color;
        private String icon;

    }

    public static class OkButton extends ConfirmButton {}

    public static class CancelButton extends ConfirmButton {}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy