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 class
CrudI18n.Confirmations.Confirmation.Button
The 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.Button
getButton()
Gets the confirmation options in a dialogString
getContent()
Gets the main content in a dialogString
getTitle()
Gets the title on a dialogvoid
setButton(CrudI18n.Confirmations.Confirmation.Button button)
Sets the confirmation options in a dialogvoid
setContent(String content)
Sets the main content in a dialogvoid
setTitle(String title)
Sets the title on a dialogString
toString()
-
-
-
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
-
-