1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
6
<meta name="generator" content="JsDoc Toolkit" />
8
<title>JsDoc Reference - MessageConsole</title>
10
<style type="text/css">
14
font: 12px "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
21
background-color: #ccc;
36
border-top: 1px solid #7F8FB1;
44
border: 1px dashed #ccc;
54
background-color: #F3F3F3;
66
list-style-type: none;
69
font-family: arial, sans-serif;
80
.summaryTable { width: 100%; }
88
h2 { font-size: 110%; }
89
caption, div.sectionTitle
91
background-color: #7F8FB1;
95
padding: 2px 6px 2px 6px;
96
border: 1px #7F8FB1 solid;
99
div.sectionTitle { margin-bottom: 8px; }
100
.summaryTable thead { display: none; }
106
border-bottom: 1px #7F8FB1 solid;
107
border-right: 1px #7F8FB1 solid;
110
/*col#summaryAttributes {}*/
111
.summaryTable td.attributes
113
border-left: 1px #7F8FB1 solid;
118
td.attributes, .fixedFont
122
font-family: "Courier New",Courier,monospace;
126
.summaryTable td.nameDescription
133
.summaryTable td.nameDescription, .description
140
.summaryTable { margin-bottom: 8px; }
153
.detailList dt { margin-left: 20px; }
162
.light, td.attributes, .light a:link, .light a:visited
177
<!-- ============================== header ================================= -->
178
<!-- begin static/header.html -->
181
<!-- end static/header.html -->
183
<!-- ============================== classes index ============================ -->
185
<!-- begin publish.classesIndex -->
186
<div align="center"><a href="../index.html">Class Index</a>
187
| <a href="../files.html">File Index</a></div>
190
<ul class="classList">
192
<li><i><a href="../symbols/_global_.html">_global_</a></i></li>
194
<li><a href="../symbols/Calendar.html">Calendar</a></li>
196
<li><a href="../symbols/Date.html">Date</a></li>
198
<li><a href="../symbols/EventLayer.html">EventLayer</a></li>
200
<li><a href="../symbols/EventLayerAccordion.html">EventLayerAccordion</a></li>
202
<li><a href="../symbols/EventMarker.html">EventMarker</a></li>
204
<li><a href="../symbols/EventTimeline.html">EventTimeline</a></li>
206
<li><a href="../symbols/Helioviewer.html">Helioviewer</a></li>
208
<li><a href="../symbols/Helioviewer%23handlers.html">Helioviewer#handlers</a></li>
210
<li><a href="../symbols/IconPicker.html">IconPicker</a></li>
212
<li><a href="../symbols/Layer.html">Layer</a></li>
214
<li><a href="../symbols/LayerManager.html">LayerManager</a></li>
216
<li><a href="../symbols/LoadingIndicator.html">LoadingIndicator</a></li>
218
<li><a href="../symbols/Math.html">Math</a></li>
220
<li><a href="../symbols/MessageConsole.html">MessageConsole</a></li>
222
<li><a href="../symbols/MovieBuilder.html">MovieBuilder</a></li>
224
<li><a href="../symbols/String.html">String</a></li>
226
<li><a href="../symbols/TileLayer.html">TileLayer</a></li>
228
<li><a href="../symbols/TileLayerAccordion.html">TileLayerAccordion</a></li>
230
<li><a href="../symbols/TimeControls.html">TimeControls</a></li>
232
<li><a href="../symbols/UIElement.html">UIElement</a></li>
234
<li><a href="../symbols/UserSettings.html">UserSettings</a></li>
236
<li><a href="../symbols/Viewport.html">Viewport</a></li>
238
<li><a href="../symbols/ViewportHandlers.html">ViewportHandlers</a></li>
240
<li><a href="../symbols/ZoomControl.html">ZoomControl</a></li>
244
<!-- end publish.classesIndex -->
248
<!-- ============================== class title ============================ -->
249
<h1 class="classTitle">
254
<!-- ============================== class summary ========================== -->
255
<p class="description">
261
<br /><i>Defined in: </i> <a href="../symbols/src/lib_helioviewer_MessageConsole.js.html">MessageConsole.js</a>.
265
<!-- ============================== constructor summary ==================== -->
267
<table class="summaryTable" cellspacing="0" summary="A summary of the constructor documented in the class MessageConsole.">
268
<caption>Class Summary</caption>
271
<th scope="col">Constructor Attributes</th>
272
<th scope="col">Constructor Name and Description</th>
277
<td class="attributes"> </td>
278
<td class="nameDescription" >
279
<div class="fixedFont">
280
<b><a href="../symbols/MessageConsole.html">MessageConsole</a></b>(controller, container, viewport)
282
<div class="description">Creates a new MessageConsole.</div>
289
<!-- ============================== properties summary ===================== -->
292
<!-- ============================== methods summary ======================== -->
296
<table class="summaryTable" cellspacing="0" summary="A summary of the methods documented in the class MessageConsole.">
297
<caption>Method Summary</caption>
300
<th scope="col">Method Attributes</th>
301
<th scope="col">Method Name and Description</th>
307
<td class="attributes"> </td>
308
<td class="nameDescription">
309
<div class="fixedFont"><b><a href="../symbols/MessageConsole.html#error">error</a></b>(msg)
311
<div class="description">Displays an error message in the message console</div>
316
<td class="attributes"> </td>
317
<td class="nameDescription">
318
<div class="fixedFont"><b><a href="../symbols/MessageConsole.html#link">link</a></b>(msg, Hyperlink)
320
<div class="description">Displays message along with a hyperlink in the message console</div>
325
<td class="attributes"> </td>
326
<td class="nameDescription">
327
<div class="fixedFont"><b><a href="../symbols/MessageConsole.html#log">log</a></b>(msg)
329
<div class="description">Logs a message to the message-console</div>
334
<td class="attributes"> </td>
335
<td class="nameDescription">
336
<div class="fixedFont"><b><a href="../symbols/MessageConsole.html#warn">warn</a></b>(msg)
338
<div class="description">Displays a warning message in the message console</div>
348
<!-- ============================== events summary ======================== -->
351
<!-- ============================== constructor details ==================== -->
353
<div class="details"><a name="constructor"> </a>
354
<div class="sectionTitle">
358
<div class="fixedFont">
359
<b>MessageConsole</b>(controller, container, viewport)
362
<div class="description">
363
Creates a new MessageConsole.<br><br>
364
MessageConsole Provides a mechanism for displayed useful information to the user.
365
For ease of use, the class provides methods comparable to Firebug's for outputting
366
messages of different natures: "log" for generic unstyled messages, or for debbuging
367
use, "info" to inform the user of some interesting change or event, and "warning" and
368
"error" for getting the user's attention.
376
<dl class="detailList">
377
<dt class="heading">Parameters:</dt>
380
<span class="light fixedFont">{Object}</span> <b>controller</b>
383
<dd>A reference to the Helioviewer (controller)</dd>
386
<span class="light fixedFont">{<a href="../symbols/String.html">String</a>}</span> <b>container</b>
389
<dd>The id of the container for messages to be displayed in</dd>
392
<span class="light fixedFont">{<a href="../symbols/String.html">String</a>}</span> <b>viewport</b>
395
<dd>The id of the viewport container</dd>
409
<!-- ============================== field details ========================== -->
412
<!-- ============================== method details ========================= -->
414
<div class="sectionTitle">
418
<a name="error"> </a>
419
<div class="fixedFont">
425
<div class="description">
426
Displays an error message in the message console
434
<dl class="detailList">
435
<dt class="heading">Parameters:</dt>
438
<span class="light fixedFont">{<a href="../symbols/String.html">String</a>}</span> <b>msg</b>
441
<dd>Message to display</dd>
455
<div class="fixedFont">
458
<b>link</b>(msg, Hyperlink)
461
<div class="description">
462
Displays message along with a hyperlink in the message console
470
<dl class="detailList">
471
<dt class="heading">Parameters:</dt>
474
<span class="light fixedFont">{<a href="../symbols/String.html">String</a>}</span> <b>msg</b>
477
<dd>Message to display</dd>
480
<span class="light fixedFont">{<a href="../symbols/String.html">String</a>}</span> <b>Hyperlink</b>
483
<dd>text (Note: Event-handler should be used to handle hyperlink clicks. The link address thus is set to "#")</dd>
497
<div class="fixedFont">
503
<div class="description">
504
Logs a message to the message-console
512
<dl class="detailList">
513
<dt class="heading">Parameters:</dt>
516
<span class="light fixedFont">{<a href="../symbols/String.html">String</a>}</span> <b>msg</b>
519
<dd>Message to display</dd>
533
<div class="fixedFont">
539
<div class="description">
540
Displays a warning message in the message console
548
<dl class="detailList">
549
<dt class="heading">Parameters:</dt>
552
<span class="light fixedFont">{<a href="../symbols/String.html">String</a>}</span> <b>msg</b>
555
<dd>Message to display</dd>
570
<!-- ============================== event details ========================= -->
577
<!-- ============================== footer ================================= -->
578
<div class="fineprint" style="clear:both">
580
Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Wed Feb 25 2009 14:47:29 GMT-0500 (EST)