|
||||||||||
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 String |
eventMessage
Message string, freely configurable. |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
ALDEvent(Object s)
Default constructor for events. |
|
ALDEvent(Object s,
String msg)
Default constructor for events with messages. |
Method Summary | |
---|---|
String |
getEventMessage()
Returns individual message string. |
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 String eventMessage
Constructor Detail |
---|
public ALDEvent(Object s)
s
- Source object of the event.public ALDEvent(Object s, String msg)
s
- Source object of the event.msg
- Event message.Method Detail |
---|
public String getEventMessage()
public String getEventMessage(int maxLength)
Note that the length of a line might be longer than the given length if it contains no spaces, i.e. cannot be wrapped at an earlier position.
maxLength
- Maximal length of a line.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |