Class CrudI18n.Confirmations.Confirmation

java.lang.Object
com.vaadin.flow.component.crud.CrudI18n.Confirmations.Confirmation
All Implemented Interfaces:
Serializable
Enclosing class:
CrudI18n.Confirmations

public static class CrudI18n.Confirmations.Confirmation extends Object implements Serializable
Represents texts in the confirmation dialogs
See Also:
  • Constructor Details

    • Confirmation

      public Confirmation()
  • Method Details

    • getContent

      public String getContent()
      Gets the main content in a dialog
      Returns:
      the main content
    • setContent

      public void setContent(String content)
      Sets the main content in a dialog
      Parameters:
      content - the main content
    • getButton

      Gets the confirmation options in a dialog
      Returns:
      the confirmation options
    • setButton

      public void setButton(CrudI18n.Confirmations.Confirmation.Button button)
      Sets the confirmation options in a dialog
      Parameters:
      button - the confirmation options
    • getTitle

      public String getTitle()
      Gets the title on a dialog
      Returns:
      the title
    • setTitle

      public void setTitle(String title)
      Sets the title on a dialog
      Parameters:
      title - the title
    • toString

      public String toString()
      Overrides:
      toString in class Object