Subversion-Projekte lars-tiefland.ci

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
875 lars 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">
4
	<head>
5
		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
6
		<meta name="generator" content="JsDoc Toolkit" />
7
 
8
		<title>JsDoc Reference - jsPDF-PubSub</title>
9
 
10
		<style type="text/css">
11
			/* default.css */
12
body
13
{
14
	font: 12px "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
15
	width: 800px;
16
}
17
 
18
.header
19
{
20
	clear: both;
21
	background-color: #ccc;
22
	padding: 8px;
23
}
24
 
25
h1
26
{
27
	font-size: 150%;
28
	font-weight: bold;
29
	padding: 0;
30
	margin: 1em 0 0 .3em;
31
}
32
 
33
hr
34
{
35
	border: none 0;
36
	border-top: 1px solid #7F8FB1;
37
	height: 1px;
38
}
39
 
40
pre.code
41
{
42
	display: block;
43
	padding: 8px;
44
	border: 1px dashed #ccc;
45
}
46
 
47
#index
48
{
49
	margin-top: 24px;
50
	float: left;
51
	width: 160px;
52
	position: absolute;
53
	left: 8px;
54
	background-color: #F3F3F3;
55
	padding: 8px;
56
}
57
 
58
#content
59
{
60
	margin-left: 190px;
61
	width: 600px;
62
}
63
 
64
.classList
65
{
66
	list-style-type: none;
67
	padding: 0;
68
	margin: 0 0 0 8px;
69
	font-family: arial, sans-serif;
70
	font-size: 1em;
71
	overflow: auto;
72
}
73
 
74
.classList li
75
{
76
	padding: 0;
77
	margin: 0 0 8px 0;
78
}
79
 
80
.summaryTable { width: 100%; }
81
 
82
h1.classTitle
83
{
84
	font-size:170%;
85
	line-height:130%;
86
}
87
 
88
h2 { font-size: 110%; }
89
caption, div.sectionTitle
90
{
91
	background-color: #7F8FB1;
92
	color: #fff;
93
	font-size:130%;
94
	text-align: left;
95
	padding: 2px 6px 2px 6px;
96
	border: 1px #7F8FB1 solid;
97
}
98
 
99
div.sectionTitle { margin-bottom: 8px; }
100
.summaryTable thead { display: none; }
101
 
102
.summaryTable td
103
{
104
	vertical-align: top;
105
	padding: 4px;
106
	border-bottom: 1px #7F8FB1 solid;
107
	border-right: 1px #7F8FB1 solid;
108
}
109
 
110
/*col#summaryAttributes {}*/
111
.summaryTable td.attributes
112
{
113
	border-left: 1px #7F8FB1 solid;
114
	width: 140px;
115
	text-align: right;
116
}
117
 
118
td.attributes, .fixedFont
119
{
120
	line-height: 15px;
121
	color: #002EBE;
122
	font-family: "Courier New",Courier,monospace;
123
	font-size: 13px;
124
}
125
 
126
.summaryTable td.nameDescription
127
{
128
	text-align: left;
129
	font-size: 13px;
130
	line-height: 15px;
131
}
132
 
133
.summaryTable td.nameDescription, .description
134
{
135
	line-height: 15px;
136
	padding: 4px;
137
	padding-left: 4px;
138
}
139
 
140
.summaryTable { margin-bottom: 8px; }
141
 
142
ul.inheritsList
143
{
144
	list-style: square;
145
	margin-left: 20px;
146
	padding-left: 0;
147
}
148
 
149
.detailList {
150
	margin-left: 20px;
151
	line-height: 15px;
152
}
153
.detailList dt { margin-left: 20px; }
154
 
155
.detailList .heading
156
{
157
	font-weight: bold;
158
	padding-bottom: 6px;
159
	margin-left: 0;
160
}
161
 
162
.light, td.attributes, .light a:link, .light a:visited
163
{
164
	color: #777;
165
	font-style: italic;
166
}
167
 
168
.fineprint
169
{
170
	text-align: right;
171
	font-size: 10px;
172
}
173
		</style>
174
	</head>
175
 
176
	<body>
177
<!-- ============================== header ================================= -->
178
		<!-- begin static/header.html -->
179
		<div id="header">
180
</div>
181
		<!-- end static/header.html -->
182
 
183
<!-- ============================== classes index ============================ -->
184
		<div id="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>
188
<hr />
189
<h2>Classes</h2>
190
<ul class="classList">
191
 
192
	<li><i><a href="../symbols/_global_.html">_global_</a></i></li>
193
 
194
	<li><a href="../symbols/FontObject.html">FontObject</a></li>
195
 
196
	<li><a href="../symbols/jsPDF.html">jsPDF</a></li>
197
 
