public class CrudI18n extends Object implements Serializable
createDefault()
Crud.setI18n(CrudI18n)
,
Serialized FormModifier and Type | Class and Description |
---|---|
static class |
CrudI18n.Confirmations
The confirmation dialogs used in the component
|
Constructor and Description |
---|
CrudI18n() |
Modifier and Type | Method and Description |
---|---|
static CrudI18n |
createDefault()
Creates a new instance with the default messages
|
String |
getCancel()
Gets the cancel button text
|
CrudI18n.Confirmations |
getConfirm()
Gets the confirmation dialogs
|
String |
getDeleteItem()
Gets the delete button text
|
String |
getEditItem()
Gets the edit editor title text
|
String |
getEditLabel()
Gets the edit button aria label
|
String |
getNewItem()
Gets the new button and editor title text
|
String |
getSaveItem()
Gets the save button text
|
void |
setCancel(String cancel)
Sets the cancel button text
|
void |
setConfirm(CrudI18n.Confirmations confirm)
Sets the confirmation dialogs
|
void |
setDeleteItem(String deleteItem)
Sets the delete button text
|
void |
setEditItem(String editItem)
Sets the edit editor title text
|
void |
setEditLabel(String editLabel)
Sets the edit button aria label
|
void |
setNewItem(String newItem)
Sets the new button and editor title text
|
void |
setSaveItem(String saveItem)
Sets the save button text
|
String |
toString() |
public static CrudI18n createDefault()
public String getNewItem()
public void setNewItem(String newItem)
newItem
- the new button and editor title textpublic String getSaveItem()
public void setSaveItem(String saveItem)
saveItem
- the save button textpublic String getDeleteItem()
public void setDeleteItem(String deleteItem)
deleteItem
- the delete button textpublic String getEditItem()
public void setEditItem(String editItem)
editItem
- the edit editor title textpublic String getCancel()
public void setCancel(String cancel)
cancel
- the cancel button textpublic String getEditLabel()
public void setEditLabel(String editLabel)
editLabel
- the edit button aria labelpublic CrudI18n.Confirmations getConfirm()
public void setConfirm(CrudI18n.Confirmations confirm)
confirm
- the confirmation dialogsCopyright © 2025. All rights reserved.