|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject org.jwalk.ReportEvent
public class ReportEvent
ReportEvent is a kind of event that notifies about a Report. A ReportEvent is generated every time a JWalker wishes to send a Report. This event wraps up a Report and the JWalker source which sent the Report. Client programs should register an object satisfying the ReportListener interface with JWalker's Channels API. The registered object will then accept ReportEvents raised by the JWalker.
Field Summary | |
---|---|
protected Report |
report
The Report that is being sent in this ReportEvent. |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
ReportEvent(JWalker source,
Report report)
Creates a ReportEvent with a dispatching source and a Report. |
Method Summary | |
---|---|
Report |
getReport()
Returns the Report being sent in this event. |
JWalker |
getSource()
Returns the JWalker source which dispatched this event. |
java.lang.String |
toString()
Returns a printable representation of this event. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected Report report
Constructor Detail |
---|
public ReportEvent(JWalker source, Report report)
source
- the source object dispatching this ReportEvent.report
- the Report being sent in this ReportEvent.Method Detail |
---|
public JWalker getSource()
getSource
in class java.util.EventObject
public Report getReport()
public java.lang.String toString()
toString
in class java.util.EventObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |