|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectheurgame.logging.LogItem
| Field Summary | |
java.lang.String |
longDescription
|
int |
priority
Positive numbers, the higher the better priority |
java.lang.String |
shortDescription
|
| Constructor Summary | |
LogItem(java.lang.String shortDesc,
java.lang.String longDesc)
Creates a normal Log Entry |
|
LogItem(java.lang.String shortDesc,
java.lang.String longDesc,
int priority)
Creates a new LogItem with a specific priority. |
|
| Method Summary | |
java.util.Date |
getTime()
|
java.lang.String |
getWho()
Returns the name of the author of the log |
protected void |
setOwner(java.lang.String w)
This method should only be called by objects of type Log. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public java.lang.String shortDescription
public java.lang.String longDescription
public int priority
priority
| Constructor Detail |
public LogItem(java.lang.String shortDesc,
java.lang.String longDesc)
shortDesc - One line description of the event.longDesc - Detailed description of the event.
public LogItem(java.lang.String shortDesc,
java.lang.String longDesc,
int priority)
shortDesc - One line description of the event.longDesc - Detailed description of the event.priority - Positive Integers get a higher priority| Method Detail |
protected void setOwner(java.lang.String w)
w - Name of the responsible component.public java.lang.String getWho()
public java.util.Date getTime()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||