Class CrudI18n

    • Constructor Detail

      • CrudI18n

        public CrudI18n()
    • Method Detail

      • createDefault

        public static CrudI18n createDefault()
        Creates a new instance with the default messages
        Returns:
        a new instance with the default messages
      • getNewItem

        public String getNewItem()
        Gets the new button and editor title text
        Returns:
        the new button and editor title text
      • setNewItem

        public void setNewItem​(String newItem)
        Sets the new button and editor title text
        Parameters:
        newItem - the new button and editor title text
      • getSaveItem

        public String getSaveItem()
        Gets the save button text
        Returns:
        the save button text
      • setSaveItem

        public void setSaveItem​(String saveItem)
        Sets the save button text
        Parameters:
        saveItem - the save button text
      • getDeleteItem

        public String getDeleteItem()
        Gets the delete button text
        Returns:
        the delete button text
      • setDeleteItem

        public void setDeleteItem​(String deleteItem)
        Sets the delete button text
        Parameters:
        deleteItem - the delete button text
      • getEditItem

        public String getEditItem()
        Gets the edit editor title text
        Returns:
        the edit editor title text
      • setEditItem

        public void setEditItem​(String editItem)
        Sets the edit editor title text
        Parameters:
        editItem - the edit editor title text
      • getCancel

        public String getCancel()
        Gets the cancel button text
        Returns:
        the cancel button text
      • setCancel

        public void setCancel​(String cancel)
        Sets the cancel button text
        Parameters:
        cancel - the cancel button text
      • getEditLabel

        public String getEditLabel()
        Gets the edit button aria label
        Returns:
        the edit button aria label
      • setEditLabel

        public void setEditLabel​(String editLabel)
        Sets the edit button aria label
        Parameters:
        editLabel - the edit button aria label
      • getConfirm

        public CrudI18n.Confirmations getConfirm()
        Gets the confirmation dialogs
        Returns:
        the confirmation dialogs
      • setConfirm

        public void setConfirm​(CrudI18n.Confirmations confirm)
        Sets the confirmation dialogs
        Parameters:
        confirm - the confirmation dialogs