Class ConfirmDangerDataAttributes


  • public class ConfirmDangerDataAttributes
    extends java.lang.Object
    Usage : new ConfirmDangerDataAttributes().title("X").message("Y").cancelButtonLabel("S").confirmButtonLabel("W").getDataAttributes() If labels are not defined, confirm will fallback on default texts (In js)
    • Constructor Detail

      • ConfirmDangerDataAttributes

        public ConfirmDangerDataAttributes()
    • Method Detail

      • title

        public ConfirmDangerDataAttributes title​(java.lang.String title)
        Parameters:
        title - the title of the confirm modal
        Returns:
        a reference to this object
      • message

        public ConfirmDangerDataAttributes message​(java.lang.String message)
        Parameters:
        message - the message of the confirm modal
        Returns:
        a reference to this object
      • cancelButtonLabel

        public ConfirmDangerDataAttributes cancelButtonLabel​(java.lang.String cancelButtonLabel)
        Parameters:
        cancelButtonLabel - the cancel button label of the confirm modal
        Returns:
        a reference to this object
      • confirmButtonLabel

        public ConfirmDangerDataAttributes confirmButtonLabel​(java.lang.String confirmButtonLabel)
        Parameters:
        confirmButtonLabel - the cancel button label of the confirm modal
        Returns:
        a reference to this object
      • getDataAttributes

        public java.lang.String getDataAttributes()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object