http://git-wip-us.apache.org/repos/asf/incubator-livy-website/blob/60f4b974/site/docs/0.5.0-incubating/api/scala/lib/modernizr.custom.js ---------------------------------------------------------------------- diff --git a/site/docs/0.5.0-incubating/api/scala/lib/modernizr.custom.js b/site/docs/0.5.0-incubating/api/scala/lib/modernizr.custom.js new file mode 100644 index 0000000..4688d63 --- /dev/null +++ b/site/docs/0.5.0-incubating/api/scala/lib/modernizr.custom.js @@ -0,0 +1,4 @@ +/* Modernizr 2.5.3 (Custom Build) | MIT & BSD + * Build: http://www.modernizr.com/download/#-inlinesvg + */ +;window.Modernizr=function(a,b,c){function u(a){i.cssText=a}function v(a,b){return u(prefixes.join(a+";")+(b||""))}function w(a,b){return typeof a===b}function x(a,b){return!!~(""+a).indexOf(b)}function y(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:w(f,"function")?f.bind(d||b):f}return!1}var d="2.5.3",e={},f=b.documentElement,g="modernizr",h=b.createElement(g),i=h.style,j,k={}.toString,l={svg:"http://www.w3.org/2000/svg"},m={},n={},o={},p=[],q=p.slice,r,s={}.hasOwnProperty,t;!w(s,"undefined")&&!w(s.call,"undefined")?t=function(a,b){return s.call(a,b)}:t=function(a,b){return b in a&&w(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=q.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(q.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(q.call(arguments))) };return e}),m.inlinesvg=function(){var a=b.createElement("div");return a.innerHTML="<svg/>",(a.firstChild&&a.firstChild.namespaceURI)==l.svg};for(var z in m)t(m,z)&&(r=z.toLowerCase(),e[r]=m[z](),p.push((e[r]?"":"no-")+r));return u(""),h=j=null,e._version=d,e}(this,this.document); \ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-livy-website/blob/60f4b974/site/docs/0.5.0-incubating/api/scala/lib/navigation-li-a.png ---------------------------------------------------------------------- diff --git a/site/docs/0.5.0-incubating/api/scala/lib/navigation-li-a.png b/site/docs/0.5.0-incubating/api/scala/lib/navigation-li-a.png new file mode 100644 index 0000000..9b32288 Binary files /dev/null and b/site/docs/0.5.0-incubating/api/scala/lib/navigation-li-a.png differ http://git-wip-us.apache.org/repos/asf/incubator-livy-website/blob/60f4b974/site/docs/0.5.0-incubating/api/scala/lib/navigation-li.png ---------------------------------------------------------------------- diff --git a/site/docs/0.5.0-incubating/api/scala/lib/navigation-li.png b/site/docs/0.5.0-incubating/api/scala/lib/navigation-li.png new file mode 100644 index 0000000..fd0ad06 Binary files /dev/null and b/site/docs/0.5.0-incubating/api/scala/lib/navigation-li.png differ http://git-wip-us.apache.org/repos/asf/incubator-livy-website/blob/60f4b974/site/docs/0.5.0-incubating/api/scala/lib/object.png ---------------------------------------------------------------------- diff --git a/site/docs/0.5.0-incubating/api/scala/lib/object.png b/site/docs/0.5.0-incubating/api/scala/lib/object.png new file mode 100644 index 0000000..ad31279 Binary files /dev/null and b/site/docs/0.5.0-incubating/api/scala/lib/object.png differ http://git-wip-us.apache.org/repos/asf/incubator-livy-website/blob/60f4b974/site/docs/0.5.0-incubating/api/scala/lib/object_big.png ---------------------------------------------------------------------- diff --git a/site/docs/0.5.0-incubating/api/scala/lib/object_big.png b/site/docs/0.5.0-incubating/api/scala/lib/object_big.png new file mode 100644 index 0000000..67ffca7 Binary files /dev/null and b/site/docs/0.5.0-incubating/api/scala/lib/object_big.png differ http://git-wip-us.apache.org/repos/asf/incubator-livy-website/blob/60f4b974/site/docs/0.5.0-incubating/api/scala/lib/object_diagram.png ---------------------------------------------------------------------- diff --git a/site/docs/0.5.0-incubating/api/scala/lib/object_diagram.png b/site/docs/0.5.0-incubating/api/scala/lib/object_diagram.png new file mode 100644 index 0000000..6e9f2f7 Binary files /dev/null and b/site/docs/0.5.0-incubating/api/scala/lib/object_diagram.png differ http://git-wip-us.apache.org/repos/asf/incubator-livy-website/blob/60f4b974/site/docs/0.5.0-incubating/api/scala/lib/object_to_class_big.png ---------------------------------------------------------------------- diff --git a/site/docs/0.5.0-incubating/api/scala/lib/object_to_class_big.png b/site/docs/0.5.0-incubating/api/scala/lib/object_to_class_big.png new file mode 100644 index 0000000..7502942 Binary files /dev/null and b/site/docs/0.5.0-incubating/api/scala/lib/object_to_class_big.png differ http://git-wip-us.apache.org/repos/asf/incubator-livy-website/blob/60f4b974/site/docs/0.5.0-incubating/api/scala/lib/object_to_trait_big.png ---------------------------------------------------------------------- diff --git a/site/docs/0.5.0-incubating/api/scala/lib/object_to_trait_big.png b/site/docs/0.5.0-incubating/api/scala/lib/object_to_trait_big.png new file mode 100644 index 0000000..c777bfc Binary files /dev/null and b/site/docs/0.5.0-incubating/api/scala/lib/object_to_trait_big.png differ http://git-wip-us.apache.org/repos/asf/incubator-livy-website/blob/60f4b974/site/docs/0.5.0-incubating/api/scala/lib/object_to_type_big.png ---------------------------------------------------------------------- diff --git a/site/docs/0.5.0-incubating/api/scala/lib/object_to_type_big.png b/site/docs/0.5.0-incubating/api/scala/lib/object_to_type_big.png new file mode 100644 index 0000000..7502942 Binary files /dev/null and b/site/docs/0.5.0-incubating/api/scala/lib/object_to_type_big.png differ http://git-wip-us.apache.org/repos/asf/incubator-livy-website/blob/60f4b974/site/docs/0.5.0-incubating/api/scala/lib/ownderbg2.gif ---------------------------------------------------------------------- diff --git a/site/docs/0.5.0-incubating/api/scala/lib/ownderbg2.gif b/site/docs/0.5.0-incubating/api/scala/lib/ownderbg2.gif new file mode 100644 index 0000000..848dd59 Binary files /dev/null and b/site/docs/0.5.0-incubating/api/scala/lib/ownderbg2.gif differ http://git-wip-us.apache.org/repos/asf/incubator-livy-website/blob/60f4b974/site/docs/0.5.0-incubating/api/scala/lib/ownerbg.gif ---------------------------------------------------------------------- diff --git a/site/docs/0.5.0-incubating/api/scala/lib/ownerbg.gif b/site/docs/0.5.0-incubating/api/scala/lib/ownerbg.gif new file mode 100644 index 0000000..34a0424 Binary files /dev/null and b/site/docs/0.5.0-incubating/api/scala/lib/ownerbg.gif differ http://git-wip-us.apache.org/repos/asf/incubator-livy-website/blob/60f4b974/site/docs/0.5.0-incubating/api/scala/lib/ownerbg2.gif ---------------------------------------------------------------------- diff --git a/site/docs/0.5.0-incubating/api/scala/lib/ownerbg2.gif b/site/docs/0.5.0-incubating/api/scala/lib/ownerbg2.gif new file mode 100644 index 0000000..2ed33b0 Binary files /dev/null and b/site/docs/0.5.0-incubating/api/scala/lib/ownerbg2.gif differ http://git-wip-us.apache.org/repos/asf/incubator-livy-website/blob/60f4b974/site/docs/0.5.0-incubating/api/scala/lib/package.png ---------------------------------------------------------------------- diff --git a/site/docs/0.5.0-incubating/api/scala/lib/package.png b/site/docs/0.5.0-incubating/api/scala/lib/package.png new file mode 100644 index 0000000..6ea17ac Binary files /dev/null and b/site/docs/0.5.0-incubating/api/scala/lib/package.png differ http://git-wip-us.apache.org/repos/asf/incubator-livy-website/blob/60f4b974/site/docs/0.5.0-incubating/api/scala/lib/package_big.png ---------------------------------------------------------------------- diff --git a/site/docs/0.5.0-incubating/api/scala/lib/package_big.png b/site/docs/0.5.0-incubating/api/scala/lib/package_big.png new file mode 100644 index 0000000..529aa93 Binary files /dev/null and b/site/docs/0.5.0-incubating/api/scala/lib/package_big.png differ http://git-wip-us.apache.org/repos/asf/incubator-livy-website/blob/60f4b974/site/docs/0.5.0-incubating/api/scala/lib/packagesbg.gif ---------------------------------------------------------------------- diff --git a/site/docs/0.5.0-incubating/api/scala/lib/packagesbg.gif b/site/docs/0.5.0-incubating/api/scala/lib/packagesbg.gif new file mode 100644 index 0000000..00c3378 Binary files /dev/null and b/site/docs/0.5.0-incubating/api/scala/lib/packagesbg.gif differ http://git-wip-us.apache.org/repos/asf/incubator-livy-website/blob/60f4b974/site/docs/0.5.0-incubating/api/scala/lib/permalink.png ---------------------------------------------------------------------- diff --git a/site/docs/0.5.0-incubating/api/scala/lib/permalink.png b/site/docs/0.5.0-incubating/api/scala/lib/permalink.png new file mode 100644 index 0000000..d54bc93 Binary files /dev/null and b/site/docs/0.5.0-incubating/api/scala/lib/permalink.png differ http://git-wip-us.apache.org/repos/asf/incubator-livy-website/blob/60f4b974/site/docs/0.5.0-incubating/api/scala/lib/ref-index.css ---------------------------------------------------------------------- diff --git a/site/docs/0.5.0-incubating/api/scala/lib/ref-index.css b/site/docs/0.5.0-incubating/api/scala/lib/ref-index.css new file mode 100644 index 0000000..7d64b9c --- /dev/null +++ b/site/docs/0.5.0-incubating/api/scala/lib/ref-index.css @@ -0,0 +1,30 @@ +body { + font-size: 10pt; + font-family: Arial, sans-serif; +} + +a { + color:#315479; +} + +.letters { + width:100%; + text-align:center; + margin:0.6em; + padding:0.1em; + border-bottom:1px solid gray; +} + +.entry { + border-bottom: 1px solid lightgray; + padding: 5px 0 8px; +} + +.name { + /* background-color:#E5E5E5; */ +} + +.occurrences { + margin-left: 1em; + margin-top: 5px; +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-livy-website/blob/60f4b974/site/docs/0.5.0-incubating/api/scala/lib/remove.png ---------------------------------------------------------------------- diff --git a/site/docs/0.5.0-incubating/api/scala/lib/remove.png b/site/docs/0.5.0-incubating/api/scala/lib/remove.png new file mode 100644 index 0000000..4625f9d Binary files /dev/null and b/site/docs/0.5.0-incubating/api/scala/lib/remove.png differ http://git-wip-us.apache.org/repos/asf/incubator-livy-website/blob/60f4b974/site/docs/0.5.0-incubating/api/scala/lib/scheduler.js ---------------------------------------------------------------------- diff --git a/site/docs/0.5.0-incubating/api/scala/lib/scheduler.js b/site/docs/0.5.0-incubating/api/scala/lib/scheduler.js new file mode 100644 index 0000000..4417f5b --- /dev/null +++ b/site/docs/0.5.0-incubating/api/scala/lib/scheduler.js @@ -0,0 +1,71 @@ +// © 2010 EPFL/LAMP +// code by Gilles Dubochet + +function Scheduler() { + var scheduler = this; + var resolution = 0; + this.timeout = undefined; + this.queues = new Array(0); // an array of work pacakges indexed by index in the labels table. + this.labels = new Array(0); // an indexed array of labels indexed by priority. This should be short. + this.label = function(name, priority) { + this.name = name; + this.priority = priority; + } + this.work = function(fn, self, args) { + this.fn = fn; + this.self = self; + this.args = args; + } + this.addLabel = function(name, priority) { + var idx = 0; + while (idx < scheduler.queues.length && scheduler.labels[idx].priority <= priority) { idx = idx + 1; } + scheduler.labels.splice(idx, 0, new scheduler.label(name, priority)); + scheduler.queues.splice(idx, 0, new Array(0)); + } + this.clearLabel = function(name) { + var idx = 0; + while (idx < scheduler.queues.length && scheduler.labels[idx].name != name) { idx = idx + 1; } + if (idx < scheduler.queues.length && scheduler.labels[i].name == name) { + scheduler.labels.splice(idx, 1); + scheduler.queues.splice(idx, 1); + } + } + this.nextWork = function() { + var fn = undefined; + var idx = 0; + while (idx < scheduler.queues.length && scheduler.queues[idx].length == 0) { idx = idx + 1; } + if (idx < scheduler.queues.length && scheduler.queues[idx].length > 0) { + var fn = scheduler.queues[idx].shift(); + } + return fn; + } + this.add = function(labelName, fn, self, args) { + var doWork = function() { + scheduler.timeout = setTimeout(function() { + var work = scheduler.nextWork(); + if (work != undefined) { + if (work.args == undefined) { work.args = new Array(0); } + work.fn.apply(work.self, work.args); + doWork(); + } + else { + scheduler.timeout = undefined; + } + }, resolution); + } + var idx = 0; + while (idx < scheduler.labels.length && scheduler.labels[idx].name != labelName) { idx = idx + 1; } + if (idx < scheduler.queues.length && scheduler.labels[idx].name == labelName) { + scheduler.queues[idx].push(new scheduler.work(fn, self, args)); + if (scheduler.timeout == undefined) doWork(); + } + else throw("queue for add is non existant"); + } + this.clear = function(labelName) { + var idx = 0; + while (idx < scheduler.labels.length && scheduler.labels[idx].name != labelName) { idx = idx + 1; } + if (idx < scheduler.queues.length && scheduler.labels[idx].name == labelName) { + scheduler.queues[idx] = new Array(); + } + } +}; http://git-wip-us.apache.org/repos/asf/incubator-livy-website/blob/60f4b974/site/docs/0.5.0-incubating/api/scala/lib/selected-implicits.png ---------------------------------------------------------------------- diff --git a/site/docs/0.5.0-incubating/api/scala/lib/selected-implicits.png b/site/docs/0.5.0-incubating/api/scala/lib/selected-implicits.png new file mode 100644 index 0000000..bc29efb Binary files /dev/null and b/site/docs/0.5.0-incubating/api/scala/lib/selected-implicits.png differ http://git-wip-us.apache.org/repos/asf/incubator-livy-website/blob/60f4b974/site/docs/0.5.0-incubating/api/scala/lib/selected-right-implicits.png ---------------------------------------------------------------------- diff --git a/site/docs/0.5.0-incubating/api/scala/lib/selected-right-implicits.png b/site/docs/0.5.0-incubating/api/scala/lib/selected-right-implicits.png new file mode 100644 index 0000000..8313f49 Binary files /dev/null and b/site/docs/0.5.0-incubating/api/scala/lib/selected-right-implicits.png differ http://git-wip-us.apache.org/repos/asf/incubator-livy-website/blob/60f4b974/site/docs/0.5.0-incubating/api/scala/lib/selected-right.png ---------------------------------------------------------------------- diff --git a/site/docs/0.5.0-incubating/api/scala/lib/selected-right.png b/site/docs/0.5.0-incubating/api/scala/lib/selected-right.png new file mode 100644 index 0000000..04eda2f Binary files /dev/null and b/site/docs/0.5.0-incubating/api/scala/lib/selected-right.png differ http://git-wip-us.apache.org/repos/asf/incubator-livy-website/blob/60f4b974/site/docs/0.5.0-incubating/api/scala/lib/selected.png ---------------------------------------------------------------------- diff --git a/site/docs/0.5.0-incubating/api/scala/lib/selected.png b/site/docs/0.5.0-incubating/api/scala/lib/selected.png new file mode 100644 index 0000000..c897652 Binary files /dev/null and b/site/docs/0.5.0-incubating/api/scala/lib/selected.png differ http://git-wip-us.apache.org/repos/asf/incubator-livy-website/blob/60f4b974/site/docs/0.5.0-incubating/api/scala/lib/selected2-right.png ---------------------------------------------------------------------- diff --git a/site/docs/0.5.0-incubating/api/scala/lib/selected2-right.png b/site/docs/0.5.0-incubating/api/scala/lib/selected2-right.png new file mode 100644 index 0000000..bf984ef Binary files /dev/null and b/site/docs/0.5.0-incubating/api/scala/lib/selected2-right.png differ http://git-wip-us.apache.org/repos/asf/incubator-livy-website/blob/60f4b974/site/docs/0.5.0-incubating/api/scala/lib/selected2.png ---------------------------------------------------------------------- diff --git a/site/docs/0.5.0-incubating/api/scala/lib/selected2.png b/site/docs/0.5.0-incubating/api/scala/lib/selected2.png new file mode 100644 index 0000000..a790bb1 Binary files /dev/null and b/site/docs/0.5.0-incubating/api/scala/lib/selected2.png differ http://git-wip-us.apache.org/repos/asf/incubator-livy-website/blob/60f4b974/site/docs/0.5.0-incubating/api/scala/lib/signaturebg.gif ---------------------------------------------------------------------- diff --git a/site/docs/0.5.0-incubating/api/scala/lib/signaturebg.gif b/site/docs/0.5.0-incubating/api/scala/lib/signaturebg.gif new file mode 100644 index 0000000..b6ac441 Binary files /dev/null and b/site/docs/0.5.0-incubating/api/scala/lib/signaturebg.gif differ http://git-wip-us.apache.org/repos/asf/incubator-livy-website/blob/60f4b974/site/docs/0.5.0-incubating/api/scala/lib/signaturebg2.gif ---------------------------------------------------------------------- diff --git a/site/docs/0.5.0-incubating/api/scala/lib/signaturebg2.gif b/site/docs/0.5.0-incubating/api/scala/lib/signaturebg2.gif new file mode 100644 index 0000000..9aae5ba Binary files /dev/null and b/site/docs/0.5.0-incubating/api/scala/lib/signaturebg2.gif differ http://git-wip-us.apache.org/repos/asf/incubator-livy-website/blob/60f4b974/site/docs/0.5.0-incubating/api/scala/lib/template.css ---------------------------------------------------------------------- diff --git a/site/docs/0.5.0-incubating/api/scala/lib/template.css b/site/docs/0.5.0-incubating/api/scala/lib/template.css new file mode 100644 index 0000000..e84d7c1 --- /dev/null +++ b/site/docs/0.5.0-incubating/api/scala/lib/template.css @@ -0,0 +1,893 @@ +/* Reset */ + +html, body, div, span, object, iframe, +h1, h2, h3, h4, h5, h6, p, blockquote, pre, +a, abbr, acronym, address, code, pre, +del, dfn, em, img, q, dl, dt, dd, ol, ul, li, +fieldset, form, label, legend, input, +table, caption, tbody, tfoot, thead, tr, th, td { + margin: 0; + padding: 0; + border: 0; + font-weight: inherit; + font-style: inherit; + font-size: 100%; + font-family: inherit; + vertical-align: baseline; +} + +table { border-collapse: separate; border-spacing: 0; } +caption, th, td { text-align: left; font-weight: normal; } +table, td, th { vertical-align: middle; } + +blockquote:before, blockquote:after, q:before, q:after { content: ""; } +blockquote, q { quotes: none; } + +a img { border: none; } + +input { border-width: 0px; } + +/* Page */ + +body { + font-family: Arial, sans-serif; + font-size: 10pt; +} + +#footer { + font-size: 9pt; + text-align: center; + color: #858484; + bottom: 0; + width: 100%; + height: 20px; +} + +a[href] { + text-decoration: underline; + color: #315479; +} + +a[href]:hover { + text-decoration: none; +} + +#types ol li > p { + margin-top: 5px; +} + +#types ol li:last-child { + margin-bottom: 5px; +} + +/* +#definition { + padding: 6px 0 6px 6px; + min-height: 59px; + color: white; +} +*/ + +#definition { + display: block-inline; + padding: 5px 0px; + height: 61px; +} + +#definition > img { + float: left; + padding-right: 6px; + padding-left: 5px; +} + +#definition > a > img { + float: left; + padding-right: 6px; + padding-left: 5px; +} + +#definition p + h1 { + margin-top: 3px; +} + +#definition > h1 { +/* padding: 12px 0 12px 6px;*/ + color: white; + text-shadow: 3px black; + text-shadow: black 0px 2px 0px; + font-size: 24pt; + display: inline-block; + overflow: hidden; + margin-top: 10px; +} + +#definition h1 > a { + color: #ffffff; + font-size: 24pt; + text-shadow: black 0px 2px 0px; +/* text-shadow: black 0px 0px 0px;*/ +text-decoration: none; +} + +#definition #owner { + color: #ffffff; + margin-top: 4px; + font-size: 10pt; + overflow: hidden; +} + +#definition #owner > a { + color: #ffffff; +} + +#definition #owner > a:hover { + text-decoration: none; +} + +#signature { + background-image:url('signaturebg2.gif'); + background-color: #d7d7d7; + min-height: 18px; + background-repeat:repeat-x; + font-size: 11.5pt; +/* margin-bottom: 10px;*/ + padding: 8px; +} + +#signature > span.modifier_kind { + display: inline; + float: left; + text-align: left; + width: auto; + position: static; + text-shadow: 2px white; + text-shadow: white 0px 1px 0px; +} + +#signature > span.symbol { + text-align: left; + display: inline; + padding-left: 0.7em; + text-shadow: 2px white; + text-shadow: white 0px 1px 0px; +} + +/* Linear super types and known subclasses */ +.hiddenContent { + display: none; +} + +.toggleContainer .toggle { + cursor: pointer; + padding-left: 15px; + background: url("arrow-right.png") no-repeat 0 3px transparent; +} + +.toggleContainer .toggle.open { + background: url("arrow-down.png") no-repeat 0 3px transparent; +} + +.toggleContainer .hiddenContent { + margin-top: 5px; +} + +.value #definition { + background-color: #2C475C; /* blue */ + background-image:url('defbg-blue.gif'); + background-repeat:repeat-x; +} + +.type #definition { + background-color: #316555; /* green */ + background-image:url('defbg-green.gif'); + background-repeat:repeat-x; +} + +#template { + margin-bottom: 50px; +} + +h3 { + color: white; + padding: 5px 10px; + font-size: 12pt; + font-weight: bold; + text-shadow: black 1px 1px 0px; +} + +dl.attributes > dt { + display: block; + float: left; + font-style: italic; +} + +dl.attributes > dt.implicit { + font-weight: bold; + color: darkgreen; +} + +dl.attributes > dd { + display: block; + padding-left: 10em; + margin-bottom: 5px; + min-height: 15px; +} + +#template .values > h3 { + background: #2C475C url("valuemembersbg.gif") repeat-x bottom left; /* grayish blue */ + height: 18px; +} + +#values ol li:last-child { + margin-bottom: 5px; +} + +#template .types > h3 { + background: #316555 url("typebg.gif") repeat-x bottom left; /* green */ + height: 18px; +} + +#constructors > h3 { + background: #4f504f url("constructorsbg.gif") repeat-x bottom left; /* gray */ + height: 18px; +} + +#inheritedMembers > div.parent > h3 { + background: #dadada url("constructorsbg.gif") repeat-x bottom left; /* gray */ + height: 17px; + font-style: italic; + font-size: 12pt; +} + +#inheritedMembers > div.parent > h3 * { + color: white; +} + +#inheritedMembers > div.conversion > h3 { + background: #dadada url("conversionbg.gif") repeat-x bottom left; /* gray */ + height: 17px; + font-style: italic; + font-size: 12pt; +} + +#inheritedMembers > div.conversion > h3 * { + color: white; +} + +#groupedMembers > div.group > h3 { + background: #dadada url("typebg.gif") repeat-x bottom left; /* green */ + height: 17px; + font-size: 12pt; +} + +#groupedMembers > div.group > h3 * { + color: white; +} + + +/* Member cells */ + +div.members > ol { + background-color: white; + list-style: none +} + +div.members > ol > li { + display: block; + border-bottom: 1px solid gray; + padding: 5px 0 6px; + margin: 0 10px; + position: relative; +} + +div.members > ol > li:last-child { + border: 0; + padding: 5px 0 5px; +} + +/* Member signatures */ + +#tooltip { + background: #EFD5B5; + border: 1px solid gray; + color: black; + display: none; + padding: 5px; + position: absolute; +} + +.signature { + font-family: monospace; + font-size: 10pt; + line-height: 18px; + clear: both; + display: block; + text-shadow: 2px white; + text-shadow: white 0px 1px 0px; +} + +.signature .modifier_kind { + position: absolute; + text-align: right; + width: 14em; +} + +.signature > a > .symbol > .name { + text-decoration: underline; +} + +.signature > a:hover > .symbol > .name { + text-decoration: none; +} + +.signature > a { + text-decoration: none; +} + +.signature > .symbol { + display: block; + padding-left: 14.7em; +} + +.signature .name { + display: inline-block; + font-weight: bold; +} + +.signature .symbol > .implicit { + display: inline-block; + font-weight: bold; + text-decoration: underline; + color: darkgreen; +} + +.signature .symbol .shadowed { + color: darkseagreen; +} + +.signature .symbol .params > .implicit { + font-style: italic; +} + +.signature .symbol .deprecated { + text-decoration: line-through; +} + +.signature .symbol .params .default { + font-style: italic; +} + +#template .signature.closed { + background: url("arrow-right.png") no-repeat 0 5px transparent; + cursor: pointer; +} + +#template .signature.opened { + background: url("arrow-down.png") no-repeat 0 5px transparent; + cursor: pointer; +} + +#template .values .signature .name { + color: darkblue; +} + +#template .types .signature .name { + color: darkgreen; +} + +.full-signature-usecase h4 span { + font-size: 10pt; +} + +.full-signature-usecase > #signature { + padding-top: 0px; +} + +#template .full-signature-usecase > .signature.closed { + background: none; +} + +#template .full-signature-usecase > .signature.opened { + background: none; +} + +.full-signature-block { + padding: 5px 0 0; + border-top: 1px solid #EBEBEB; + margin-top: 5px; + margin-bottom: 5px; +} + +#definition .morelinks { + text-align: right; + position: absolute; + top: 40px; + right: 10px; + width: 450px; +} + +#definition .morelinks a { + color: #EBEBEB; +} + +#template .members li .permalink { + position: absolute; + top: 5px; + right: 5px; +} + +#definition .permalink { + position: absolute; + top: 10px; + right: 15px; +} + +#definition .permalink a { + color: #EBEBEB; +} + +#template .members li .permalink, +#definition .permalink a { + display: none; +} + +#template .members li:hover .permalink, +#definition:hover .permalink a { + display: block; +} + +#template .members li .permalink a, +#definition .permalink a { + text-decoration: none; + font-weight: bold; +} + +/* Comments text formating */ + +.cmt {} + +.cmt p { + margin: 0.7em 0; +} + +.cmt p:first-child { + margin-top: 0; +} + +.cmt p:last-child { + margin-bottom: 0; +} + +.cmt h3, +.cmt h4, +.cmt h5, +.cmt h6 { + margin-bottom: 0.7em; + margin-top: 1.4em; + display: block; + text-align: left; + font-weight: bold; +} + +.cmt h3 { + font-size: 14pt; +} + +.cmt h4 { + font-size: 13pt; +} + +.cmt h5 { + font-size: 12pt; +} + +.cmt h6 { + font-size: 11pt; +} + +.cmt pre { + padding: 5px; + border: 1px solid #ddd; + background-color: #eee; + margin: 5px 0; + display: block; + font-family: monospace; +} + +.cmt pre span.ano { + color: blue; +} + +.cmt pre span.cmt { + color: green; +} + +.cmt pre span.kw { + font-weight: bold; +} + +.cmt pre span.lit { + color: #c71585; +} + +.cmt pre span.num { + color: #1e90ff; /* dodgerblue */ +} + +.cmt pre span.std { + color: #008080; /* teal */ +} + +.cmt ul { + display: block; + list-style: circle; + padding-left: 20px; +} + +.cmt ol { + display: block; + padding-left:20px; +} + +.cmt ol.decimal { + list-style: decimal; +} + +.cmt ol.lowerAlpha { + list-style: lower-alpha; +} + +.cmt ol.upperAlpha { + list-style: upper-alpha; +} + +.cmt ol.lowerRoman { + list-style: lower-roman; +} + +.cmt ol.upperRoman { + list-style: upper-roman; +} + +.cmt li { + display: list-item; +} + +.cmt code { + font-family: monospace; +} + +.cmt a { + font-style: bold; +} + +.cmt em, .cmt i { + font-style: italic; +} + +.cmt strong, .cmt b { + font-weight: bold; +} + +/* Comments structured layout */ + +.group > div.comment { + padding-top: 5px; + padding-bottom: 5px; + padding-right: 5px; + padding-left: 5px; + border: 1px solid #ddd; + background-color: #eeeee; + margin-top:5px; + margin-bottom:5px; + margin-right:5px; + margin-left:5px; + display: block; +} + +p.comment { + display: block; + margin-left: 14.7em; + margin-top: 5px; +} + +.shortcomment { + display: block; + margin: 5px 10px; +} + +div.fullcommenttop { + padding: 10px 10px; + background-image:url('fullcommenttopbg.gif'); + background-repeat:repeat-x; +} + +div.fullcomment { + margin: 5px 10px; +} + +#template div.fullcommenttop, +#template div.fullcomment { + display:none; + margin: 5px 0 0 14.7em; +} + +#template .shortcomment { + margin: 5px 0 0 14.7em; + padding: 0; +} + +div.fullcomment .block { + padding: 5px 0 0; + border-top: 1px solid #EBEBEB; + margin-top: 5px; + overflow: hidden; +} + +div.fullcommenttop .block { + padding: 5px 0 0; + border-top: 1px solid #EBEBEB; + margin-top: 5px; + margin-bottom: 5px +} + +div.fullcomment div.block ol li p, +div.fullcomment div.block ol li { + display:inline +} + +div.fullcomment .block > h5 { + font-style: italic; + font-weight: normal; + display: inline-block; +} + +div.fullcomment .comment { + margin: 5px 0 10px; +} + +div.fullcommenttop .comment:last-child, +div.fullcomment .comment:last-child { + margin-bottom: 0; +} + +div.fullcommenttop dl.paramcmts { + margin-bottom: 0.8em; + padding-bottom: 0.8em; +} + +div.fullcommenttop dl.paramcmts > dt, +div.fullcomment dl.paramcmts > dt { + display: block; + float: left; + font-weight: bold; + min-width: 70px; +} + +div.fullcommenttop dl.paramcmts > dd, +div.fullcomment dl.paramcmts > dd { + display: block; + padding-left: 10px; + margin-bottom: 5px; + margin-left: 70px; + min-height: 15px; +} + +/* Members filter tool */ + +#textfilter { + position: relative; + display: block; + height: 20px; + margin-bottom: 5px; +} + +#textfilter > .pre { + display: block; + position: absolute; + top: 0; + left: 0; + height: 23px; + width: 21px; + background: url("filter_box_left.png"); +} + +#textfilter > .input { + display: block; + position: absolute; + top: 0; + right: 20px; + left: 20px; +} + +#textfilter > .input > input { + height: 20px; + padding: 1px; + font-weight: bold; + color: #000000; + background: #ffffff url("filterboxbarbg.png") repeat-x top left; + width: 100%; +} + +#textfilter > .post { + display: block; + position: absolute; + top: 0; + right: 0; + height: 23px; + width: 21px; + background: url("filter_box_right.png"); +} + +#mbrsel { + padding: 5px 10px; + background-color: #ededee; /* light gray */ + background-image:url('filterboxbg.gif'); + background-repeat:repeat-x; + font-size: 9.5pt; + display: block; + margin-top: 1em; +/* margin-bottom: 1em; */ +} + +#mbrsel > div { + margin-bottom: 5px; +} + +#mbrsel > div:last-child { + margin-bottom: 0; +} + +#mbrsel > div > span.filtertype { + padding: 4px; + margin-right: 5px; + float: left; + display: inline-block; + color: #000000; + font-weight: bold; + text-shadow: white 0px 1px 0px; + width: 4.5em; +} + +#mbrsel > div > ol { + display: inline-block; +} + +#mbrsel > div > a { + position:relative; + top: -8px; + font-size: 11px; + text-shadow: #ffffff 0 1px 0; +} + +#mbrsel > div > ol#linearization { + display: table; + margin-left: 70px; +} + +#mbrsel > div > ol#linearization > li.in { + text-decoration: none; + float: left; + padding-right: 10px; + margin-right: 5px; + background: url(selected-right.png) no-repeat; + background-position: right 0px; +} + +#mbrsel > div > ol#linearization > li.in > span{ + color: #404040; + float: left; + padding: 1px 0 1px 10px; + background: url(selected.png) no-repeat; + background-position: 0px 0px; + text-shadow: #ffffff 0 1px 0; +} + +#mbrsel > div > ol#implicits { + display: table; + margin-left: 70px; +} + +#mbrsel > div > ol#implicits > li.in { + text-decoration: none; + float: left; + padding-right: 10px; + margin-right: 5px; + background: url(selected-right-implicits.png) no-repeat; + background-position: right 0px; +} + +#mbrsel > div > ol#implicits > li.in > span{ + color: #404040; + float: left; + padding: 1px 0 1px 10px; + background: url(selected-implicits.png) no-repeat; + background-position: 0px 0px; + text-shadow: #ffffff 0 1px 0; +} + +#mbrsel > div > ol > li { +/* padding: 3px 10px;*/ + line-height: 16pt; + display: inline-block; + cursor: pointer; +} + +#mbrsel > div > ol > li.in { + text-decoration: none; + float: left; + padding-right: 10px; + margin-right: 5px; + background: url(selected-right.png) no-repeat; + background-position: right 0px; +} + +#mbrsel > div > ol > li.in > span{ + color: #404040; + float: left; + padding: 1px 0 1px 10px; + background: url(selected.png) no-repeat; + background-position: 0px 0px; + text-shadow: #ffffff 0 1px 0; +} + +#mbrsel > div > ol > li.out { + text-decoration: none; + float: left; + padding-right: 10px; + margin-right: 5px; +} + +#mbrsel > div > ol > li.out > span{ + color: #747474; +/* background-color: #999; */ + float: left; + padding: 1px 0 1px 10px; +/* background: url(unselected.png) no-repeat;*/ + background-position: 0px -1px; + text-shadow: #ffffff 0 1px 0; +} +/* +#mbrsel .hideall { + color: #4C4C4C; + line-height: 16px; + font-weight: bold; +} + +#mbrsel .hideall span { + color: #4C4C4C; + font-weight: bold; +} + +#mbrsel .showall { + color: #4C4C4C; + line-height: 16px; + font-weight: bold; +} + +#mbrsel .showall span { + color: #4C4C4C; + font-weight: bold; +}*/ + +.badge { + display: inline-block; + padding: 2px 4px; + font-size: 11.844px; + font-weight: bold; + line-height: 14px; + color: #ffffff; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); + white-space: nowrap; + vertical-align: baseline; + background-color: #999999; + padding-right: 9px; + padding-left: 9px; + -webkit-border-radius: 9px; + -moz-border-radius: 9px; + border-radius: 9px; +} + +.badge-red { + background-color: #b94a48; +} http://git-wip-us.apache.org/repos/asf/incubator-livy-website/blob/60f4b974/site/docs/0.5.0-incubating/api/scala/lib/template.js ---------------------------------------------------------------------- diff --git a/site/docs/0.5.0-incubating/api/scala/lib/template.js b/site/docs/0.5.0-incubating/api/scala/lib/template.js new file mode 100644 index 0000000..798a2d4 --- /dev/null +++ b/site/docs/0.5.0-incubating/api/scala/lib/template.js @@ -0,0 +1,500 @@ +// © 2009â2010 EPFL/LAMP +// code by Gilles Dubochet with contributions by Pedro Furlanetto and Marcin Kubala + +$(document).ready(function(){ + + var controls = { + visibility: { + publicOnly: $("#visbl").find("> ol > li.public"), + all: $("#visbl").find("> ol > li.all") + } + }; + + // Escapes special characters and returns a valid jQuery selector + function escapeJquery(str){ + return str.replace(/([;&,\.\+\*\~':"\!\^#$%@\[\]\(\)=<>\|])/g, '\\$1'); + } + + function toggleVisibilityFilter(ctrlToEnable, ctrToDisable) { + if (ctrlToEnable.hasClass("out")) { + ctrlToEnable.removeClass("out").addClass("in"); + ctrToDisable.removeClass("in").addClass("out"); + filter(); + } + } + + controls.visibility.publicOnly.click(function () { + toggleVisibilityFilter(controls.visibility.publicOnly, controls.visibility.all); + }); + + controls.visibility.all.click(function () { + toggleVisibilityFilter(controls.visibility.all, controls.visibility.publicOnly); + }); + + function exposeMember(jqElem) { + var jqElemParent = jqElem.parent(), + parentName = jqElemParent.attr("name"), + linearizationName = /^([^#]*)(#.*)?$/gi.exec(parentName)[1]; + + // switch visibility filter if necessary + if (jqElemParent.attr("visbl") == "prt") { + toggleVisibilityFilter(controls.visibility.all, controls.visibility.publicOnly); + } + + // toggle appropriate linearization buttons + if (linearizationName) { + $("#linearization li.out[name='" + linearizationName + "']").removeClass("out").addClass("in"); + } + + filter(); + window.scrollTo(0, 0); + jqElemParent.effect("highlight", {color: "#FFCC85"}, 3000); + $('html,body').animate({scrollTop: jqElemParent.offset().top}, 1000); + } + + var isHiddenClass = function (name) { + return name == 'scala.Any' || + name == 'scala.AnyRef'; + }; + + var isHidden = function (elem) { + return $(elem).attr("data-hidden") == 'true'; + }; + + $("#linearization li:gt(0)").filter(function(){ + return isHiddenClass($(this).attr("name")); + }).removeClass("in").addClass("out"); + + $("#implicits li").filter(function(){ + return isHidden(this); + }).removeClass("in").addClass("out"); + + // Pre-filter members + filter(); + + // Member filter box + var input = $("#textfilter input"); + input.bind("keyup", function(event) { + + switch ( event.keyCode ) { + + case 27: // escape key + input.val(""); + filter(true); + break; + + case 38: // up + input.val(""); + filter(false); + window.scrollTo(0, $("body").offset().top); + input.focus(); + break; + + case 33: //page up + input.val(""); + filter(false); + break; + + case 34: //page down + input.val(""); + filter(false); + break; + + default: + window.scrollTo(0, $("#mbrsel").offset().top); + filter(true); + break; + + } + }); + input.focus(function(event) { + input.select(); + }); + $("#textfilter > .post").click(function() { + $("#textfilter input").attr("value", ""); + filter(); + }); + $(document).keydown(function(event) { + + if (event.keyCode == 9) { // tab + $("#index-input", window.parent.document).focus(); + input.attr("value", ""); + return false; + } + }); + + $("#linearization li").click(function(){ + if ($(this).hasClass("in")) { + $(this).removeClass("in"); + $(this).addClass("out"); + } + else if ($(this).hasClass("out")) { + $(this).removeClass("out"); + $(this).addClass("in"); + } + filter(); + }); + + $("#implicits li").click(function(){ + if ($(this).hasClass("in")) { + $(this).removeClass("in"); + $(this).addClass("out"); + } + else if ($(this).hasClass("out")) { + $(this).removeClass("out"); + $(this).addClass("in"); + } + filter(); + }); + + $("#mbrsel > div[id=ancestors] > ol > li.hideall").click(function() { + $("#linearization li.in").removeClass("in").addClass("out"); + $("#linearization li:first").removeClass("out").addClass("in"); + $("#implicits li.in").removeClass("in").addClass("out"); + + if ($(this).hasClass("out") && $("#mbrsel > div[id=ancestors] > ol > li.showall").hasClass("in")) { + $(this).removeClass("out").addClass("in"); + $("#mbrsel > div[id=ancestors] > ol > li.showall").removeClass("in").addClass("out"); + } + + filter(); + }) + $("#mbrsel > div[id=ancestors] > ol > li.showall").click(function() { + var filteredLinearization = + $("#linearization li.out").filter(function() { + return ! isHiddenClass($(this).attr("name")); + }); + filteredLinearization.removeClass("out").addClass("in"); + + var filteredImplicits = + $("#implicits li.out").filter(function() { + return ! isHidden(this); + }); + filteredImplicits.removeClass("out").addClass("in"); + + if ($(this).hasClass("out") && $("#mbrsel > div[id=ancestors] > ol > li.hideall").hasClass("in")) { + $(this).removeClass("out").addClass("in"); + $("#mbrsel > div[id=ancestors] > ol > li.hideall").removeClass("in").addClass("out"); + } + + filter(); + }); + $("#order > ol > li.alpha").click(function() { + if ($(this).hasClass("out")) { + orderAlpha(); + } + }) + $("#order > ol > li.inherit").click(function() { + if ($(this).hasClass("out")) { + orderInherit(); + } + }); + $("#order > ol > li.group").click(function() { + if ($(this).hasClass("out")) { + orderGroup(); + } + }); + $("#groupedMembers").hide(); + + initInherit(); + + // Create tooltips + $(".extype").add(".defval").tooltip({ + tip: "#tooltip", + position: "top center", + predelay: 500, + onBeforeShow: function(ev) { + $(this.getTip()).text(this.getTrigger().attr("name")); + } + }); + + /* Add toggle arrows */ + //var docAllSigs = $("#template li").has(".fullcomment").find(".signature"); + // trying to speed things up a little bit + var docAllSigs = $("#template li[fullComment=yes] .signature"); + + function commentToggleFct(signature){ + var parent = signature.parent(); + var shortComment = $(".shortcomment", parent); + var fullComment = $(".fullcomment", parent); + var vis = $(":visible", fullComment); + signature.toggleClass("closed").toggleClass("opened"); + if (vis.length > 0) { + shortComment.slideDown(100); + fullComment.slideUp(100); + } + else { + shortComment.slideUp(100); + fullComment.slideDown(100); + } + }; + docAllSigs.addClass("closed"); + docAllSigs.click(function() { + commentToggleFct($(this)); + }); + + /* Linear super types and known subclasses */ + function toggleShowContentFct(e){ + e.toggleClass("open"); + var content = $(".hiddenContent", e.parent().get(0)); + if (content.is(':visible')) { + content.slideUp(100); + } + else { + content.slideDown(100); + } + }; + + $(".toggle:not(.diagram-link)").click(function() { + toggleShowContentFct($(this)); + }); + + // Set parent window title + windowTitle(); + + if ($("#order > ol > li.group").length == 1) { orderGroup(); }; + + function findElementByHash(locationHash) { + var temp = locationHash.replace('#', ''); + var memberSelector = '#' + escapeJquery(temp); + return $(memberSelector); + } + + // highlight and jump to selected member + if (window.location.hash) { + var jqElem = findElementByHash(window.location.hash); + if (jqElem.length > 0) { + exposeMember(jqElem); + } + } +}); + +function orderAlpha() { + $("#order > ol > li.alpha").removeClass("out").addClass("in"); + $("#order > ol > li.inherit").removeClass("in").addClass("out"); + $("#order > ol > li.group").removeClass("in").addClass("out"); + $("#template > div.parent").hide(); + $("#template > div.conversion").hide(); + $("#mbrsel > div[id=ancestors]").show(); + filter(); +}; + +function orderInherit() { + $("#order > ol > li.inherit").removeClass("out").addClass("in"); + $("#order > ol > li.alpha").removeClass("in").addClass("out"); + $("#order > ol > li.group").removeClass("in").addClass("out"); + $("#template > div.parent").show(); + $("#template > div.conversion").show(); + $("#mbrsel > div[id=ancestors]").hide(); + filter(); +}; + +function orderGroup() { + $("#order > ol > li.group").removeClass("out").addClass("in"); + $("#order > ol > li.alpha").removeClass("in").addClass("out"); + $("#order > ol > li.inherit").removeClass("in").addClass("out"); + $("#template > div.parent").hide(); + $("#template > div.conversion").hide(); + $("#mbrsel > div[id=ancestors]").show(); + filter(); +}; + +/** Prepares the DOM for inheritance-based display. To do so it will: + * - hide all statically-generated parents headings; + * - copy all members from the value and type members lists (flat members) to corresponding lists nested below the + * parent headings (inheritance-grouped members); + * - initialises a control variable used by the filter method to control whether filtering happens on flat members + * or on inheritance-grouped members. */ +function initInherit() { + // inheritParents is a map from fully-qualified names to the DOM node of parent headings. + var inheritParents = new Object(); + var groupParents = new Object(); + $("#inheritedMembers > div.parent").each(function(){ + inheritParents[$(this).attr("name")] = $(this); + }); + $("#inheritedMembers > div.conversion").each(function(){ + inheritParents[$(this).attr("name")] = $(this); + }); + $("#groupedMembers > div.group").each(function(){ + groupParents[$(this).attr("name")] = $(this); + }); + + $("#types > ol > li").each(function(){ + var mbr = $(this); + this.mbrText = mbr.find("> .fullcomment .cmt").text(); + var qualName = mbr.attr("name"); + var owner = qualName.slice(0, qualName.indexOf("#")); + var name = qualName.slice(qualName.indexOf("#") + 1); + var inheritParent = inheritParents[owner]; + if (inheritParent != undefined) { + var types = $("> .types > ol", inheritParent); + if (types.length == 0) { + inheritParent.append("<div class='types members'><h3>Type Members</h3><ol></ol></div>"); + types = $("> .types > ol", inheritParent); + } + var clone = mbr.clone(); + clone[0].mbrText = this.mbrText; + types.append(clone); + } + var group = mbr.attr("group") + var groupParent = groupParents[group]; + if (groupParent != undefined) { + var types = $("> .types > ol", groupParent); + if (types.length == 0) { + groupParent.append("<div class='types members'><ol></ol></div>"); + types = $("> .types > ol", groupParent); + } + var clone = mbr.clone(); + clone[0].mbrText = this.mbrText; + types.append(clone); + } + }); + + $("#values > ol > li").each(function(){ + var mbr = $(this); + this.mbrText = mbr.find("> .fullcomment .cmt").text(); + var qualName = mbr.attr("name"); + var owner = qualName.slice(0, qualName.indexOf("#")); + var name = qualName.slice(qualName.indexOf("#") + 1); + var inheritParent = inheritParents[owner]; + if (inheritParent != undefined) { + var values = $("> .values > ol", inheritParent); + if (values.length == 0) { + inheritParent.append("<div class='values members'><h3>Value Members</h3><ol></ol></div>"); + values = $("> .values > ol", inheritParent); + } + var clone = mbr.clone(); + clone[0].mbrText = this.mbrText; + values.append(clone); + } + var group = mbr.attr("group") + var groupParent = groupParents[group]; + if (groupParent != undefined) { + var values = $("> .values > ol", groupParent); + if (values.length == 0) { + groupParent.append("<div class='values members'><ol></ol></div>"); + values = $("> .values > ol", groupParent); + } + var clone = mbr.clone(); + clone[0].mbrText = this.mbrText; + values.append(clone); + } + }); + $("#inheritedMembers > div.parent").each(function() { + if ($("> div.members", this).length == 0) { $(this).remove(); }; + }); + $("#inheritedMembers > div.conversion").each(function() { + if ($("> div.members", this).length == 0) { $(this).remove(); }; + }); + $("#groupedMembers > div.group").each(function() { + if ($("> div.members", this).length == 0) { $(this).remove(); }; + }); +}; + +/* filter used to take boolean scrollToMember */ +function filter() { + var query = $.trim($("#textfilter input").val()).toLowerCase(); + query = query.replace(/[-[\]{}()*+?.,\\^$|#]/g, "\\$&").replace(/\s+/g, "|"); + var queryRegExp = new RegExp(query, "i"); + var privateMembersHidden = $("#visbl > ol > li.public").hasClass("in"); + var orderingAlphabetic = $("#order > ol > li.alpha").hasClass("in"); + var orderingInheritance = $("#order > ol > li.inherit").hasClass("in"); + var orderingGroups = $("#order > ol > li.group").hasClass("in"); + var hiddenSuperclassElementsLinearization = orderingInheritance ? $("#linearization > li:gt(0)") : $("#linearization > li.out"); + var hiddenSuperclassesLinearization = hiddenSuperclassElementsLinearization.map(function() { + return $(this).attr("name"); + }).get(); + var hiddenSuperclassElementsImplicits = orderingInheritance ? $("#implicits > li") : $("#implicits > li.out"); + var hiddenSuperclassesImplicits = hiddenSuperclassElementsImplicits.map(function() { + return $(this).attr("name"); + }).get(); + + var hideInheritedMembers; + + if (orderingAlphabetic) { + $("#allMembers").show(); + $("#inheritedMembers").hide(); + $("#groupedMembers").hide(); + hideInheritedMembers = true; + $("#allMembers > .members").each(filterFunc); + } else if (orderingGroups) { + $("#groupedMembers").show(); + $("#inheritedMembers").hide(); + $("#allMembers").hide(); + hideInheritedMembers = true; + $("#groupedMembers > .group > .members").each(filterFunc); + $("#groupedMembers > div.group").each(function() { + $(this).show(); + if ($("> div.members", this).not(":hidden").length == 0) { + $(this).hide(); + } else { + $(this).show(); + } + }); + } else if (orderingInheritance) { + $("#inheritedMembers").show(); + $("#groupedMembers").hide(); + $("#allMembers").hide(); + hideInheritedMembers = false; + $("#inheritedMembers > .parent > .members").each(filterFunc); + $("#inheritedMembers > .conversion > .members").each(filterFunc); + } + + + function filterFunc() { + var membersVisible = false; + var members = $(this); + members.find("> ol > li").each(function() { + var mbr = $(this); + if (privateMembersHidden && mbr.attr("visbl") == "prt") { + mbr.hide(); + return; + } + var name = mbr.attr("name"); + // Owner filtering must not happen in "inherited from" member lists + if (hideInheritedMembers) { + var ownerIndex = name.indexOf("#"); + if (ownerIndex < 0) { + ownerIndex = name.lastIndexOf("."); + } + var owner = name.slice(0, ownerIndex); + for (var i = 0; i < hiddenSuperclassesLinearization.length; i++) { + if (hiddenSuperclassesLinearization[i] == owner) { + mbr.hide(); + return; + } + }; + for (var i = 0; i < hiddenSuperclassesImplicits.length; i++) { + if (hiddenSuperclassesImplicits[i] == owner) { + mbr.hide(); + return; + } + }; + } + if (query && !(queryRegExp.test(name) || queryRegExp.test(this.mbrText))) { + mbr.hide(); + return; + } + mbr.show(); + membersVisible = true; + }); + + if (membersVisible) + members.show(); + else + members.hide(); + }; + + return false; +}; + +function windowTitle() +{ + try { + parent.document.title=document.title; + } + catch(e) { + // Chrome doesn't allow settings the parent's title when + // used on the local file system. + } +}; http://git-wip-us.apache.org/repos/asf/incubator-livy-website/blob/60f4b974/site/docs/0.5.0-incubating/api/scala/lib/tools.tooltip.js ---------------------------------------------------------------------- diff --git a/site/docs/0.5.0-incubating/api/scala/lib/tools.tooltip.js b/site/docs/0.5.0-incubating/api/scala/lib/tools.tooltip.js new file mode 100644 index 0000000..0af34ec --- /dev/null +++ b/site/docs/0.5.0-incubating/api/scala/lib/tools.tooltip.js @@ -0,0 +1,14 @@ +/* + * tools.tooltip 1.1.3 - Tooltips done right. + * + * Copyright (c) 2009 Tero Piirainen + * http://flowplayer.org/tools/tooltip.html + * + * Dual licensed under MIT and GPL 2+ licenses + * http://www.opensource.org/licenses + * + * Launch : November 2008 + * Date: ${date} + * Revision: ${revision} + */ +(function(c){var d=[];c.tools=c.tools||{};c.tools.tooltip={version:"1.1.3",conf:{effect:"toggle",fadeOutSpeed:"fast",tip:null,predelay:0,delay:30,opacity:1,lazy:undefined,position:["top","center"],offset:[0,0],cancelDefault:true,relative:false,oneInstance:true,events:{def:"mouseover,mouseout",input:"focus,blur",widget:"focus mouseover,blur mouseout",tooltip:"mouseover,mouseout"},api:false},addEffect:function(e,g,f){b[e]=[g,f]}};var b={toggle:[function(e){var f=this.getConf(),g=this.getTip(),h=f.opacity;if(h<1){g.css({opacity:h})}g.show();e.call()},function(e){this.getTip().hide();e.call()}],fade:[function(e){this.getTip().fadeIn(this.getConf().fadeInSpeed,e)},function(e){this.getTip().fadeOut(this.getConf().fadeOutSpeed,e)}]};function a(f,g){var p=this,k=c(this);f.data("tooltip",p);var l=f.next();if(g.tip){l=c(g.tip);if(l.length>1){l=f.nextAll(g.tip).eq(0);if(!l.length){l=f.parent().nextAll(g.tip).eq(0)}}}function o(u){var t=g.relative?f.position().top:f.offset().top,s=g.relative?f. position().left:f.offset().left,v=g.position[0];t-=l.outerHeight()-g.offset[0];s+=f.outerWidth()+g.offset[1];var q=l.outerHeight()+f.outerHeight();if(v=="center"){t+=q/2}if(v=="bottom"){t+=q}v=g.position[1];var r=l.outerWidth()+f.outerWidth();if(v=="center"){s-=r/2}if(v=="left"){s-=r}return{top:t,left:s}}var i=f.is(":input"),e=i&&f.is(":checkbox, :radio, select, :button"),h=f.attr("type"),n=g.events[h]||g.events[i?(e?"widget":"input"):"def"];n=n.split(/,\s*/);if(n.length!=2){throw"Tooltip: bad events configuration for "+h}f.bind(n[0],function(r){if(g.oneInstance){c.each(d,function(){this.hide()})}var q=l.data("trigger");if(q&&q[0]!=this){l.hide().stop(true,true)}r.target=this;p.show(r);n=g.events.tooltip.split(/,\s*/);l.bind(n[0],function(){p.show(r)});if(n[1]){l.bind(n[1],function(){p.hide(r)})}});f.bind(n[1],function(q){p.hide(q)});if(!c.browser.msie&&!i&&!g.predelay){f.mousemove(function(){if(!p.isShown()){f.triggerHandler("mouseover")}})}if(g.opacity<1){l.css("opacity",g.opacity )}var m=0,j=f.attr("title");if(j&&g.cancelDefault){f.removeAttr("title");f.data("title",j)}c.extend(p,{show:function(r){if(r){f=c(r.target)}clearTimeout(l.data("timer"));if(l.is(":animated")||l.is(":visible")){return p}function q(){l.data("trigger",f);var t=o(r);if(g.tip&&j){l.html(f.data("title"))}r=r||c.Event();r.type="onBeforeShow";k.trigger(r,[t]);if(r.isDefaultPrevented()){return p}t=o(r);l.css({position:"absolute",top:t.top,left:t.left});var s=b[g.effect];if(!s){throw'Nonexistent effect "'+g.effect+'"'}s[0].call(p,function(){r.type="onShow";k.trigger(r)})}if(g.predelay){clearTimeout(m);m=setTimeout(q,g.predelay)}else{q()}return p},hide:function(r){clearTimeout(l.data("timer"));clearTimeout(m);if(!l.is(":visible")){return}function q(){r=r||c.Event();r.type="onBeforeHide";k.trigger(r);if(r.isDefaultPrevented()){return}b[g.effect][1].call(p,function(){r.type="onHide";k.trigger(r)})}if(g.delay&&r){l.data("timer",setTimeout(q,g.delay))}else{q()}return p},isShown:function(){return l .is(":visible, :animated")},getConf:function(){return g},getTip:function(){return l},getTrigger:function(){return f},bind:function(q,r){k.bind(q,r);return p},onHide:function(q){return this.bind("onHide",q)},onBeforeShow:function(q){return this.bind("onBeforeShow",q)},onShow:function(q){return this.bind("onShow",q)},onBeforeHide:function(q){return this.bind("onBeforeHide",q)},unbind:function(q){k.unbind(q);return p}});c.each(g,function(q,r){if(c.isFunction(r)){p.bind(q,r)}})}c.prototype.tooltip=function(e){var f=this.eq(typeof e=="number"?e:0).data("tooltip");if(f){return f}var g=c.extend(true,{},c.tools.tooltip.conf);if(c.isFunction(e)){e={onBeforeShow:e}}else{if(typeof e=="string"){e={tip:e}}}e=c.extend(true,g,e);if(typeof e.position=="string"){e.position=e.position.split(/,?\s/)}if(e.lazy!==false&&(e.lazy===true||this.length>20)){this.one("mouseover",function(h){f=new a(c(this),e);f.show(h);d.push(f)})}else{this.each(function(){f=new a(c(this),e);d.push(f)})}return e.api?f:this}}) (jQuery); \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-livy-website/blob/60f4b974/site/docs/0.5.0-incubating/api/scala/lib/trait.png ---------------------------------------------------------------------- diff --git a/site/docs/0.5.0-incubating/api/scala/lib/trait.png b/site/docs/0.5.0-incubating/api/scala/lib/trait.png new file mode 100644 index 0000000..fb961a2 Binary files /dev/null and b/site/docs/0.5.0-incubating/api/scala/lib/trait.png differ http://git-wip-us.apache.org/repos/asf/incubator-livy-website/blob/60f4b974/site/docs/0.5.0-incubating/api/scala/lib/trait_big.png ---------------------------------------------------------------------- diff --git a/site/docs/0.5.0-incubating/api/scala/lib/trait_big.png b/site/docs/0.5.0-incubating/api/scala/lib/trait_big.png new file mode 100644 index 0000000..625d925 Binary files /dev/null and b/site/docs/0.5.0-incubating/api/scala/lib/trait_big.png differ http://git-wip-us.apache.org/repos/asf/incubator-livy-website/blob/60f4b974/site/docs/0.5.0-incubating/api/scala/lib/trait_diagram.png ---------------------------------------------------------------------- diff --git a/site/docs/0.5.0-incubating/api/scala/lib/trait_diagram.png b/site/docs/0.5.0-incubating/api/scala/lib/trait_diagram.png new file mode 100644 index 0000000..8898325 Binary files /dev/null and b/site/docs/0.5.0-incubating/api/scala/lib/trait_diagram.png differ http://git-wip-us.apache.org/repos/asf/incubator-livy-website/blob/60f4b974/site/docs/0.5.0-incubating/api/scala/lib/trait_to_object_big.png ---------------------------------------------------------------------- diff --git a/site/docs/0.5.0-incubating/api/scala/lib/trait_to_object_big.png b/site/docs/0.5.0-incubating/api/scala/lib/trait_to_object_big.png new file mode 100644 index 0000000..d0cd7fd Binary files /dev/null and b/site/docs/0.5.0-incubating/api/scala/lib/trait_to_object_big.png differ http://git-wip-us.apache.org/repos/asf/incubator-livy-website/blob/60f4b974/site/docs/0.5.0-incubating/api/scala/lib/type.png ---------------------------------------------------------------------- diff --git a/site/docs/0.5.0-incubating/api/scala/lib/type.png b/site/docs/0.5.0-incubating/api/scala/lib/type.png new file mode 100644 index 0000000..6c6e1fe Binary files /dev/null and b/site/docs/0.5.0-incubating/api/scala/lib/type.png differ http://git-wip-us.apache.org/repos/asf/incubator-livy-website/blob/60f4b974/site/docs/0.5.0-incubating/api/scala/lib/type_big.png ---------------------------------------------------------------------- diff --git a/site/docs/0.5.0-incubating/api/scala/lib/type_big.png b/site/docs/0.5.0-incubating/api/scala/lib/type_big.png new file mode 100644 index 0000000..04c8794 Binary files /dev/null and b/site/docs/0.5.0-incubating/api/scala/lib/type_big.png differ http://git-wip-us.apache.org/repos/asf/incubator-livy-website/blob/60f4b974/site/docs/0.5.0-incubating/api/scala/lib/type_diagram.png ---------------------------------------------------------------------- diff --git a/site/docs/0.5.0-incubating/api/scala/lib/type_diagram.png b/site/docs/0.5.0-incubating/api/scala/lib/type_diagram.png new file mode 100644 index 0000000..d815252 Binary files /dev/null and b/site/docs/0.5.0-incubating/api/scala/lib/type_diagram.png differ http://git-wip-us.apache.org/repos/asf/incubator-livy-website/blob/60f4b974/site/docs/0.5.0-incubating/api/scala/lib/type_to_object_big.png ---------------------------------------------------------------------- diff --git a/site/docs/0.5.0-incubating/api/scala/lib/type_to_object_big.png b/site/docs/0.5.0-incubating/api/scala/lib/type_to_object_big.png new file mode 100644 index 0000000..ef2615b Binary files /dev/null and b/site/docs/0.5.0-incubating/api/scala/lib/type_to_object_big.png differ http://git-wip-us.apache.org/repos/asf/incubator-livy-website/blob/60f4b974/site/docs/0.5.0-incubating/api/scala/lib/typebg.gif ---------------------------------------------------------------------- diff --git a/site/docs/0.5.0-incubating/api/scala/lib/typebg.gif b/site/docs/0.5.0-incubating/api/scala/lib/typebg.gif new file mode 100644 index 0000000..2fcc77b Binary files /dev/null and b/site/docs/0.5.0-incubating/api/scala/lib/typebg.gif differ http://git-wip-us.apache.org/repos/asf/incubator-livy-website/blob/60f4b974/site/docs/0.5.0-incubating/api/scala/lib/unselected.png ---------------------------------------------------------------------- diff --git a/site/docs/0.5.0-incubating/api/scala/lib/unselected.png b/site/docs/0.5.0-incubating/api/scala/lib/unselected.png new file mode 100644 index 0000000..d5ac639 Binary files /dev/null and b/site/docs/0.5.0-incubating/api/scala/lib/unselected.png differ http://git-wip-us.apache.org/repos/asf/incubator-livy-website/blob/60f4b974/site/docs/0.5.0-incubating/api/scala/lib/valuemembersbg.gif ---------------------------------------------------------------------- diff --git a/site/docs/0.5.0-incubating/api/scala/lib/valuemembersbg.gif b/site/docs/0.5.0-incubating/api/scala/lib/valuemembersbg.gif new file mode 100644 index 0000000..2a94931 Binary files /dev/null and b/site/docs/0.5.0-incubating/api/scala/lib/valuemembersbg.gif differ http://git-wip-us.apache.org/repos/asf/incubator-livy-website/blob/60f4b974/site/docs/0.5.0-incubating/api/scala/org/apache/livy/package.html ---------------------------------------------------------------------- diff --git a/site/docs/0.5.0-incubating/api/scala/org/apache/livy/package.html b/site/docs/0.5.0-incubating/api/scala/org/apache/livy/package.html new file mode 100644 index 0000000..6065beb --- /dev/null +++ b/site/docs/0.5.0-incubating/api/scala/org/apache/livy/package.html @@ -0,0 +1,118 @@ +<!DOCTYPE html > +<html> + <head> + <title>livy - livy-scala-api-parent 0.5.0-incubating API - org.apache.livy</title> + <meta name="description" content="livy - livy - scala - api - parent 0.5.0 - incubating API - org.apache.livy" /> + <meta name="keywords" content="livy livy scala api parent 0.5.0 incubating API org.apache.livy" /> + <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> + + <link href="../../../lib/template.css" media="screen" type="text/css" rel="stylesheet" /> + <link href="../../../lib/diagrams.css" media="screen" type="text/css" rel="stylesheet" id="diagrams-css" /> + <script type="text/javascript" src="../../../lib/jquery.js" id="jquery-js"></script> + <script type="text/javascript" src="../../../lib/jquery-ui.js"></script> + <script type="text/javascript" src="../../../lib/template.js"></script> + <script type="text/javascript" src="../../../lib/tools.tooltip.js"></script> + + <script type="text/javascript"> + if(top === self) { + var url = '../../../index.html'; + var hash = 'org.apache.livy.package'; + var anchor = window.location.hash; + var anchor_opt = ''; + if (anchor.length >= 1) + anchor_opt = '@' + anchor.substring(1); + window.location.href = url + '#' + hash + anchor_opt; + } + </script> + + </head> + <body class="value"> + <div id="definition"> + <img alt="Package" src="../../../lib/package_big.png" /> + <p id="owner"><a href="../../package.html" class="extype" name="org">org</a>.<a href="../package.html" class="extype" name="org.apache">apache</a></p> + <h1>livy</h1><span class="permalink"> + <a href="../../../index.html#org.apache.livy.package" title="Permalink" target="_top"> + <img src="../../../lib/permalink.png" alt="Permalink" /> + </a> + </span> + </div> + + <h4 id="signature" class="signature"> + <span class="modifier_kind"> + <span class="modifier"></span> + <span class="kind">package</span> + </span> + <span class="symbol"> + <span class="name">livy</span> + </span> + </h4> + + <div id="comment" class="fullcommenttop"></div> + + + <div id="mbrsel"> + <div id="textfilter"><span class="pre"></span><span class="input"><input id="mbrsel-input" type="text" accesskey="/" /></span><span class="post"></span></div> + + + <div id="visbl"> + <span class="filtertype">Visibility</span> + <ol><li class="public in"><span>Public</span></li><li class="all out"><span>All</span></li></ol> + </div> + </div> + + <div id="template"> + <div id="allMembers"> + + + + + + + <div id="values" class="values members"> + <h3>Value Members</h3> + <ol><li name="org.apache.livy.scalaapi" visbl="pub" data-isabs="false" fullComment="no" group="Ungrouped"> + <a id="scalaapi"></a> + <a id="scalaapi:scalaapi"></a> + <h4 class="signature"> + <span class="modifier_kind"> + <span class="modifier"></span> + <span class="kind">package</span> + </span> + <span class="symbol"> + <a href="scalaapi/package.html"><span class="name">scalaapi</span></a> + </span> + </h4><span class="permalink"> + <a href="../../../index.html#org.apache.livy.package@scalaapi" title="Permalink" target="_top"> + <img src="../../../lib/permalink.png" alt="Permalink" /> + </a> + </span> + + </li></ol> + </div> + + + + + </div> + + <div id="inheritedMembers"> + + + </div> + + <div id="groupedMembers"> + <div class="group" name="Ungrouped"> + <h3>Ungrouped</h3> + + </div> + </div> + + </div> + + <div id="tooltip"></div> + + <div id="footer"> </div> + + + </body> + </html>