com.vaadin.flow.component.crud.
Class CrudI18n.Confirmations.Confirmation
- java.lang.Object
-
- com.vaadin.flow.component.crud.CrudI18n.Confirmations.Confirmation
-
All Implemented Interfaces:
Enclosing class:
public static class CrudI18n.Confirmations.Confirmation extends Object implements Serializable
Represents texts in the confirmation dialogs
See Also:
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static class
CrudI18n.Confirmations.Confirmation.Button
The confirmation options on a dialog
-
Constructor Summary
Constructors Constructor and Description Confirmation()
-
Method Summary
All Methods Modifier and Type Method and Description CrudI18n.Confirmations.Confirmation.Button
getButton()
Gets the confirmation options in a dialog
String
getContent()
Gets the main content in a dialog
String
getTitle()
Gets the title on a dialog
void
setButton(CrudI18n.Confirmations.Confirmation.Button button)
Sets the confirmation options in a dialog
void
setContent(String content)
Sets the main content in a dialog
void
setTitle(String title)
Sets the title on a dialog
String
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
-
-