|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
de.unihalle.informatik.Alida.operator.events.ALDEvent
public class ALDEvent
Super class for all events used in `Alida`.
| Field Summary | |
|---|---|
protected java.lang.String |
eventMessage
Message string, freely configurable. |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
ALDEvent(java.lang.Object s)
Default constructor for events. |
|
ALDEvent(java.lang.Object s,
java.lang.String msg)
Default constructor for events with messages. |
|
| Method Summary | |
|---|---|
java.lang.String |
getEventMessage()
Returns individual message string. |
java.lang.String |
getEventMessage(int maxLength)
Returns individual message string formatted to a maximal line length. |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String eventMessage
| Constructor Detail |
|---|
public ALDEvent(java.lang.Object s)
s - Source object of the event.
public ALDEvent(java.lang.Object s,
java.lang.String msg)
s - Source object of the event.msg - Event message.| Method Detail |
|---|
public java.lang.String getEventMessage()
public java.lang.String getEventMessage(int maxLength)
Note that the last line might be longer than the given length if it contains no spaces, i.e. cannot be wrapped further.
maxLength - Maximal length of a line.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||