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={+IO.encoding+}" />
6 <meta name="generator" content="JsDoc Toolkit" />
7 {! Link.base = "../"; /* all generated links will be relative to this */ !}
8 <title>JsDoc Reference - {+data.alias+}</title>
10 <style type="text/css">
11 {+include("static/default.css")+}
16 <!-- ============================== header ================================= -->
17 <!-- begin static/header.html -->
18 {+include("static/header.html")+}
19 <!-- end static/header.html -->
21 <!-- ============================== classes index ============================ -->
23 <!-- begin publish.classesIndex -->
24 {+publish.classesIndex+}
25 <!-- end publish.classesIndex -->
29 <!-- ============================== class title ============================ -->
30 <h1 class="classTitle">
34 if (data.isBuiltin()) {
35 classType += "Built-In ";
38 if (data.isNamespace) {
39 if (data.is('FUNCTION')) {
40 classType += "Function ";
42 classType += "Namespace ";
45 classType += "Class ";
48 {+classType+}{+data.alias+}
51 <!-- ============================== class summary ========================== -->
52 <p class="description">
53 <if test="data.version"><br />Version
54 {+ data.version +}.<br />
56 <if test="data.augments.length"><br />Extends
61 function($) { return new Link().toSymbol($); }
67 {+resolveLinks(data.classDesc)+}
69 <if test="!data.isBuiltin()">{# isn't defined in any file #}
70 <br /><i>Defined in: </i> {+new Link().toSrc(data.srcFile)+}.
74 <!-- ============================== constructor summary ==================== -->
75 <if test="!data.isBuiltin() && (data.isNamespace || data.is('CONSTRUCTOR'))">
76 <table class="summaryTable" cellspacing="0" summary="A summary of the constructor documented in the class {+data.alias+}.">
77 <caption>{+classType+}Summary</caption>
80 <th scope="col">Constructor Attributes</th>
81 <th scope="col">Constructor Name and Description</th>
86 <td class="attributes">{!
87 if (data.isPrivate) output += "<private> ";
88 if (data.isInner) output += "<inner> ";
90 <td class="nameDescription" {!if (data.comment.getTag("hilited").length){output += 'style="color: red"'}!}>
91 <div class="fixedFont">
92 <b>{+ new Link().toSymbol(data.alias).inner('constructor')+}</b><if test="classType != 'Namespace '">{+ makeSignature(data.params) +}</if>
94 <div class="description">{+resolveLinks(summarize(data.desc))+}</div>
101 <!-- ============================== properties summary ===================== -->
102 <if test="data.properties.length">
103 {! var ownProperties = data.properties.filter(function($){return $.memberOf == data.alias && !$.isNamespace}).sort(makeSortby("name")); !}
104 <if test="ownProperties.length">
105 <table class="summaryTable" cellspacing="0" summary="A summary of the fields documented in the class {+data.alias+}.">
106 <caption>Field Summary</caption>
109 <th scope="col">Field Attributes</th>
110 <th scope="col">Field Name and Description</th>
114 <for each="member" in="ownProperties">
116 <td class="attributes">{!
117 if (member.isPrivate) output += "<private> ";
118 if (member.isInner) output += "<inner> ";
119 if (member.isStatic) output += "<static> ";
120 if (member.isConstant) output += "<constant> ";
122 <td class="nameDescription">
123 <div class="fixedFont">
124 <if test="member.isStatic && member.memberOf != '_global_'">{+member.memberOf+}.</if><b>{+new Link().toSymbol(member.alias).withText(member.name)+}</b>
126 <div class="description">{+resolveLinks(summarize(member.desc))+}</div>
134 <if test="data.inheritsFrom.length">
135 <dl class="inheritsList">
137 var borrowedMembers = data.properties.filter(function($) {return $.memberOf != data.alias});
139 var contributers = [];
140 borrowedMembers.map(function($) {if (contributers.indexOf($.memberOf) < 0) contributers.push($.memberOf)});
141 for (var i = 0, l = contributers.length; i < l; i++) {
143 "<dt>Fields borrowed from class "+new Link().toSymbol(contributers[i])+": </dt>"
148 function($) { return $.memberOf == contributers[i] }
150 .sort(makeSortby("name"))
152 function($) { return new Link().toSymbol($.alias).withText($.name) }
163 <!-- ============================== methods summary ======================== -->
164 <if test="data.methods.length">
165 {! var ownMethods = data.methods.filter(function($){return $.memberOf == data.alias && !$.isNamespace}).sort(makeSortby("name")); !}
166 <if test="ownMethods.length">
167 <table class="summaryTable" cellspacing="0" summary="A summary of the methods documented in the class {+data.alias+}.">
168 <caption>Method Summary</caption>
171 <th scope="col">Method Attributes</th>
172 <th scope="col">Method Name and Description</th>
176 <for each="member" in="ownMethods">
178 <td class="attributes">{!
179 if (member.isPrivate) output += "<private> ";
180 if (member.isInner) output += "<inner> ";
181 if (member.isStatic) output += "<static> ";
183 <td class="nameDescription">
184 <div class="fixedFont"><if test="member.isStatic && member.memberOf != '_global_'">{+member.memberOf+}.</if><b>{+new Link().toSymbol(member.alias).withText(member.name.replace(/\^\d+$/, ''))+}</b>{+makeSignature(member.params)+}
186 <div class="description">{+resolveLinks(summarize(member.desc))+}</div>
194 <if test="data.inheritsFrom.length">
195 <dl class="inheritsList">
197 var borrowedMembers = data.methods.filter(function($) {return $.memberOf != data.alias});
198 var contributers = [];
199 borrowedMembers.map(function($) {if (contributers.indexOf($.memberOf) < 0) contributers.push($.memberOf)});
200 for (var i = 0, l = contributers.length; i < l; i++) {
202 "<dt>Methods borrowed from class "+new Link().toSymbol(contributers[i])+": </dt>"
207 function($) { return $.memberOf == contributers[i] }
209 .sort(makeSortby("name"))
211 function($) { return new Link().toSymbol($.alias).withText($.name) }
222 <!-- ============================== events summary ======================== -->
223 <if test="data.events.length">
224 {! var ownEvents = data.events.filter(function($){return $.memberOf == data.alias && !$.isNamespace}).sort(makeSortby("name")); !}
225 <if test="ownEvents.length">
226 <table class="summaryTable" cellspacing="0" summary="A summary of the events documented in the class {+data.alias+}.">
227 <caption>Event Summary</caption>
230 <th scope="col">Event Attributes</th>
231 <th scope="col">Event Name and Description</th>
235 <for each="member" in="ownEvents">
237 <td class="attributes">{!
238 if (member.isPrivate) output += "<private> ";
239 if (member.isInner) output += "<inner> ";
240 if (member.isStatic) output += "<static> ";
242 <td class="nameDescription">
243 <div class="fixedFont"><if test="member.isStatic && member.memberOf != '_global_'">{+member.memberOf+}.</if><b>{+new Link().toSymbol(member.alias).withText(member.name)+}</b>{+makeSignature(member.params)+}
245 <div class="description">{+resolveLinks(summarize(member.desc))+}</div>
253 <if test="data.inheritsFrom.length">
254 <dl class="inheritsList">
256 var borrowedMembers = data.events.filter(function($) {return $.memberOf != data.alias});
257 var contributers = [];
258 borrowedMembers.map(function($) {if (contributers.indexOf($.memberOf) < 0) contributers.push($.memberOf)});
259 for (var i = 0, l = contributers.length; i < l; i++) {
261 "<dt>Events borrowed from class "+new Link().toSymbol(contributers[i])+": </dt>"
266 function($) { return $.memberOf == contributers[i] }
268 .sort(makeSortby("name"))
270 function($) { return new Link().toSymbol($.alias).withText($.name) }
282 <!-- ============================== constructor details ==================== -->
283 <if test="!data.isBuiltin() && (data.isNamespace || data.is('CONSTRUCTOR'))">
284 <div class="details"><a name="constructor"> </a>
285 <div class="sectionTitle">
289 <div class="fixedFont">{!
290 if (data.isPrivate) output += "<private> ";
291 if (data.isInner) output += "<inner> ";
293 <b>{+ data.alias +}</b><if test="classType != 'Namespace '">{+ makeSignature(data.params) +}</if>
296 <div class="description">
297 {+resolveLinks(data.desc)+}
298 <if test="data.author"><br /><i>Author: </i>{+data.author+}.</if>
301 <if test="data.example.length">
302 <for each="example" in="data.example">
303 <pre class="code">{+example+}</pre>
308 <if test="data.params.length">
309 <dl class="detailList">
310 <dt class="heading">Parameters:</dt>
311 <for each="item" in="data.params">
313 {+((item.type)?""+("<span class=\"light fixedFont\">{"+(new Link().toSymbol(item.type)+"}</span> ")) : "")+} <b>{+item.name+}</b>
314 <if test="item.isOptional"><i>Optional<if test="item.defaultValue">, Default: {+item.defaultValue+}</if></i></if>
316 <dd>{+resolveLinks(item.desc)+}</dd>
320 <if test="data.deprecated">
321 <dl class="detailList">
322 <dt class="heading">Deprecated:</dt>
324 {+resolveLinks(data.deprecated)+}
328 <if test="data.since">
329 <dl class="detailList">
330 <dt class="heading">Since:</dt>
331 <dd>{+ data.since +}</dd>
334 <if test="data.exceptions.length">
335 <dl class="detailList">
336 <dt class="heading">Throws:</dt>
337 <for each="item" in="data.exceptions">
339 {+((item.type)?"<span class=\"light fixedFont\">{"+(new Link().toSymbol(item.type))+"}</span> " : "")+} <b>{+item.name+}</b>
341 <dd>{+resolveLinks(item.desc)+}</dd>
345 <if test="data.returns.length">
346 <dl class="detailList">
347 <dt class="heading">Returns:</dt>
348 <for each="item" in="data.returns">
349 <dd>{+((item.type)?"<span class=\"light fixedFont\">{"+(new Link().toSymbol(item.type))+"}</span> " : "")+}{+resolveLinks(item.desc)+}</dd>
353 <if test="data.requires.length">
354 <dl class="detailList">
355 <dt class="heading">Requires:</dt>
356 <for each="item" in="data.requires">
357 <dd>{+ new Link().toSymbol(item) +}</dd>
361 <if test="data.see.length">
362 <dl class="detailList">
363 <dt class="heading">See:</dt>
364 <for each="item" in="data.see">
365 <dd>{+ new Link().toSymbol(item) +}</dd>
373 <!-- ============================== field details ========================== -->
374 <if test="defined(ownProperties) && ownProperties.length">
375 <div class="sectionTitle">
378 <for each="member" in="ownProperties">
379 <a name="{+Link.symbolNameToLinkName(member)+}"> </a>
380 <div class="fixedFont">{!
381 if (member.isPrivate) output += "<private> ";
382 if (member.isInner) output += "<inner> ";
383 if (member.isStatic) output += "<static> ";
384 if (member.isConstant) output += "<constant> ";
387 <if test="member.type"><span class="light">{{+new Link().toSymbol(member.type)+}}</span></if>
388 <if test="member.isStatic && member.memberOf != '_global_'"><span class="light">{+member.memberOf+}.</span></if><b>{+member.name+}</b>
391 <div class="description">
392 {+resolveLinks(member.desc)+}
393 <if test="member.srcFile != data.srcFile">
395 <i>Defined in: </i> {+new Link().toSrc(member.srcFile)+}.
397 <if test="member.author"><br /><i>Author: </i>{+member.author+}.</if>
400 <if test="member.example.length">
401 <for each="example" in="member.example">
402 <pre class="code">{+example+}</pre>
406 <if test="member.deprecated">
407 <dl class="detailList">
408 <dt class="heading">Deprecated:</dt>
410 {+ resolveLinks(member.deprecated) +}
414 <if test="member.since">
415 <dl class="detailList">
416 <dt class="heading">Since:</dt>
417 <dd>{+ member.since +}</dd>
420 <if test="member.see.length">
421 <dl class="detailList">
422 <dt class="heading">See:</dt>
423 <for each="item" in="member.see">
424 <dd>{+ new Link().toSymbol(item) +}</dd>
428 <if test="member.defaultValue">
429 <dl class="detailList">
430 <dt class="heading">Default Value:</dt>
432 {+resolveLinks(member.defaultValue)+}
437 <if test="!$member_last"><hr /></if>
441 <!-- ============================== method details ========================= -->
442 <if test="defined(ownMethods) && ownMethods.length">
443 <div class="sectionTitle">
446 <for each="member" in="ownMethods">
447 <a name="{+Link.symbolNameToLinkName(member)+}"> </a>
448 <div class="fixedFont">{!
449 if (member.isPrivate) output += "<private> ";
450 if (member.isInner) output += "<inner> ";
451 if (member.isStatic) output += "<static> ";
454 <if test="member.type"><span class="light">{{+new Link().toSymbol(member.type)+}}</span></if>
455 <if test="member.isStatic && member.memberOf != '_global_'"><span class="light">{+member.memberOf+}.</span></if><b>{+member.name.replace(/\^\d+$/, '')+}</b>{+makeSignature(member.params)+}
458 <div class="description">
459 {+resolveLinks(member.desc)+}
460 <if test="member.srcFile != data.srcFile">
462 <i>Defined in: </i> {+new Link().toSrc(member.srcFile)+}.
464 <if test="member.author"><br /><i>Author: </i>{+member.author+}.</if>
467 <if test="member.example.length">
468 <for each="example" in="member.example">
469 <pre class="code">{+example+}</pre>
473 <if test="member.params.length">
474 <dl class="detailList">
475 <dt class="heading">Parameters:</dt>
476 <for each="item" in="member.params">
478 {+((item.type)?"<span class=\"light fixedFont\">{"+(new Link().toSymbol(item.type))+"}</span> " : "")+}<b>{+item.name+}</b>
479 <if test="item.isOptional"><i>Optional<if test="item.defaultValue">, Default: {+item.defaultValue+}</if></i></if>
481 <dd>{+resolveLinks(item.desc)+}</dd>
485 <if test="member.deprecated">
486 <dl class="detailList">
487 <dt class="heading">Deprecated:</dt>
489 {+ resolveLinks(member.deprecated) +}
493 <if test="member.since">
494 <dl class="detailList">
495 <dt class="heading">Since:</dt>
496 <dd>{+ member.since +}</dd>
500 <if test="member.exceptions.length">
501 <dl class="detailList">
502 <dt class="heading">Throws:</dt>
503 <for each="item" in="member.exceptions">
505 {+((item.type)?"<span class=\"light fixedFont\">{"+(new Link().toSymbol(item.type))+"}</span> " : "")+} <b>{+item.name+}</b>
507 <dd>{+resolveLinks(item.desc)+}</dd>
511 <if test="member.returns.length">
512 <dl class="detailList">
513 <dt class="heading">Returns:</dt>
514 <for each="item" in="member.returns">
515 <dd>{+((item.type)?"<span class=\"light fixedFont\">{"+(new Link().toSymbol(item.type))+"}</span> " : "")+}{+resolveLinks(item.desc)+}</dd>
519 <if test="member.requires.length">
520 <dl class="detailList">
521 <dt class="heading">Requires:</dt>
522 <for each="item" in="member.requires">
523 <dd>{+ resolveLinks(item) +}</dd>
527 <if test="member.see.length">
528 <dl class="detailList">
529 <dt class="heading">See:</dt>
530 <for each="item" in="member.see">
531 <dd>{+ new Link().toSymbol(item) +}</dd>
536 <if test="!$member_last"><hr /></if>
540 <!-- ============================== event details ========================= -->
541 <if test="defined(ownEvents) && ownEvents.length">
542 <div class="sectionTitle">
545 <for each="member" in="ownEvents">
546 <a name="{+Link.symbolNameToLinkName(member)+}"> </a>
547 <div class="fixedFont">{!
548 if (member.isPrivate) output += "<private> ";
549 if (member.isInner) output += "<inner> ";
550 if (member.isStatic) output += "<static> ";
553 <if test="member.type"><span class="light">{{+new Link().toSymbol(member.type)+}}</span></if>
554 <if test="member.isStatic && member.memberOf != '_global_'"><span class="light">{+member.memberOf+}.</span></if><b>{+member.name+}</b>{+makeSignature(member.params)+}
557 <div class="description">
558 {+resolveLinks(member.desc)+}
559 <if test="member.srcFile != data.srcFile">
561 <i>Defined in: </i> {+new Link().toSrc(member.srcFile)+}.
563 <if test="member.author"><br /><i>Author: </i>{+member.author+}.</if>
566 <if test="member.example.length">
567 <for each="example" in="member.example">
568 <pre class="code">{+example+}</pre>
572 <if test="member.params.length">
573 <dl class="detailList">
574 <dt class="heading">Parameters:</dt>
575 <for each="item" in="member.params">
577 {+((item.type)?"<span class=\"light fixedFont\">{"+(new Link().toSymbol(item.type))+"}</span> " : "")+}<b>{+item.name+}</b>
578 <if test="item.isOptional"><i>Optional<if test="item.defaultValue">, Default: {+item.defaultValue+}</if></i></if>
580 <dd>{+ resolveLinks(item.desc) +}</dd>
584 <if test="member.deprecated">
585 <dl class="detailList">
586 <dt class="heading">Deprecated:</dt>
588 {+ resolveLinks(member.deprecated) +}
592 <if test="member.since">
593 <dl class="detailList">
594 <dt class="heading">Since:</dt>
595 <dd>{+ member.since +}</dd>
599 <if test="member.exceptions.length">
600 <dl class="detailList">
601 <dt class="heading">Throws:</dt>
602 <for each="item" in="member.exceptions">
604 {+((item.type)?"<span class=\"light fixedFont\">{"+(new Link().toSymbol(item.type))+"}</span> " : "")+} <b>{+item.name+}</b>
606 <dd>{+ resolveLinks(item.desc) +}</dd>
610 <if test="member.returns.length">
611 <dl class="detailList">
612 <dt class="heading">Returns:</dt>
613 <for each="item" in="member.returns">
614 <dd>{+((item.type)?"<span class=\"light fixedFont\">{"+(new Link().toSymbol(item.type))+"}</span> " : "")+}{+resolveLinks(item.desc)+}</dd>
618 <if test="member.requires.length">
619 <dl class="detailList">
620 <dt class="heading">Requires:</dt>
621 <for each="item" in="member.requires">
622 <dd>{+ resolveLinks(item) +}</dd>
626 <if test="member.see.length">
627 <dl class="detailList">
628 <dt class="heading">See:</dt>
629 <for each="item" in="member.see">
630 <dd>{+ new Link().toSymbol(item) +}</dd>
635 <if test="!$member_last"><hr /></if>
643 <!-- ============================== footer ================================= -->
644 <div class="fineprint" style="clear:both">
645 <if test="JSDOC.opt.D.copyright">©{+JSDOC.opt.D.copyright+}<br /></if>
646 Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> {+JSDOC.VERSION+} on {+new Date()+}