You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.html 29KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>Vaadin @version@</title>
  6. <link rel="stylesheet" type="text/css" href="demo/css/styles.css" />
  7. <link rel="stylesheet" type="text/css" href="demo/css/zoombox.css" />
  8. <!--[if lte IE 6]>
  9. <link rel="stylesheet" type="text/css" href="demo/css/ie.css" />
  10. <![endif]-->
  11. </head> <!-- /head -->
  12. <body>
  13. <div id="header">
  14. <h1>Vaadin &ndash; thinking of U and I</h1>
  15. <div id="version">
  16. <strong>Version @version@</strong>
  17. <a href="release-notes.html" class="release-notes" title="Read the release notes for this Vaadin version">Release Notes &raquo;</a>
  18. </div>
  19. </div> <!-- /header -->
  20. <div id="subheader">
  21. <ul id="menu">
  22. <li></li>
  23. <!--
  24. <li><a href="#sampler">Sampler</a></li>
  25. <li>&bull;</li>
  26. <li><a href="#addons">Add-ons</a></li>
  27. <li>&bull;</li>
  28. <li><a href="#code-examples">Code Examples</a></li>
  29. <li>&bull;</li>
  30. <li><a href="#getting-started">Getting Started</a></li>
  31. <li>&bull;</li>
  32. <li><a href="#docs">Documentation</a></li>
  33. <li>&bull;</li>
  34. <li><a href="#support">Support</a></li>
  35. -->
  36. </ul>
  37. <ul id="links">
  38. <li><a href="http://vaadin.com/forum" title="Open vaadin.com/forum">Discussion Forum &raquo;</a></li>
  39. <li><a href="http://dev.vaadin.com" title="Open dev.vaadin.com">Issue Tracker &raquo;</a></li>
  40. <li><a href="http://www.vaadin.com" title="Open www.vaadin.com">Vaadin Home &raquo;</a></li>
  41. </ul>
  42. </div> <!-- /subheader -->
  43. <div id="upfront">
  44. <div id="sampler">
  45. <a href="sampler/" class="demoapp">
  46. <div id="sampler-slideshow">
  47. <ul>
  48. <li class="active"><img src="demo/img/sampler/home.png" alt="Sampler home screen" /></li>
  49. <li><img src="demo/img/sampler/category.png" alt="Sampler category screen" /></li>
  50. <li><img src="demo/img/sampler/sample.png" alt="Sampler individual sample screen" /></li>
  51. <li><img src="demo/img/sampler/source.png" alt="Sampler example source code" /></li>
  52. </ul>
  53. <span class="mask"></span>
  54. </div>
  55. <h2>Sampler</h2>
  56. <p>See all Vaadin Framework <strong>core components</strong> and their <strong>features</strong> in action in the Sampler! <strong>Sources for all samples</strong> are available for you to see and use.</p>
  57. <strong class="start">Start Sampler &raquo;</strong>
  58. <!--<strong class="new"><em>Notable In This Release</em> &bull;&nbsp;Drag'n'drop &bull;&nbsp;Keyboard&nbsp;Shortcuts &bull;&nbsp;AbsoluteLayout &bull;&nbsp;GWT 2.0</strong>-->
  59. </a>
  60. </div>
  61. </div> <!-- /upfront -->
  62. <div id="content">
  63. <h3 class="reasons">More Reasons to Choose Vaadin</h3>
  64. <ul id="reasons">
  65. <li id="programming-model" class="tab">
  66. <h4 title="Pure Java">Efficient Programming Model</h4>
  67. <div class="col2">
  68. <h5>Server-side Java</h5>
  69. <p>Forget about HTML, Javascript, the browser and RPC, you're working with server-side Java code. This separates Vaadin from client-oriented Java frameworks such as GWT.</p>
  70. </div>
  71. <div class="col2">
  72. <h5>Code Examples</h5>
  73. <ul>
  74. <li>
  75. <h6>Hello World &ndash; The classic example</h6>
  76. <a href="docs/example-source/com/vaadin/demo/HelloWorld.java.html" title="View Source">HelloWorld.java</a> &nbsp;&bull;&nbsp; <a href="HelloWorld" class="demoapp">Run the app &raquo;</a>
  77. </li>
  78. <li>
  79. <h6>Calculator &ndash; Simple logic &amp; event handling</h6>
  80. <a href="docs/example-source/com/vaadin/demo/Calc.java.html" title="View Source">Calc.java</a> &nbsp;&bull;&nbsp; <a href="Calc" class="demoapp">Run the app &raquo;</a>
  81. </li>
  82. </ul>
  83. </div>
  84. <div class="newline col2">
  85. <h5>Architecture Diagram</h5>
  86. <p>Learn how Vaadin integrates with different platforms and other frameworks, and where your code fits in.</p>
  87. <a class="thumb" href="demo/img/vaadin-overall-architecture.png" rel="zoombox">
  88. <img src="demo/img/icons/architecture.png" />
  89. <span></span>
  90. </a>
  91. </div>
  92. <div class="col2">
  93. <h5>Short Development Example</h5>
  94. <p>Watch how to create a document editor application from scratch in less than 10 minutes using Eclipse and the <a href="#development">Vaadin Eclipse Plugin</a>.</p>
  95. <a class="thumb video" href="http://www.youtube.com/watch?v=u-a3VQF90kw" rel="zoombox">
  96. <img src="demo/img/icons/dev-video.png" />
  97. <span>Vaadin step-by-step (10 min)</span>
  98. </a>
  99. </div>
  100. <div class="newline col2">
  101. <h5>Browser independent</h5>
  102. <p>Leave the browser compatibility issues to Vaadin and focus on developing your application. All components in Vaadin are compatible with</p>
  103. <ul>
  104. <li>Internet Explorer 6+</li>
  105. <li>Mozilla Firefox 3+</li>
  106. <li>Safari 3+</li>
  107. <li>Opera 10</li>
  108. <li>Google Chrome 4</li>
  109. </ul>
  110. </div>
  111. <div class="col2">
  112. <h5>No plugins required</h5>
  113. <p>Vaadin is based on javascript and does not require the end user to install any plugins.</p>
  114. </div>
  115. <div class="col2">
  116. <h5>More Resources</h5>
  117. <ul>
  118. <li><a href="http://vaadin.com/comparison">Framework comparison</a></li>
  119. <li><a href="http://vaadin.com/learn">Learn more from vaadin.com</a></li>
  120. </ul>
  121. </div>
  122. </li>
  123. <li id="theming" class="tab">
  124. <h4 title="Themes">Flexible Theming</h4>
  125. <div class="col4">
  126. <h5>Looks the Way You Want It To</h5>
  127. <p>Vaadin comes with two great themes to get you started. Since individual apps have individual needs, Vaadin makes it easy to customize the look of your application using only CSS.</p>
  128. </div>
  129. <div class="newline col4">
  130. <h5>Built-in Themes</h5>
  131. <div class="col2">
  132. <a class="thumb demoapp" href="ReindeerTheme">
  133. <img src="demo/img/icons/reindeer.png" />
  134. <span><strong>Reindeer</strong>One theme &ndash; multiple looks</span>
  135. </a>
  136. </div>
  137. <div class="col2">
  138. <a class="thumb" href="RunoTheme">
  139. <img src="demo/img/icons/runo.png" />
  140. <span><strong>Runo</strong>Clean and easy to extend</span>
  141. </a>
  142. </div>
  143. </div>
  144. <div class="col4">
  145. <h5>Additional Themes &amp; Demos</h5>
  146. <div class="col2">
  147. <a class="thumb demoapp" href="http://demo.vaadin.com/chameleontheme">
  148. <img src="demo/img/icons/chameleon.png" />
  149. <span><strong>Chameleon Theme</strong>Create your own theme in seconds</span>
  150. </a>
  151. <a class="thumb-rel" href="http://vaadin.com/directory#addon/106">Available in Vaadin Directory</a>
  152. </div>
  153. <div class="col2">
  154. <a class="thumb demoapp" href="VaadinTunesLayout/">
  155. <img src="demo/img/icons/vaadintunes.png" />
  156. <span><strong>VaadinTunes</strong>Advanced layout and theme example</span>
  157. </a>
  158. <a class="thumb-rel" href="http://demo.vaadin.com/docs/example-source/com/vaadin/demo/VaadinTunesLayout.java.html">Source code</a>
  159. </div>
  160. </div>
  161. <div class="col4">
  162. <h5>More Resources</h5>
  163. <ul>
  164. <li><a href="http://vaadin.com/directory#browse/type/2">Browse the themes category in Vaadin Directory</a></li>
  165. </ul>
  166. <ul>
  167. <li><a href="http://vaadin.com/book/-/page/themes.html">Themes section of Book of Vaadin</a></li>
  168. </ul>
  169. </div>
  170. </li>
  171. <li id="add-ons" class="tab">
  172. <h4 title="Add-ons">Extending, Packaging and Distributing</h4>
  173. <div class="col2">
  174. <h5>Extend or Create your Own Components</h5>
  175. <p>Extend the existing components or create brand new ones using Java and GWT. Server communication is handled automatically, you only provide the state information to be sent.</p>
  176. <ul>
  177. <li><a href="http://vaadin.com/book/-/page/gwt.html">More information on developing components</a></li>
  178. </ul>
  179. </div>
  180. <div class="col2">
  181. <h5>Add-on Architecture</h5>
  182. <p>Vaadin has a unique add-on architecture. Add-ons, such as new components can be packaged as single JARs, which can then be used in other projects just by adding them to the project's classpath.</p>
  183. </div>
  184. <div class="newline col2">
  185. <h5>Vaadin Directory</h5>
  186. <p>Vaadin Directory contains dozens of useful add-ons of all kinds. See what others have done or distribute your own add-ons for others to use.</p>
  187. <a href="http://vaadin.com/directory"><img src="demo/img/directory.png" /></a>
  188. </div>
  189. <div class="newline col2">
  190. <h5>Integrating Add-ons</h5>
  191. <p>Integrating add-ons from Vaadin Directory into your project is as easy as downloading them and recompiling the widgetset. The video below demonstrates the process.</p>
  192. <ul>
  193. <li><a href="http://vaadin.com/directory/help/using-vaadin-add-ons">Using Vaadin add-ons</a></li>
  194. </ul>
  195. <a class="thumb video" href="http://www.youtube.com/watch?v=LSXCNL6Q1w0" rel="zoombox">
  196. <img src="demo/img/icons/integrating-video.png" />
  197. <span>Downloading and integrating an add-on from Vaadin Directory (4 min)</span>
  198. </a>
  199. </div>
  200. <div class="col2">
  201. <h5>Packaging Add-ons</h5>
  202. <p>Create re-usable add-ons that you can share in Vaadin Directory. Visit the link or see the video for an example on how to package your add-on.</p>
  203. <ul>
  204. <li><a href="http://vaadin.com/directory/help/creating-vaadin-add-ons">How to create Vaadin add-ons</a></li>
  205. </ul>
  206. <a class="thumb video" href="http://www.youtube.com/watch?v=0deldJZhydE" rel="zoombox">
  207. <img src="demo/img/icons/packaging-video.png" />
  208. <span>Creating and packaging a Vaadin component (2 min)</span>
  209. </a>
  210. </div>
  211. </li>
  212. <li id="documentation" class="tab">
  213. <h4 title="Documentation">Best Documentation Around</h4>
  214. <div class="col2 book">
  215. <h5>Book of Vaadin</h5>
  216. <h6>Documentation Is The Key to Understanding</h6>
  217. <a href="docs/book-of-vaadin.pdf" title="Start reading now"><img src="demo/img/book-of-vaadin.png" /></a>
  218. <p>The Book of Vaadin provides you with all the information you need about Vaadin in a comprehensive form. It's available in <a href="docs/book-of-vaadin.pdf">PDF format</a>, <a href="http://vaadin.com/book">as an online version and as a physical book</a>.</p>
  219. </div>
  220. <div class="col2 dzone">
  221. <h5>DZone Refcard</h5>
  222. <a href="http://refcardz.dzone.com/refcardz/getting-started-vaadin"><img src="demo/img/cheatsheet.png" alt="DZone Ref Card for Vaadin" /></a>
  223. <p>For a quick introduction to Vaadin, check out the <a href="http://refcardz.dzone.com/refcardz/getting-started-vaadin">DZone Vaadin Refcard</a></p>
  224. </div>
  225. <div class="newline col2 tutorial">
  226. <h5>Tutorials</h5>
  227. <img src="demo/img/address-book-icon.png" alt="Address Book tutorial" />
  228. <p>Vaadin tutorials provides you with a code-centric introduction to Vaadin.</p>
  229. <ul><li>
  230. <a href="http://vaadin.com/tutorial/-/page/">Building a simple address book</a></li>
  231. <li><a href="http://vaadin.com/tutorial/">More tutorials</a></li>
  232. </ul>
  233. </div>
  234. <div class="col2">
  235. <h5>API</h5>
  236. <p>When you get down to programming, the <a href="docs/api/index.html">Vaadin API Reference Documentation</a> will help you with the classes and the methods.</p>
  237. </div>
  238. </li>
  239. <li id="deployment" class="tab">
  240. <h4 title="Deployment">Easy Deployment</h4>
  241. <div class="col4">
  242. <h5>Single JAR</h5>
  243. <p>Vaadin is a single JAR file without external dependencies. Add the JAR to your web application project and you are ready to start creating the user interface.</p>
  244. </div>
  245. <div class="newline col2">
  246. <h5>Servlet Deployment</h5>
  247. <p>Vaadin provides a single servlet which runs the application. An application can be deployed to any Java application server that supports servlet 2.3 or newer.</p>
  248. </div>
  249. <div class="col2">
  250. <h5>Portlet Support</h5>
  251. <p>Vaadin applications can be deployed as portlets in portals such as Liferay. No code modifications are needed to deploy a Vaadin application to a portal and both portlet standards 1.0 (JSR-168) and 2.0 (JSR-286) are supported. Vaadin is included in Liferay 6.0 as a standard feature.</p>
  252. </div>
  253. <div class="newline col2">
  254. <h5>Supported Application Servers</h5>
  255. <ul>
  256. <li>Apache Tomcat, 4.1+</li>
  257. <li>BEA WebLogic, 9.2+</li>
  258. <li>IBM WebSphere Application Server 6.1+</li>
  259. <li>JBoss Application Server 3.2.8+</li>
  260. <li>Jetty 5+</li>
  261. <li>Glassfish 2+</li>
  262. </ul>
  263. </div>
  264. <div class="col2">
  265. <h5>Supported Portals</h5>
  266. <ul>
  267. <li>Liferay Portal 4.3 or later</li>
  268. </ul>
  269. </div>
  270. <div class="col2">
  271. <h5>Google App Engine</h5>
  272. <p>The same servlet and portlet Vaadin applications can be deployed to Google App Engine, provided they are built to be serializable.</p>
  273. </div>
  274. </li>
  275. <li id="development" class="tab tools">
  276. <h4 title="Development">Develop With Tools You Already Know</h4>
  277. <div class="col2">
  278. <img src="demo/img/eclipse-logo.png" alt="Eclipse IDE" />
  279. <h5>Eclipse</h5>
  280. <p>Vaadin provides an Eclipse plugin which automatically sets up your project, compiles your widgetset and more.</p>
  281. <ul><li><a href="http://vaadin.com/eclipse/">Eclipse plugin update site and instructions</a></li></ul>
  282. </div>
  283. <div class="col2">
  284. <img src="demo/img/netbeans-logo.png" alt="NetBeans IDE" />
  285. <h5>NetBeans</h5>
  286. <p>A community created Vaadin NetBeans plugin is available for all NetBeans developers.</p>
  287. <ul><li><a href="http://vaadin.com/netbeans">NetBeans plugin installation instructions</a></li></ul>
  288. </div>
  289. <div class="newline col2">
  290. <img src="demo/img/maven-logo.png" alt="Maven" />
  291. <h5>Maven</h5>
  292. <p>Vaadin is in the central Maven repository, providing archetypes for creating Vaadin projects and a widgetset compilation plugin for Maven.</p>
  293. <ul><li><a href="http://vaadin.com/wiki/-/wiki/Main/Using%20Vaadin%20with%20Maven">Using Vaadin with Maven</a></li></ul>
  294. </div>
  295. <div class="col2">
  296. <img src="demo/img/ant-logo.png" alt="Apache Ant" />
  297. <h5>Any IDE / automated build system (Ant)</h5>
  298. <p>Ant integration is provided for users of any IDE, for automatic build systems and for users preferring to not using an IDE.</p>
  299. <ul><li><a href="docs/example-source/build-widgetset.xml">Example widgetset build script</a></li></ul>
  300. </div>
  301. </li>
  302. <li id="license" class="tab">
  303. <h4 title="Open Source">Free for Everybody</h4>
  304. <h5>Apache Software License 2.0</h5>
  305. <p>Vaadin is licensed under the Apache Software License 2.0 which means you can use it both for non-commercial and commercial projects free of charge.</p>
  306. <ul><li><a href="http://vaadin.com/license">License information</a></li></ul>
  307. </li>
  308. <li id="community" class="tab">
  309. <h4 title="Community">Be a Part of the Vaadin Community</h4>
  310. <div class="col2">
  311. <h5>Forums</h5>
  312. <p>The forums are very active and a good place to ask questions, help others, discuss your latest ideas or just share what you have done.</p>
  313. <ul><li><a href="http://vaadin.com/forum">Start discussing</a></li></ul>
  314. </div>
  315. <div class="col2">
  316. <h5>Wiki</h5>
  317. <p>The Vaadin wiki is a place where you can find out the best way to use Vaadin, how to integrate it with various other systems such as Spring or JEE6. Read what others have done or write down how you do things.</p>
  318. <ul><li><a href="http://vaadin.com/wiki">Vaadin wiki</a></li></ul>
  319. </div>
  320. <div class="col2">
  321. <h5>Vaadin Directory</h5>
  322. <p>Add-ons for Vaadin are distributed through Vaadin Directory. See what others have done, get ideas or create and share your own.</p>
  323. <ul><li><a href="http://vaadin.com/directory">Vaadin Directory</a></li></ul>
  324. </div>
  325. <div class="col2">
  326. <h5>Bug Tracker</h5>
  327. <p>Found a problem in Vaadin? Maybe you fixed it yourself already? Report it through the Vaadin bug tracker so everybody else also can benefit from your findings.</p>
  328. <ul><li><a href="http://dev.vaadin.com/">Vaadin bug tracker</a></li></ul>
  329. </div>
  330. <div class="col4">
  331. <h5>More Resources</h5>
  332. <ul>
  333. <li><a href="http://vaadin.com/blog">Read the Vaadin Blog</a></li>
  334. <li><a href="http://vaadin.com/twitter">Follow Vaadin on twitter</a></li>
  335. <li><a href="http://vaadin.com/chat">Chat with other Vaadin users</a></li>
  336. </ul>
  337. </div>
  338. </li>
  339. </ul>
  340. </div> <!-- /content -->
  341. <div id="footer">
  342. <span class="slogan"><strong>vaadin <em>}></em></strong> thinking of U and I<span> <!-- <a href="#top">&uarr; Back to top</a>-->
  343. </div> <!-- /footer -->
  344. <div style="height:0px; overflow:hidden;">
  345. <!-- start pre caching sampler icons -->
  346. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-AbsoluteLayoutBasic.gif"/>
  347. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-AccordionDisabled.gif"/>
  348. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-AccordionIcons.gif"/>
  349. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-ApplicationLayout.gif"/>
  350. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-BasicMenuBar.gif"/>
  351. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-BrowserInformation.gif"/>
  352. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-ButtonLink.gif"/>
  353. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-ButtonPush.gif"/>
  354. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-CheckBoxes.gif"/>
  355. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-ClickableLayoutBasic.gif"/>
  356. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-ComboBoxContains.gif"/>
  357. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-ComboBoxInputPrompt.gif"/>
  358. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-ComboBoxNewItems.gif"/>
  359. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-ComboBoxPlain.gif"/>
  360. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-ComboBoxStartsWith.gif"/>
  361. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-CssLayouts.gif"/>
  362. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-CustomLayouts.gif"/>
  363. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-DateInline.gif"/>
  364. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-DateLocale.gif"/>
  365. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-DatePopup.gif"/>
  366. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-DateResolution.gif"/>
  367. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-DragDropHtml5FromDesktop.gif"/>
  368. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-DragDropRearrangeComponents.gif"/>
  369. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-DragDropServerValidation.gif"/>
  370. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-DragDropTableTree.gif"/>
  371. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-DragDropTreeSorting.gif"/>
  372. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-Errors.gif"/>
  373. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-ExpandingComponent.gif"/>
  374. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-FlashEmbed.gif"/>
  375. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-FormAdvancedLayout.gif"/>
  376. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-FormBasic.gif"/>
  377. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-FormPojo.gif"/>
  378. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-GridLayoutBasic.gif"/>
  379. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-HorizontalLayoutBasic.gif"/>
  380. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-Icons.gif"/>
  381. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-ImageEmbed.gif"/>
  382. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-ImmediateUpload.gif"/>
  383. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-JSApi.gif"/>
  384. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-LabelPlain.gif"/>
  385. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-LabelPreformatted.gif"/>
  386. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-LabelRich.gif"/>
  387. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-LayoutAlignment.gif"/>
  388. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-LayoutMargin.gif"/>
  389. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-LayoutSpacing.gif"/>
  390. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-LinkCurrentWindow.gif"/>
  391. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-LinkNoDecorations.gif"/>
  392. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-LinkSizedWindow.gif"/>
  393. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-ListSelectMultiple.gif"/>
  394. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-ListSelectSingle.gif"/>
  395. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-LoginForm.gif"/>
  396. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-MenuBarCollapsing.gif"/>
  397. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-MenuBarHiddenItems.gif"/>
  398. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-MenuBarItemStyles.gif"/>
  399. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-MenuBarWithIcons.gif"/>
  400. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-NativeSelection.gif"/>
  401. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-NativeWindow.gif"/>
  402. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-NotificationCustom.gif"/>
  403. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-NotificationError.gif"/>
  404. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-NotificationHumanized.gif"/>
  405. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-NotificationTray.gif"/>
  406. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-NotificationWarning.gif"/>
  407. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-OptionGroups.gif"/>
  408. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-PackageIcons.gif"/>
  409. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-PanelBasic.gif"/>
  410. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-PanelLight.gif"/>
  411. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-PopupViewClosing.gif"/>
  412. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-PopupViewContents.gif"/>
  413. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-ProgressIndicators.gif"/>
  414. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-ProminentPrimaryAction.gif"/>
  415. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-RichTextEditor.gif"/>
  416. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-ShortcutBasics.gif"/>
  417. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-ShortcutScope.gif"/>
  418. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-SliderHorizontal.gif"/>
  419. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-SliderVertical.gif"/>
  420. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-SplitPanelBasic.gif"/>
  421. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-Subwindow.gif"/>
  422. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-SubwindowAutoSized.gif"/>
  423. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-SubwindowClose.gif"/>
  424. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-SubwindowModal.gif"/>
  425. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-SubwindowPositioned.gif"/>
  426. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-SubwindowSized.gif"/>
  427. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-TableActions.gif"/>
  428. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-TableCellStyling.gif"/>
  429. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-TableColumnAlignment.gif"/>
  430. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-TableColumnCollapsing.gif"/>
  431. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-TableColumnHeaders.gif"/>
  432. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-TableColumnReordering.gif"/>
  433. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-TableHeaderIcons.gif"/>
  434. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-TableLazyLoading.gif"/>
  435. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-TableMouseEvents.gif"/>
  436. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-TableRowHeaders.gif"/>
  437. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-TableRowStyling.gif"/>
  438. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-TableSorting.gif"/>
  439. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-TabSheetClosing.gif"/>
  440. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-TabSheetDisabled.gif"/>
  441. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-TabSheetIcons.gif"/>
  442. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-TabSheetScrolling.gif"/>
  443. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-TextArea.gif"/>
  444. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-TextFieldInputPrompt.gif"/>
  445. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-TextFieldSecret.gif"/>
  446. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-TextFieldSingle.gif"/>
  447. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-Tooltips.gif"/>
  448. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-TreeActions.gif"/>
  449. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-TreeMouseEvents.gif"/>
  450. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-TreeMultiSelect.gif"/>
  451. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-TreeSingleSelect.gif"/>
  452. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-TwinColumnSelect.gif"/>
  453. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-UploadBasic.gif"/>
  454. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-UploadWithProgressMonitoring.gif"/>
  455. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-Validation.gif"/>
  456. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-VerticalLayoutBasic.gif"/>
  457. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-WebEmbed.gif"/>
  458. <img src="/VAADIN/themes/sampler/icons/sampleicons/75-WebLayout.gif"/>
  459. </div>
  460. <script type="text/javascript" src="demo/js/jquery.min.js"></script>
  461. <script src="demo/js/jquery.history.js" type="text/javascript"></script>
  462. <script src="demo/js/fonts.js" type="text/javascript"></script>
  463. <script src="demo/js/zoombox.js" type="text/javascript"></script>
  464. <script type="text/javascript">
  465. function slideSwitch() {
  466. var $active = $('#sampler-slideshow li.active');
  467. if ( $active.length == 0 ) $active = $('#sampler-slideshow li:last-child');
  468. // use this to pull the images in the order they appear in the markup
  469. var $next = $active.next().length ? $active.next()
  470. : $('#sampler-slideshow li:first-child');
  471. $active.addClass('last-active');
  472. $next.css({opacity: 0.0})
  473. .addClass('active')
  474. .animate({opacity: 1.0}, 500, function() {
  475. $active.removeClass('active last-active');
  476. });
  477. }
  478. function doTabs() {
  479. var content = $("#reasons");
  480. content.addClass("js");
  481. // Generate tab captions
  482. var tabs = content.before('<div id="tabs"></div>').prev();
  483. var height = 0;
  484. $("#reasons > li").each(function(i, li) {
  485. li = $(li);
  486. if(this.offsetHeight > height) {
  487. height = this.offsetHeight;
  488. }
  489. li.css({"position":"absolute"});
  490. if(i>0){
  491. li.hide();
  492. }
  493. var caption = li.find("h4");
  494. var hash = li[0].id.toLowerCase();
  495. var tab = tabs.append('<div class="tab" id="tab_'+hash+'"><a href="#'+hash+'">'+caption[0].title+'<span>&#9658;</span></a></div>').find(".tab:last-child");
  496. if(i==0) {
  497. jQuery.data(tabs[0], "selected", tab);
  498. jQuery.data(content[0], "open", li);
  499. tab.addClass("first");
  500. tab.addClass("selected");
  501. }
  502. jQuery.data(tab[0], "content", li);
  503. tab.click(function() {
  504. setTimeout(function() {
  505. pageload(li[0].id);
  506. },100);
  507. });
  508. });
  509. content.height(height);
  510. }
  511. function pageload(hash) {
  512. hash = hash.replace(/^.*#/, '').toLowerCase();
  513. var tab = $("#tab_"+hash);
  514. var tabs = $("#tabs");
  515. var sel = jQuery.data(tabs[0], "selected")[0];
  516. if(sel == tab[0])
  517. return;
  518. var content = $("#reasons");
  519. // Hide previous
  520. jQuery.data(tabs[0], "selected").removeClass("selected");
  521. //jQuery.data(content[0], "open").fadeOut("fast");
  522. jQuery.data(content[0], "open").hide();
  523. var tabContent = jQuery.data(tab[0], "content");
  524. // Show new
  525. jQuery.data(tabs[0], "selected", tab);
  526. tab.addClass("selected");
  527. jQuery.data(content[0], "open", tabContent);
  528. //tabContent.fadeIn("fast");
  529. tabContent.show();
  530. }
  531. function fixTabHeight() {
  532. var height = 0;
  533. $("#reasons > li").each(function() {
  534. var display = this.style.display;
  535. this.style.display = "block";
  536. if(this.offsetHeight > height) {
  537. height = this.offsetHeight;
  538. }
  539. this.style.display = display;
  540. });
  541. $("#reasons").height(height);
  542. }
  543. $(document).ready(function(){
  544. doTabs();
  545. // Initialize history plugin.
  546. // The callback is called at once by present location.hash.
  547. $.historyInit(pageload, "");
  548. setInterval( "slideSwitch()", 2200 );
  549. });
  550. window.onload = function() {
  551. fixTabHeight();
  552. try {
  553. if(window.location.search && (window.location.search.indexOf('gwt.hosted') != -1 || window.location.search.indexOf('gwt.codesvr') != -1)) {
  554. var hostedParam = window.location.search;
  555. var demolinks = document.getElementsByTagName("a");
  556. for (var k = 0; k < demolinks.length; k++) {
  557. var link = demolinks[k];
  558. if(link.className.indexOf
  559. ("demoapp") != -1) {
  560. link.href = link.href + hostedParam;
  561. }
  562. }
  563. }
  564. } catch(e) {}
  565. }
  566. Cufon.replace(["h2","h4","#sampler .start"], {fontFamily: "HelveticaRounded"});
  567. Cufon.replace(["h3"], {fontFamily: "HelveticaLight"});
  568. </script>
  569. </body>
  570. </html>