|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface MessageConsumer.Message
A message to be presented through the RollingMessagePanel.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |