public static interface MessageConsumer.Message
Modifier and Type | Method and Description |
---|---|
JComponent |
createDetailsView()
Create a visual representation of the message.
|
Icon |
getIcon()
Get the icon (if any) to be associated with the message.
|
String |
getID()
Get the message's ID.
|
String |
getMessage()
Get the - usually one-line - message to be shown initially.
|
int |
getPriority()
Get the message priority.
|
String |
getType()
Get the message type.
|
boolean |
hasDetails()
Return whether the message has associated details.
|
String getID()
getMessage()
) vary slightly. If a
message doesn't have an ID, it is ok to return null
or the
same string as getMessage()
.String getMessage()
int getPriority()
String getType()
Icon getIcon()
boolean hasDetails()
true
for a message,
the message is obliged to create a visual representation for the message
upon createDetailsView()
.JComponent createDetailsView()
Copyright © 2024 levigo holding gmbh. All rights reserved.