Package com.vaadin.flow.component.crud
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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCrudI18n.Confirmations.Confirmation.ButtonThe confirmation options on a dialog
-
Constructor Summary
Constructors Constructor Description Confirmation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CrudI18n.Confirmations.Confirmation.ButtongetButton()Gets the confirmation options in a dialogStringgetContent()Gets the main content in a dialogStringgetTitle()Gets the title on a dialogvoidsetButton(CrudI18n.Confirmations.Confirmation.Button button)Sets the confirmation options in a dialogvoidsetContent(String content)Sets the main content in a dialogvoidsetTitle(String title)Sets the title on a dialogStringtoString()
-
-
-
Method Detail
-
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
public CrudI18n.Confirmations.Confirmation.Button 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
-
-