4 <link rel='stylesheet' href='../scdoc.css' type='text/css'
/>
5 <meta http-equiv='Content-Type' content='text/html; charset=UTF-
8'
/>
6 <script src=
"../docmap.js" type=
"text/javascript"></script>
7 <script src=
"../scdoc.js" type=
"text/javascript"></script>
23 div.met_subclasses a {
26 div.met_subclasses a.seemore {
32 font-family: Andale Mono, monospace;
38 border-top:
1px solid #ddd;
48 <p>The method index needs JavaScript.
51 <script type=
"text/javascript">
53 var subclassCache
= {};
55 function buildMethodList() {
57 for(var k
in docmap
) {
59 var mets
= doc
.methods
;
61 for(var j
=0;j
<mets
.length
;j
++) {
63 var mname
= m
.slice(2);
66 if(!methods
.hasOwnProperty(mname
))
68 methods
[mname
].push({doc
:doc
,pfx
:pfx
,ext
:ext
});
73 function getSubClasses(doc
) {
76 for(var i
=0;i
<doc
.subclasses
.length
;i
++) {
77 var x
= doc
.subclasses
[i
];
78 var v
= docmap
["Classes/"+x
];
81 a
= a
.concat(getSubClasses(v
));
87 function showMethod(mname
, node
) {
88 var div
= document
.createElement("div");
89 div
.className
= "method_item";
90 var x
= document
.createElement("div");
91 x
.className
= "method_name";
92 x
.appendChild(document
.createTextNode(mname
));
95 var x
= methods
[mname
].sort(function(a
,b
) {
96 a
= a
.pfx
+ a
.doc
.title
;
97 b
= b
.pfx
+ b
.doc
.title
;
105 for(var i
=0;i
<x
.length
;i
++) {
109 var div2
= document
.createElement("div");
110 div2
.className
= "method_doc";
111 div
.appendChild(div2
);
115 div2
.appendChild(document
.createTextNode(p
+" "));
116 var a
= document
.createElement("a");
117 a
.setAttribute("href",helpRoot
+"/"+v
.path
+".html#"+m
.pfx
+mname
);
118 a
.innerHTML
= v
.title
;
121 div2
.appendChild(document
.createTextNode("+"));
122 div2
.appendChild(document
.createTextNode(" - "+v
.summary
+" "));
123 var n
= document
.createElement("span");
124 n
.className
= "soft";
125 var res
= "["+v
.path
.split("/")[0];
126 if(v
.installed
=="extension")
128 else if(v
.installed
=="missing")
129 res
+= " - missing!";
130 n
.innerHTML
= res
+"]";
133 if(v
.path
=="Classes/Object") {
134 var n
= document
.createElement("div");
135 n
.className
= "met_subclasses";
136 n
.appendChild(document
.createTextNode("Inherited by: All classes"));
139 if(v
.subclasses
&& v
.subclasses
.length
>0) {
141 if(subclassCache
[v
.path
]) {
142 n
= subclassCache
[v
.path
].cloneNode(true);
144 var subs
= getSubClasses(v
);
145 n
= document
.createElement("div");
147 n
.className
= "met_subclasses";
148 n
.appendChild(document
.createTextNode("Inherited by: "));
149 for(var j
=0;j
<subs
.length
;j
++) {
150 var a
= document
.createElement("a");
151 a
.setAttribute("href", helpRoot
+"/Classes/"+subs
[j
]+".html");
152 if(j
==10 && subs
.length
> 14) {
153 m
= document
.createElement("span");
154 m
.className
= "hiddenspan";
155 m
.style
.display
= "none";
157 var a2
= document
.createElement("a");
158 a2
.setAttribute("href","#");
159 a2
.className
= "seemore";
160 a2
.innerHTML
= "… see "+(subs
.length
-10)+" more";
161 n
.appendChild(document
.createTextNode(" "));
165 m
.appendChild(document
.createTextNode(", "));
166 a
.innerHTML
= subs
[j
];
169 subclassCache
[v
.path
] = n
;
172 var a
= n
.getElementsByClassName("seemore")[0];
174 var m
= n
.getElementsByClassName("hiddenspan")[0];
175 a
.onclick = function() {
176 m
.style
.display
= "";
177 a
.parentNode
.removeChild(a
);
187 node
.appendChild(div
);
190 function did_load() {
191 var hash
= unescape(window
.location
.hash
.slice(1));
193 if(hash
&& ! /^section_/.test(hash
)) {
194 location
.replace("../Search.html?check_title=false&check_summary=false&check_prefix=true&check_suffix=true&ignore_case=false#"+hash
);
197 helpRoot
=".."; fixTOC();
204 function showmethods() {
205 var hash
= unescape(window
.location
.hash
.slice(1));
206 var res
= document
.getElementById("methods");
209 var section
= undefined;
210 if(/^section_/.test(hash
))
214 var div
= document
.createElement("p");
215 div
.className
= "jump";
216 div
.innerHTML
= "Show section: ";
219 for(var k
in methods
) {
224 for(var i
=0;i
<mets
.length
;i
++) {
228 if(section
== undefined)
230 var a
= document
.createElement("a");
231 a
.setAttribute("href","#section_"+cap
);
232 a
.innerHTML
=cap
.toUpperCase();
234 div
.appendChild(document
.createTextNode(" "));
237 res
.appendChild(div
);
239 var x
= document
.createElement("h2");
240 x
.innerHTML
= section
.toUpperCase();
244 for(var i
= 0; i
<mets
.length
;i
++) {
251 document
.getElementById("total_count").innerHTML
= count
+ " methods (" + mets
.length
+ " total)";
254 window
.onhashchange
= showmethods
;
258 <ul id=
"menubar"></ul>
260 <body onload=
"did_load()">
261 <div class='contents'
>
263 <div id='label'
>SuperCollider OVERVIEWS
</div>
265 <div id='summary'
>Alphabetical index of all methods
</div>
267 <div id=
"total_count"></div>
269 Generating method index, please wait...
271 <div id='method_note'
>
272 You can show a specific method by appending '#NAME' to this page url, where NAME is the name of the method.