summaryrefslogtreecommitdiffstats
path: root/kjsembed/docs/write_classes.js
blob: ca14231fbfff2154fa5c98580b5d8d46c02f06f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36

text = '';


text += '<html>\n';

text += '<head>\n';
text += '<title>Constructors</title>\n';
text += '<link href="../kjsembed.css" rel="stylesheet" type="text/css">\n';
text += '</head>\n';

text += '<body>\n';
text += '<h1>Constructors</h1>\n';
text += '<hr>\n';

text += 'Object that scripts can create. This list includes objects\n';
text += 'defined by TQWidgetFactory as well as those with custom bindings.\n';
text += '<ul>\n';


var hrefroot = 'jsref/';
var cons = constructors().sort();
for ( var i = 0; i < cons.length; i++ ) {
   text += '<li>';
   var href = cons[i].toLowerCase() + '.html';
   var name = cons[i];
   text += '<a href="' + hrefroot + href + '">' + name + '</a>\n';
}
text += '</ul>\n';
text += '<hr>\n';
text += '</body>\n';

text += '</html>';

println( text );