|
||||||||||
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.
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 |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 |