Statistics
| Revision:

svn-gvsig-desktop / tags / v1_9_Build_1245 / docs / Andami / andami-api / com / iver / andami / messages / NotificationManager.html @ 40287

History | View | Annotate | Download (12.5 KB)

1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
<!--NewPage-->
3
<HTML>
4
<HEAD>
5
<!-- Generated by javadoc (build 1.4.2_04) on Fri May 13 11:46:18 CEST 2005 -->
6
<TITLE>
7
NotificationManager
8
</TITLE>
9

    
10
<META NAME="keywords" CONTENT="com.iver.andami.messages.NotificationManager class">
11

    
12
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
13

    
14
<SCRIPT type="text/javascript">
15
function windowTitle()
16
{
17
    parent.document.title="NotificationManager";
18
}
19
</SCRIPT>
20

    
21
</HEAD>
22

    
23
<BODY BGCOLOR="white" onload="windowTitle();">
24

    
25

    
26
<!-- ========= START OF TOP NAVBAR ======= -->
27
<A NAME="navbar_top"><!-- --></A>
28
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
29
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
30
<TR>
31
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
32
<A NAME="navbar_top_firstrow"><!-- --></A>
33
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
34
  <TR ALIGN="center" VALIGN="top">
35
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
36
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
37
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
38
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/NotificationManager.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
39
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
40
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
41
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
42
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
43
  </TR>
44
</TABLE>
45
</TD>
46
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
47
</EM>
48
</TD>
49
</TR>
50

    
51
<TR>
52
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
53
&nbsp;<A HREF="../../../../com/iver/andami/messages/Messages.html" title="class in com.iver.andami.messages"><B>PREV CLASS</B></A>&nbsp;
54
&nbsp;NEXT CLASS</FONT></TD>
55
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
56
  <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
57
&nbsp;<A HREF="NotificationManager.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
58
&nbsp;<SCRIPT type="text/javascript">
59
  <!--
60
  if(window==top) {
61
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
62
  }
63
  //-->
64
</SCRIPT>
65
<NOSCRIPT>
66
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
67
</NOSCRIPT>
68

    
69
</FONT></TD>
70
</TR>
71
<TR>
72
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
73
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
74
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
75
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
76
</TR>
77
</TABLE>
78
<A NAME="skip-navbar_top"></A>
79
<!-- ========= END OF TOP NAVBAR ========= -->
80

    
81
<HR>
82
<!-- ======== START OF CLASS DATA ======== -->
83
<H2>
84
<FONT SIZE="-1">
85
com.iver.andami.messages</FONT>
86
<BR>
87
Class NotificationManager</H2>
88
<PRE>
89
java.lang.Object
90
  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>com.iver.andami.messages.NotificationManager</B>
91
</PRE>
92
<HR>
93
<DL>
94
<DT>public class <B>NotificationManager</B><DT>extends java.lang.Object</DL>
95

    
96
<P>
97
Clase que recibe los mensajes de error, warning e informaci?n y dispara los
98
 eventos en los listeners que escuchan dichos eventos
99
<P>
100

    
101
<P>
102
<DL>
103
<DT><B>Version:</B></DT>
104
  <DD>$Revision: 1935 $</DD>
105
</DL>
106
<HR>
107

    
108
<P>
109
<!-- ======== NESTED CLASS SUMMARY ======== -->
110

    
111

    
112
<!-- =========== FIELD SUMMARY =========== -->
113

    
114

    
115
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
116

    
117
<A NAME="constructor_summary"><!-- --></A>
118
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
119
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
120
<TD COLSPAN=2><FONT SIZE="+2">
121
<B>Constructor Summary</B></FONT></TD>
122
</TR>
123
<TR BGCOLOR="white" CLASS="TableRowColor">
124
<TD><CODE><B><A HREF="../../../../com/iver/andami/messages/NotificationManager.html#NotificationManager()">NotificationManager</A></B>()</CODE>
125

    
126
<BR>
127
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
128
</TR>
129
</TABLE>
130
&nbsp;
131
<!-- ========== METHOD SUMMARY =========== -->
132

    
133
<A NAME="method_summary"><!-- --></A>
134
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
135
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
136
<TD COLSPAN=2><FONT SIZE="+2">
137
<B>Method Summary</B></FONT></TD>
138
</TR>
139
<TR BGCOLOR="white" CLASS="TableRowColor">
140
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
141
<CODE>static&nbsp;void</CODE></FONT></TD>
142
<TD><CODE><B><A HREF="../../../../com/iver/andami/messages/NotificationManager.html#addError(java.lang.String, java.lang.Throwable)">addError</A></B>(java.lang.String&nbsp;err,
143
         java.lang.Throwable&nbsp;e)</CODE>
144

    
145
<BR>
146
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
147
</TR>
148
<TR BGCOLOR="white" CLASS="TableRowColor">
149
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
150
<CODE>static&nbsp;void</CODE></FONT></TD>
151
<TD><CODE><B><A HREF="../../../../com/iver/andami/messages/NotificationManager.html#addInfo(java.lang.String, java.lang.Throwable)">addInfo</A></B>(java.lang.String&nbsp;inf,
152
        java.lang.Throwable&nbsp;e)</CODE>
153

    
154
<BR>
155
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
156
</TR>
157
<TR BGCOLOR="white" CLASS="TableRowColor">
158
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
159
<CODE>static&nbsp;void</CODE></FONT></TD>
160
<TD><CODE><B><A HREF="../../../../com/iver/andami/messages/NotificationManager.html#addNotificationListener(com.iver.andami.messages.NotificationListener)">addNotificationListener</A></B>(<A HREF="../../../../com/iver/andami/messages/NotificationListener.html" title="interface in com.iver.andami.messages">NotificationListener</A>&nbsp;nl)</CODE>
161

    
162
<BR>
163
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A?ade un objeto que escucha los mensajes de error, warning e informaci?n</TD>
164
</TR>
165
<TR BGCOLOR="white" CLASS="TableRowColor">
166
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
167
<CODE>static&nbsp;void</CODE></FONT></TD>
168
<TD><CODE><B><A HREF="../../../../com/iver/andami/messages/NotificationManager.html#addWarning(java.lang.String, java.lang.Throwable)">addWarning</A></B>(java.lang.String&nbsp;warn,
169
           java.lang.Throwable&nbsp;e)</CODE>
170

    
171
<BR>
172
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
173
</TR>
174
</TABLE>
175
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
176
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
177
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
178
<TD><B>Methods inherited from class java.lang.Object</B></TD>
179
</TR>
180
<TR BGCOLOR="white" CLASS="TableRowColor">
181
<TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
182
</TR>
183
</TABLE>
184
&nbsp;
185
<P>
186

    
187
<!-- ============ FIELD DETAIL =========== -->
188

    
189

    
190
<!-- ========= CONSTRUCTOR DETAIL ======== -->
191

    
192
<A NAME="constructor_detail"><!-- --></A>
193
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
194
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
195
<TD COLSPAN=1><FONT SIZE="+2">
196
<B>Constructor Detail</B></FONT></TD>
197
</TR>
198
</TABLE>
199

    
200
<A NAME="NotificationManager()"><!-- --></A><H3>
201
NotificationManager</H3>
202
<PRE>
203
public <B>NotificationManager</B>()</PRE>
204
<DL>
205
</DL>
206

    
207
<!-- ============ METHOD DETAIL ========== -->
208

    
209
<A NAME="method_detail"><!-- --></A>
210
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
211
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
212
<TD COLSPAN=1><FONT SIZE="+2">
213
<B>Method Detail</B></FONT></TD>
214
</TR>
215
</TABLE>
216

    
217
<A NAME="addNotificationListener(com.iver.andami.messages.NotificationListener)"><!-- --></A><H3>
218
addNotificationListener</H3>
219
<PRE>
220
public static void <B>addNotificationListener</B>(<A HREF="../../../../com/iver/andami/messages/NotificationListener.html" title="interface in com.iver.andami.messages">NotificationListener</A>&nbsp;nl)</PRE>
221
<DL>
222
<DD>A?ade un objeto que escucha los mensajes de error, warning e informaci?n
223
<P>
224
<DD><DL>
225
<DT><B>Parameters:</B><DD><CODE>nl</CODE> - objeto que recibir? los eventos</DL>
226
</DD>
227
</DL>
228
<HR>
229

    
230
<A NAME="addError(java.lang.String, java.lang.Throwable)"><!-- --></A><H3>
231
addError</H3>
232
<PRE>
233
public static void <B>addError</B>(java.lang.String&nbsp;err,
234
                            java.lang.Throwable&nbsp;e)</PRE>
235
<DL>
236
<DD><DL>
237
<DT><B>See Also:</B><DD><CODE>com.iver.mdiApp.Notification#addError(java.lang.String)</CODE></DL>
238
</DD>
239
</DL>
240
<HR>
241

    
242
<A NAME="addWarning(java.lang.String, java.lang.Throwable)"><!-- --></A><H3>
243
addWarning</H3>
244
<PRE>
245
public static void <B>addWarning</B>(java.lang.String&nbsp;warn,
246
                              java.lang.Throwable&nbsp;e)</PRE>
247
<DL>
248
<DD><DL>
249
<DT><B>See Also:</B><DD><CODE>com.iver.mdiApp.Notification#addWarning(java.lang.String)</CODE></DL>
250
</DD>
251
</DL>
252
<HR>
253

    
254
<A NAME="addInfo(java.lang.String, java.lang.Throwable)"><!-- --></A><H3>
255
addInfo</H3>
256
<PRE>
257
public static void <B>addInfo</B>(java.lang.String&nbsp;inf,
258
                           java.lang.Throwable&nbsp;e)</PRE>
259
<DL>
260
<DD><DL>
261
<DT><B>See Also:</B><DD><CODE>com.iver.mdiApp.Consola#addInfo(java.lang.String)</CODE></DL>
262
</DD>
263
</DL>
264
<!-- ========= END OF CLASS DATA ========= -->
265
<HR>
266

    
267

    
268
<!-- ======= START OF BOTTOM NAVBAR ====== -->
269
<A NAME="navbar_bottom"><!-- --></A>
270
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
271
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
272
<TR>
273
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
274
<A NAME="navbar_bottom_firstrow"><!-- --></A>
275
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
276
  <TR ALIGN="center" VALIGN="top">
277
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
278
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
279
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
280
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/NotificationManager.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
281
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
282
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
283
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
284
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
285
  </TR>
286
</TABLE>
287
</TD>
288
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
289
</EM>
290
</TD>
291
</TR>
292

    
293
<TR>
294
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
295
&nbsp;<A HREF="../../../../com/iver/andami/messages/Messages.html" title="class in com.iver.andami.messages"><B>PREV CLASS</B></A>&nbsp;
296
&nbsp;NEXT CLASS</FONT></TD>
297
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
298
  <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
299
&nbsp;<A HREF="NotificationManager.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
300
&nbsp;<SCRIPT type="text/javascript">
301
  <!--
302
  if(window==top) {
303
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
304
  }
305
  //-->
306
</SCRIPT>
307
<NOSCRIPT>
308
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
309
</NOSCRIPT>
310

    
311
</FONT></TD>
312
</TR>
313
<TR>
314
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
315
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
316
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
317
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
318
</TR>
319
</TABLE>
320
<A NAME="skip-navbar_bottom"></A>
321
<!-- ======== END OF BOTTOM NAVBAR ======= -->
322

    
323
<HR>
324

    
325
</BODY>
326
</HTML>