1 |
| |
2 |
| |
3 |
| |
4 |
| |
5 |
| |
6 |
| |
7 |
| |
8 |
| |
9 |
| |
10 |
| |
11 |
| |
12 |
| |
13 |
| |
14 |
| |
15 |
| package org.apache.tapestry.event; |
16 |
| |
17 |
| import java.util.Collection; |
18 |
| import java.util.EventObject; |
19 |
| |
20 |
| import org.apache.hivemind.util.Defense; |
21 |
| import org.apache.tapestry.describe.DescriptionReceiver; |
22 |
| |
23 |
| |
24 |
| |
25 |
| |
26 |
| |
27 |
| |
28 |
| |
29 |
| |
30 |
| |
31 |
| |
32 |
| public class ReportStatusEvent extends EventObject implements DescriptionReceiver |
33 |
| { |
34 |
| private final DescriptionReceiver _receiver; |
35 |
| |
36 |
40
| public ReportStatusEvent(Object source, DescriptionReceiver receiver)
|
37 |
| { |
38 |
40
| super(source);
|
39 |
| |
40 |
40
| Defense.notNull(receiver, "receiver");
|
41 |
| |
42 |
40
| _receiver = receiver;
|
43 |
| } |
44 |
| |
45 |
2
| public void array(String key, Object[] values)
|
46 |
| { |
47 |
2
| _receiver.array(key, values);
|
48 |
| } |
49 |
| |
50 |
136
| public void collection(String key, Collection values)
|
51 |
| { |
52 |
136
| _receiver.collection(key, values);
|
53 |
| } |
54 |
| |
55 |
2
| public void describeAlternate(Object alternate)
|
56 |
| { |
57 |
2
| _receiver.describeAlternate(alternate);
|
58 |
| } |
59 |
| |
60 |
4
| public void property(String key, boolean value)
|
61 |
| { |
62 |
4
| _receiver.property(key, value);
|
63 |
| } |
64 |
| |
65 |
2
| public void property(String key, byte value)
|
66 |
| { |
67 |
2
| _receiver.property(key, value);
|
68 |
| } |
69 |
| |
70 |
2
| public void property(String key, char value)
|
71 |
| { |
72 |
2
| _receiver.property(key, value);
|
73 |
| } |
74 |
| |
75 |
2
| public void property(String key, double value)
|
76 |
| { |
77 |
2
| _receiver.property(key, value);
|
78 |
| } |
79 |
| |
80 |
2
| public void property(String key, float value)
|
81 |
| { |
82 |
2
| _receiver.property(key, value);
|
83 |
| } |
84 |
| |
85 |
634
| public void property(String key, int value)
|
86 |
| { |
87 |
634
| _receiver.property(key, value);
|
88 |
| } |
89 |
| |
90 |
2
| public void property(String key, long value)
|
91 |
| { |
92 |
2
| _receiver.property(key, value);
|
93 |
| } |
94 |
| |
95 |
52
| public void property(String key, Object value)
|
96 |
| { |
97 |
52
| _receiver.property(key, value);
|
98 |
| } |
99 |
| |
100 |
2
| public void property(String key, short value)
|
101 |
| { |
102 |
2
| _receiver.property(key, value);
|
103 |
| } |
104 |
| |
105 |
104
| public void section(String section)
|
106 |
| { |
107 |
104
| _receiver.section(section);
|
108 |
| } |
109 |
| |
110 |
242
| public void title(String title)
|
111 |
| { |
112 |
242
| _receiver.title(title);
|
113 |
| } |
114 |
| } |