public class GeneralInformationEvent extends NotificationEvent
GeneralFailureEvent
instead.| Modifier and Type | Field and Description |
|---|---|
private String |
context
the context/ category of this message (e.g.
|
private String |
informationMessage
the message with the information to be displayed
|
| Constructor and Description |
|---|
GeneralInformationEvent(String informationMessage)
Creates an event informing the user about the fact given as string
|
GeneralInformationEvent(String context,
String informationMessage)
Creates an event informing the user about the fact given as string
|
| Modifier and Type | Method and Description |
|---|---|
String |
getContext()
returns the context as string
|
String |
getMessage()
returns the information as string
|
getEventIDprivate final String informationMessage
private final String context
public GeneralInformationEvent(String context, String informationMessage)
context - the String describing the context/category of the
information (e.g. used as window title, head line etc.)informationMessage - the String containing the informationpublic GeneralInformationEvent(String informationMessage)
informationMessage - the String containing the information