198
	<li><a href="../symbols/jsPDF-PubSub.html">jsPDF-PubSub</a></li>
199
 
200
</ul>
201
<hr />
202
			<!-- end publish.classesIndex -->
203
		</div>
204
 
205
		<div id="content">
206
<!-- ============================== class title ============================ -->
207
			<h1 class="classTitle">
208
 
209
				Class jsPDF-PubSub
210
			</h1>
211
 
212
<!-- ============================== class summary ========================== -->
213
			<p class="description">
214
 
215
 
216
 
217
 
218
 
219
 
220
					<br /><i>Defined in: </i> <a href="../symbols/src/c__work_jsPDF_jspdf.js.html">jspdf.js</a>.
221
 
222
			</p>
223
 
224
<!-- ============================== constructor summary ==================== -->
225
 
226
			<table class="summaryTable" cellspacing="0" summary="A summary of the constructor documented in the class jsPDF-PubSub.">
227
				<caption>Class Summary</caption>
228
				<thead>
229
					<tr>
230
						<th scope="col">Constructor Attributes</th>
231
						<th scope="col">Constructor Name and Description</th>
232
					</tr>
233
				</thead>
234
				<tbody>
235
					<tr>
236
						<td class="attributes">&lt;inner&gt; &nbsp;</td>
237
						<td class="nameDescription" >
238
							<div class="fixedFont">
239
								<b><a href="../symbols/jsPDF-PubSub.html#constructor">jsPDF-PubSub</a></b>(context)
240
							</div>
241
							<div class="description">PubSub implementation</div>
242
						</td>
243
					</tr>
244
				</tbody>
245
			</table>
246
 
247
 
248
<!-- ============================== properties summary ===================== -->
249
 
250
 
251
 
252
				<table class="summaryTable" cellspacing="0" summary="A summary of the fields documented in the class jsPDF-PubSub.">
253
					<caption>Field Summary</caption>
254
					<thead>
255
						<tr>
256
							<th scope="col">Field Attributes</th>
257
							<th scope="col">Field Name and Description</th>
258
						</tr>
259
					</thead>
260
					<tbody>
261
 
262
						<tr>
263
							<td class="attributes">&nbsp;</td>
264
							<td class="nameDescription">
265
								<div class="fixedFont">
266
								<b><a href="../symbols/jsPDF-PubSub.html#topics">topics</a></b>
267
								</div>
268
								<div class="description"></div>
269
							</td>
270
						</tr>
271
 
272
					</tbody>
273
				</table>
274
 
275
 
276
 
277
 
278
 
279
<!-- ============================== methods summary ======================== -->
280
 
281
 
282
 
283
				<table class="summaryTable" cellspacing="0" summary="A summary of the methods documented in the class jsPDF-PubSub.">
284
					<caption>Method Summary</caption>
285
					<thead>
286
						<tr>
287
							<th scope="col">Method Attributes</th>
288
							<th scope="col">Method Name and Description</th>
289
						</tr>
290
					</thead>
291
					<tbody>
292
 
293
						<tr>
294
							<td class="attributes">&nbsp;</td>
295
							<td class="nameDescription">
296
								<div class="fixedFont"><b><a href="../symbols/jsPDF-PubSub.html#publish">publish</a></b>(topic, **arguments, arg2, etc)
297
								</div>
298
								<div class="description">Allows caller to emit an event and pass arguments to event listeners.</div>
299
							</td>
300
						</tr>
301
 
302
						<tr>
303
							<td class="attributes">&nbsp;</td>
304
							<td class="nameDescription">
305
								<div class="fixedFont"><b><a href="../symbols/jsPDF-PubSub.html#subscribe">subscribe</a></b>(topic, callback, once)
306
								</div>
307
								<div class="description">Allows listener code to subscribe to channel and be called when data is available</div>
308
							</td>
309
						</tr>
310
 
311
						<tr>
312
							<td class="attributes">&nbsp;</td>
313
							<td class="nameDescription">
314
								<div class="fixedFont"><b><a href="../symbols/jsPDF-PubSub.html#unsubscribe">unsubscribe</a></b>(token)
315
								</div>
316
								<div class="description">Allows listener code to unsubscribe from a channel</div>
317
							</td>
318
						</tr>
319
 
320
					</tbody>
321
				</table>
322
 
323
 
324
 
325
 
326
<!-- ============================== events summary ======================== -->
327
 
328
 
329
<!-- ============================== constructor details ==================== -->
330
 
331
			<div class="details"><a name="constructor"> </a>
332
				<div class="sectionTitle">
333
					Class Detail
334
				</div>
335
 
336
				<div class="fixedFont">&lt;inner&gt;
337
						<b>jsPDF-PubSub</b>(context)
338
				</div>
339
 
340
				<div class="description">
341
					PubSub implementation
