|
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 |
60
| public ReportStatusEvent(Object source, DescriptionReceiver receiver)
|
|
37 |
| { |
|
38 |
60
| super(source);
|
|
39 |
| |
|
40 |
60
| Defense.notNull(receiver, "receiver");
|
|
41 |
| |
|
42 |
60
| _receiver = receiver;
|
|
43 |
| } |
|
44 |
| |
|
45 |
3
| public void array(String key, Object[] values)
|
|
46 |
| { |
|
47 |
3
| _receiver.array(key, values);
|
|
48 |
| } |
|
49 |
| |
|
50 |
204
| public void collection(String key, Collection values)
|
|
51 |
| { |
|
52 |
204
| _receiver.collection(key, values);
|
|
53 |
| } |
|
54 |
| |
|
55 |
3
| public void describeAlternate(Object alternate)
|
|
56 |
| { |
|
57 |
3
| _receiver.describeAlternate(alternate);
|
|
58 |
| } |
|
59 |
| |
|
60 |
6
| public void property(String key, boolean value)
|
|
61 |
| { |
|
62 |
6
| _receiver.property(key, value);
|
|
63 |
| } |
|
64 |
| |
|
65 |
3
| public void property(String key, byte value)
|
|
66 |
| { |
|
67 |
3
| _receiver.property(key, value);
|
|
68 |
| } |
|
69 |
| |
|
70 |
3
| public void property(String key, char value)
|
|
71 |
| { |
|
72 |
3
| _receiver.property(key, value);
|
|
73 |
| } |
|
74 |
| |
|
75 |
3
| public void property(String key, double value)
|
|
76 |
| { |
|
77 |
3
| _receiver.property(key, value);
|
|
78 |
| } |
|
79 |
| |
|
80 |
3
| public void property(String key, float value)
|
|
81 |
| { |
|
82 |
3
| _receiver.property(key, value);
|
|
83 |
| } |
|
84 |
| |
|
85 |
951
| public void property(String key, int value)
|
|
86 |
| { |
|
87 |
951
| _receiver.property(key, value);
|
|
88 |
| } |
|
89 |
| |
|
90 |
3
| public void property(String key, long value)
|
|
91 |
| { |
|
92 |
3
| _receiver.property(key, value);
|
|
93 |
| } |
|
94 |
| |
|
95 |
78
| public void property(String key, Object value)
|
|
96 |
| { |
|
97 |
78
| _receiver.property(key, value);
|
|
98 |
| } |
|
99 |
| |
|
100 |
3
| public void property(String key, short value)
|
|
101 |
| { |
|
102 |
3
| _receiver.property(key, value);
|
|
103 |
| } |
|
104 |
| |
|
105 |
156
| public void section(String section)
|
|
106 |
| { |
|
107 |
156
| _receiver.section(section);
|
|
108 |
| } |
|
109 |
| |
|
110 |
363
| public void title(String title)
|
|
111 |
| { |
|
112 |
363
| _receiver.title(title);
|
|
113 |
| } |
|
114 |
| } |