Revision: 790 Author: allain.lalonde Date: Wed Oct 21 12:19:01 2009 Log: Adding missing java directory from play section http://code.google.com/p/piccolo2d/source/detail?r=790
Added: /site/play/java /site/play/java/fisheyecalendar.html /site/play/java/piccolo2d-core-1.3-SNAPSHOT.jar /site/play/java/piccolo2d-examples-1.3-SNAPSHOT.jar /site/play/java/warnings.js Modified: /site/play/index.html ======================================= --- /dev/null +++ /site/play/java/fisheyecalendar.html Wed Oct 21 12:19:01 2009 @@ -0,0 +1,121 @@ +<html lang='en' xml:lang='en' xmlns='http://www.w3.org/1999/xhtml'> +<head> + <meta name='generator' content= + 'HTML Tidy for Linux/x86 (vers 7 December 2008), see www.w3.org' /> + <meta content='text/html; charset=us-ascii' http-equiv='Content-Type' /> + <meta name='description' content='Home Page for the Piccolo2D project.' /> + <meta name='format' content='text/html' /> + <meta name='keywords' content= + 'piccolo2d, piccolo2d.net, piccolo, piccolo.net, zoomable, zui, user interfaces, human-computer interaction, HCI, visualization, education' /> + <meta name='relation' content='(contained in)=http://www.piccolo2d.org' /> + + <title>Piccolo2D - Play - Fisheye Calendar</title> + <link href='../../piccolo2d.css' rel='stylesheet' type='text/css' /> +</head> + +<body onload='showWarnings();'> + <div id='navigation'> + <!-- +this navigation node is auto-generated and injected +by the script tools/inject_navigation.rb + +DO NOT EDIT IT MANUALLY!!! +--> + + <p class='header'><a href='../../index.html'><img src='../../images/Piccolo2D-Logo-small.png' + alt='Piccolo2D Logo' /></a></p> + + <ul> + <li> + <a href='../../index.html'>Piccolo2D Home</a> + + <ul> + <li> + <a href='../../play/index.html'>Play</a> + + <ul> + <li><a href='../../play/java/fisheyecalendar.html' class= + 'selected'>Java Fisheye Calendar</a></li> + + <li><a href= + '../../play/dotnet/fisheyecalendar.html'>.NET Fisheye Calendar</a></li> + + <li><a href='../../play/dotnet/grapheditor.html'>.NET Graph Editor</a></li> + + <li><a href= + '../../play/dotnet/presentation.html'>.NET Presentation Tool</a></li> + </ul> + </li> + + <li><a href='../../learn/index.html'>Learn</a></li> + + <li><a href='../../download.html'>Download</a></li> + + <li><a href='../../community.html'>Community</a></li> + + <li><a href='../../applications/index.html'>Applications</a></li> + + <li><a href='../../press.html'>Press</a></li> + + <li><a href='../../sponsors.html'>Sponsors</a></li> + </ul> + </li> + </ul><!-- +<p> + <img src='../../images/giny-small.png' alt='a nice graph' /> +</p> +--> + + <p class='bugreport'><a href= + 'http://code.google.com/p/piccolo2d/issues/entry?template=User%20defect%20report'>Found a + Typo?</a></p> + + <p class='validators'><a href='http://validator.w3.org/check/referer'><img src= + 'http://www.w3.org/Icons/valid-xhtml10-blue' alt='Valid XHTML 1.0!' style= + 'border:0;width:88px;height:31px' /></a> <a href= + 'http://jigsaw.w3.org/css-validator/check/referer'><img src= + 'http://www.w3.org/Icons/valid-css-blue' alt='Valid CSS1!' style= + 'border:0;width:88px;height:31px' /></a></p> + </div> + + <div id='main'> + <div id='main-head'> + <h1>Play with Piccolo2D</h1> + + <p>So you've visited the <a href='../../learn/index.html'>Learning Center</a> and you're + itching to see Piccolo2D in action. Here you'll find cool demos to try out for yourself.</p> + </div> + + <h2>Fisheye Calendar</h2> + + <p class='preamble'>A simple tabular fisheye application</p> + + <div id='Applet'> + <object height='400' align='middle' classid='clsid:8AD9C840-044E-11D1-B3E9-00805F499D93' + width='300'> + <param name='type' value='application/x-java-applet;version=1.5' /> + <param name='CODEBASE' value='./' /> + <param name='CODE' value= + 'edu/umd/cs/piccolo/examples/fisheye/TabularFisheyeApplet.class' /> + <param name='NAME' value='edu.umd.cs.piccolo.examples.fisheye.TabularFisheyeApplet' /> + <param name='ARCHIVE' value= + 'piccolo2d-core-1.3-SNAPSHOT.jar,piccolo2d-examples-1.3-SNAPSHOT.jar' /> + <comment><embed code='edu.umd.cs.piccolo.examples.fisheye.TabularFisheyeApplet' archive= + 'piccolo2d-core-1.3-SNAPSHOT.jar,piccolo2d-examples-1.3-SNAPSHOT.jar' type= + 'application/x-java-applet;version=1.5' height='400' align='middle' width='300' codebase= + './' /></comment> <noembed>Error Java 1.5 not supported</noembed> + </object><br /> + <a href='../../learn/fisheye.html'>Learn</a> how to build this interface. + + <ul> + <li>Click on any day to give that day focus.</li> + + <li>Click on an expanded day to remove the focus.</li> + </ul> + </div> + </div><script src='warnings.js' type='text/javascript'> +//<![CDATA[ + //]]> + </script> +</body> +</html> ======================================= --- /dev/null +++ /site/play/java/piccolo2d-core-1.3-SNAPSHOT.jar Wed Oct 21 12:19:01 2009 @@ -0,0 +1,1 @@ +link ../../../piccolo2d.java/core/target/piccolo2d-core-1.3-SNAPSHOT.jar ======================================= --- /dev/null +++ /site/play/java/piccolo2d-examples-1.3-SNAPSHOT.jar Wed Oct 21 12:19:01 2009 @@ -0,0 +1,1 @@ +link ../../../piccolo2d.java/examples/target/piccolo2d-examples-1.3-SNAPSHOT.jar ======================================= --- /dev/null +++ /site/play/java/warnings.js Wed Oct 21 12:19:01 2009 @@ -0,0 +1,80 @@ +// convert all characters to lowercase to simplify testing +var agt=navigator.userAgent.toLowerCase(); + +// *** BROWSER VERSION *** +// Note: On IE5, these return 4, so use is_ie5up to detect IE5. +var is_major = parseInt(navigator.appVersion); + +var is_mac = (agt.indexOf("mac")!=-1); +var is_ie = ((agt.indexOf("msie") != -1) && (agt.indexOf("opera") == -1)); +var is_ie3 = (is_ie && (is_major < 4)); +var is_ie4 = (is_ie && (is_major == 4) && (agt.indexOf("msie 4")!=-1) ); +var is_ie4up = (is_ie && (is_major >= 4)); +var is_ie5 = (is_ie && (is_major == 4) && (agt.indexOf("msie 5.0")!=-1) ); +var is_ie5_5 = (is_ie && (is_major == 4) && (agt.indexOf("msie 5.5") !=-1)); +var is_ie5up = (is_ie && !is_ie3 && !is_ie4); +var is_ie5_5up =(is_ie && !is_ie3 && !is_ie4 && !is_ie5); +var is_ie6 = (is_ie && (is_major == 4) && (agt.indexOf("msie 6.")!=-1) ); +var is_ie6up = (is_ie && !is_ie3 && !is_ie4 && !is_ie5 && !is_ie5_5); + +var is_DOTNET = false +var version = "" + +var layers = (document.layers)? true:false +var all = (document.all)? true:false + +if ((navigator.userAgent.indexOf(".NET CLR")>-1)) { + is_DOTNET = true + + agentString = navigator.userAgent + while ((index = agentString.indexOf(".NET CLR ")) != -1) { + agentString = agentString.substring(index+9) + version = agentString.substring(0,3) + if (version == "1.1") break + } +} + +function getStyleObject(name) { + var o; + if (all) { + if (typeof eval("document.all." + name) == "object") { + o = eval("document.all." + name + ".style"); + } + } else { + if (layers) { + if (typeof eval("document.layers." + name) == "object") { + o = eval("document.layers." + name + ".style"); + } + } + else { + if (document.getElementById(name) != null) { + o = document.getElementById(name).style; + } + } + } + return o; +} + +function showWarnings() { + var warning = false; + if (!is_ie5_5up) { + var obj = getStyleObject('IE_Warning'); + obj.display = "inline"; + warning = true; + } + else if (!is_DOTNET) { + var obj = getStyleObject('NET_Warning'); + obj.display = "inline"; + warning = true; + } else if (version != "1.1") { + var obj = getStyleObject('NET_Vsn_Warning'); + obj.display = "inline"; + + warning = true; + } + + if (warning) { + var obj = getStyleObject('Applet'); + obj.display = "none"; + } +} ======================================= --- /site/play/index.html Wed Oct 21 09:20:42 2009 +++ /site/play/index.html Wed Oct 21 12:19:01 2009 @@ -89,7 +89,13 @@ to see Piccolo2D in action. Here you'll find cool demos to try out for yourself.</p> </div> - <h2>Java Applets</h2><em>Coming soon!</em> + <h2>Java Applets</h2> + + <ul> + <li><a href='java/fisheyecalendar.html'>Fisheye Calendar</a> - A simple tabular fisheye + application.</li> + </ul> + <h2>.Net Applets</h2> --~--~---------~--~----~------------~-------~--~----~ Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en -~----------~----~----~----~------~----~------~--~---
