Interface Message
- All Known Implementing Classes:
DefaultMessage
,WebSudoMessage
public interface Message
A message to display on a page
-
Method Summary
-
Method Details
-
getId
String getId()Get the unique ID for this message.- Returns:
- message id
-
getText
String getText()Get the text for this message- Returns:
- message text
-
getCssClass
String getCssClass()Gets the name of the CSS class associated with this message. The class name can be used to style the message- Returns:
- String name of the css class
-
isClosable
boolean isClosable()Determines whether the message can be closed- Returns:
- boolean
-
isVisible
boolean isVisible()Determines whether the message should be shown- Returns:
- boolean
-