|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
org.apache.tapestry.event.ReportStatusEvent
public class ReportStatusEvent
Event object used by ReportStatusListener
;
the event implements DescriptionReceiver
;
classes (typically, HiveMind service implementations) that implement the
listener interface will "describe" themselves to the event.
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
ReportStatusEvent(Object source,
DescriptionReceiver receiver)
|
Method Summary | |
---|---|
void |
array(String key,
Object[] values)
Emits a list of values for the key. |
void |
collection(String key,
Collection values)
As with DescriptionReceiver.array(String, Object[]) , but the values are in a
collection (which may be null, to emit nothing). |
void |
describeAlternate(Object alternate)
Invoke to describe another object instead of the current object. |
void |
property(String key,
boolean value)
|
void |
property(String key,
byte value)
|
void |
property(String key,
char value)
|
void |
property(String key,
double value)
|
void |
property(String key,
float value)
|
void |
property(String key,
int value)
|
void |
property(String key,
long value)
|
void |
property(String key,
Object value)
Emits a key/value pair, describing a property of the object. |
void |
property(String key,
short value)
|
void |
section(String section)
Starts a new sub-section within the description. |
void |
title(String title)
Provides a title for the object; usually the object's class name. |
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 |
Constructor Detail |
---|
public ReportStatusEvent(Object source, DescriptionReceiver receiver)
Method Detail |
---|
public void array(String key, Object[] values)
DescriptionReceiver
array
in interface DescriptionReceiver
public void collection(String key, Collection values)
DescriptionReceiver
DescriptionReceiver.array(String, Object[])
, but the values are in a
collection (which may be null, to emit nothing).
collection
in interface DescriptionReceiver
public void describeAlternate(Object alternate)
DescriptionReceiver
describeAlternate
in interface DescriptionReceiver
public void property(String key, boolean value)
property
in interface DescriptionReceiver
public void property(String key, byte value)
property
in interface DescriptionReceiver
public void property(String key, char value)
property
in interface DescriptionReceiver
public void property(String key, double value)
property
in interface DescriptionReceiver
public void property(String key, float value)
property
in interface DescriptionReceiver
public void property(String key, int value)
property
in interface DescriptionReceiver
public void property(String key, long value)
property
in interface DescriptionReceiver
public void property(String key, Object value)
DescriptionReceiver
property
in interface DescriptionReceiver
public void property(String key, short value)
property
in interface DescriptionReceiver
public void section(String section)
DescriptionReceiver
section
in interface DescriptionReceiver
public void title(String title)
DescriptionReceiver
title
in interface DescriptionReceiver
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |