aboutsummaryrefslogtreecommitdiffstats
path: root/html/script.js
diff options
context:
space:
mode:
authorShigeru Chiba <chiba@acm.org>2015-05-23 15:36:31 +0900
committerShigeru Chiba <chiba@acm.org>2015-05-23 15:36:31 +0900
commitf0c3fdab7ce8e257ea7d8ecc884710ea01ea4afb (patch)
tree87f5936f1f48d29d2e97003354008f112ff90f3e /html/script.js
parenteea11436e35ff472d3f69f1c50a82bc4d1b28028 (diff)
downloadjavassist-f0c3fdab7ce8e257ea7d8ecc884710ea01ea4afb.tar.gz
javassist-f0c3fdab7ce8e257ea7d8ecc884710ea01ea4afb.zip
release 3.19.0-GA.
Diffstat (limited to 'html/script.js')
-rw-r--r--html/script.js30
1 files changed, 30 insertions, 0 deletions
diff --git a/html/script.js b/html/script.js
new file mode 100644
index 00000000..b3463569
--- /dev/null
+++ b/html/script.js
@@ -0,0 +1,30 @@
+function show(type)
+{
+ count = 0;
+ for (var key in methods) {
+ var row = document.getElementById(key);
+ if ((methods[key] & type) != 0) {
+ row.style.display = '';
+ row.className = (count++ % 2) ? rowColor : altColor;
+ }
+ else
+ row.style.display = 'none';
+ }
+ updateTabs(type);
+}
+
+function updateTabs(type)
+{
+ for (var value in tabs) {
+ var sNode = document.getElementById(tabs[value][0]);
+ var spanNode = sNode.firstChild;
+ if (value == type) {
+ sNode.className = activeTableTab;
+ spanNode.innerHTML = tabs[value][1];
+ }
+ else {
+ sNode.className = tableTab;
+ spanNode.innerHTML = "<a href=\"javascript:show("+ value + ");\">" + tabs[value][1] + "</a>";
+ }
+ }
+}