342
 
343
				</div>
344
 
345
 
346
 
347
 
348
 
349
						<dl class="detailList">
350
						<dt class="heading">Parameters:</dt>
351
 
352
							<dt>
353
								 <b>context</b>
354
 
355
							</dt>
356
								<dd></dd>
357
 
358
						</dl>
359
 
360
 
361
 
362
 
363
 
364
 
365
 
366
 
367
			</div>
368
 
369
 
370
<!-- ============================== field details ========================== -->
371
 
372
				<div class="sectionTitle">
373
					Field Detail
374
				</div>
375
 
376
					<a name="topics"> </a>
377
					<div class="fixedFont">
378
 
379
 
380
					<b>topics</b>
381
 
382
					</div>
383
					<div class="description">
384
 
385
 
386
 
387
					</div>
388
 
389
 
390
 
391
 
392
 
393
 
394
 
395
 
396
 
397
 
398
 
399
 
400
<!-- ============================== method details ========================= -->
401
 
402
				<div class="sectionTitle">
403
					Method Detail
404
				</div>
405
 
406
					<a name="publish"> </a>
407
					<div class="fixedFont">
408
 
409
 
410
					<b>publish</b>(topic, **arguments, arg2, etc)
411
 
412
					</div>
413
					<div class="description">
414
						Allows caller to emit an event and pass arguments to event listeners.
415
 
416
 
417
					</div>
418
 
419
 
420
 
421
 
422
							<dl class="detailList">
423
							<dt class="heading">Parameters:</dt>
424
 
425
								<dt>
426
									<b>topic</b>
427
 
428
								</dt>
429
								<dd>{String} Name of the channel on which to voice this event</dd>
430
 
431
								<dt>
432
									<b>**arguments</b>
433
 
434
								</dt>
435
								<dd>Any number of arguments you want to pass to the listeners of this event.</dd>
436
 
437
								<dt>
438
									<b>arg2</b>
439
 
440
								</dt>
441
								<dd></dd>
442
 
443
								<dt>
444
									<b>etc</b>
445
 
446
								</dt>
447
								<dd></dd>
448
 
449
							</dl>
450
 
451
 
452
 
453
 
454
 
455
 
456
 
457
 
458
					<hr />
459
 
460
					<a name="subscribe"> </a>
461
					<div class="fixedFont">
462
 
463
					<span class="light">{Object}</span>
464
					<b>subscribe</b>(topic, callback, once)
465
 
466
					</div>
467
					<div class="description">
468
						Allows listener code to subscribe to channel and be called when data is available
469
 
470
 
471
					</div>
472
 
473
 
474
 
475
 
476
							<dl class="detailList">
477
							<dt class="heading">Parameters:</dt>
478
 
479
								<dt>
480
									<b>topic</b>
481
 
482
								</dt>
483
								<dd>{String} Name of the channel on which to voice this event</dd>
484
 
485
								<dt>
486
									<b>callback</b>
487
 
488
								</dt>
489
								<dd>{Function} Executable (function pointer) that will be ran when event is voiced on this channel.</dd>
490
 
491
								<dt>
492
									<b>once</b>
493
 
494
								</dt>
495
								<dd>{Boolean} (optional. False by default) Flag indicating if the function is to be triggered only once.</dd>
496
 
497
							</dl>
498
 
499
 
500
 
501
 
502
 
503
							<dl class="detailList">
504
							<dt class="heading">Returns:</dt>
505
 
506
								<dd><span class="light fixedFont">{Object}</span> A token object that cen be used for unsubscribing.</dd>
507
 
508
							</dl>
509
 
510
 
511
 
512
 
513
					<hr />
514
 
515
					<a name="unsubscribe"> </a>
516
					<div class="fixedFont">
517
 
518
 
519
					<b>unsubscribe</b>(token)
520
 
521
					</div>
522
					<div class="description">
523
						Allows listener code to unsubscribe from a channel
524
 
525
 
526
					</div>
527
 
528
 
529
 
530
 
531
							<dl class="detailList">
532
							<dt class="heading">Parameters:</dt>
533
 
534
								<dt>
535
									<b>token</b>
536
 
537
								</dt>
538
								<dd>{Object} A token object that was returned by `subscribe` method</dd>
539
 
540
							</dl>
541
 
542
 
543
 
544
 
545
 
546
 
547
 
548
 
549
 
550
 
551
 
552
 
553
<!-- ============================== event details ========================= -->
554
 
555
 
556
			<hr />
557
		</div>
558
 
559
 
560
<!-- ============================== footer ================================= -->
561
		<div class="fineprint" style="clear:both">
562
 
563
			Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0 on Tue Aug 21 2012 12:58:07 GMT-0700 (PDT)
564
		</div>
565
	</body>
566
</html>