|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.freecol.client.gui.GUIMessage
public final class GUIMessage
Represents a message that can be displayed in the GUI. It has message data and a Color.
| Field Summary | |
|---|---|
private java.awt.Color |
color
|
private java.util.Date |
creationTime
|
private static java.util.logging.Logger |
logger
|
private java.lang.String |
message
|
| Constructor Summary | |
|---|---|
GUIMessage(java.lang.String message,
java.awt.Color color)
The constructor to use. |
|
| Method Summary | |
|---|---|
java.awt.Color |
getColor()
Returns the message's Color. |
java.util.Date |
getCreationTime()
Returns the time at which this message was created. |
java.lang.String |
getMessage()
Returns the actual message data. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final java.util.logging.Logger logger
private final java.lang.String message
private final java.awt.Color color
private final java.util.Date creationTime
| Constructor Detail |
|---|
public GUIMessage(java.lang.String message,
java.awt.Color color)
message - The actual message.color - The color in which to display this message.| Method Detail |
|---|
public java.lang.String getMessage()
public java.awt.Color getColor()
public java.util.Date getCreationTime()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||