Interface MessageBundle

All Known Implementing Classes:
MessageBundleImpl

public interface MessageBundle
Interface that provides messages from a message group bound to screen controller.
  • Method Summary

    Modifier and Type
    Method
    Description
    formatMessage(String key, Object... params)
    Get localized message from the message group associated with this frame or window, and use it as a format string for parameters provided.
    Get localized message from the message group associated with this frame or window.
     
    void
    setMessageGroup(String messageGroup)
    Sets source message group.
  • Method Details

    • setMessageGroup

      void setMessageGroup(String messageGroup)
      Sets source message group.
      Parameters:
      messageGroup - associated message group
    • getMessageGroup

      String getMessageGroup()
      Returns:
      associated message group
    • getMessage

      String getMessage(String key)
      Get localized message from the message group associated with this frame or window.
      Parameters:
      key - message key
      Returns:
      localized message
      See Also:
    • formatMessage

      String formatMessage(String key, Object... params)
      Get localized message from the message group associated with this frame or window, and use it as a format string for parameters provided.
      Parameters:
      key - message key
      params - parameter values
      Returns:
      formatted string or the key in case of IllegalFormatException
      See Also: