|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectesmska.data.Log.Record
public static class Log.Record
Single log record
| Constructor Summary | |
|---|---|
Log.Record(java.lang.String message)
Creates new Record with current time and no icon |
|
Log.Record(java.lang.String message,
java.util.Date time,
javax.swing.ImageIcon icon)
Creates new Record |
|
| Method Summary | |
|---|---|
javax.swing.ImageIcon |
getIcon()
Record icon. |
java.lang.String |
getMessage()
Record message. |
java.util.Date |
getTime()
Record time. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Log.Record(java.lang.String message)
message - message of the record, not null
public Log.Record(java.lang.String message,
java.util.Date time,
javax.swing.ImageIcon icon)
message - message of the record, not nulltime - time when event happened. You can use null for current time.icon - optional icon to display or null| Method Detail |
|---|
public javax.swing.ImageIcon getIcon()
public java.lang.String getMessage()
public java.util.Date getTime()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||