You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by js...@apache.org on 2009/03/19 11:37:20 UTC

svn commit: r755904 [5/40] - in /camel/trunk/components/camel-web/src/main/webapp/js/dojox: ./ analytics/ analytics/logger/ analytics/plugins/ analytics/profiles/ atom/ atom/io/ atom/widget/ atom/widget/nls/ atom/widget/nls/cs/ atom/widget/nls/de/ atom...

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/atom/widget/templates/PeopleEditor.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/atom/widget/templates/css/EntryHeader.css
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/atom/widget/templates/css/EntryHeader.css?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/atom/widget/templates/css/EntryHeader.css (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/atom/widget/templates/css/EntryHeader.css Thu Mar 19 10:37:00 2009
@@ -0,0 +1,27 @@
+
+.containerNode {
+        visibility : visible;
+}
+.graphic-tab-lgray {
+		margin-bottom: 10px;
+}
+.newgraphic-tab-lgray {
+        border-bottom: #d9d9d9 solid 7px;
+}
+td.lp { 
+        padding: 0px 13px 0px 10px;
+        font-weight: bold;
+        background: #d9d9d9;
+        border-bottom: #d9d9d9 solid 7px;
+}
+td.lp2 { 
+        background: #FFFFFF;
+        border-bottom: #d9d9d9 solid 7px;
+}
+span.lp {
+        padding: 0px 13px 0px 10px;
+        font-weight: bold;
+        background: #d9d9d9;
+        border-bottom: #d9d9d9 solid 7px;
+		width: auto;
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/atom/widget/templates/css/EntryHeader.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/atom/widget/templates/css/HtmlFeedEntryEditor.css
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/atom/widget/templates/css/HtmlFeedEntryEditor.css?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/atom/widget/templates/css/HtmlFeedEntryEditor.css (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/atom/widget/templates/css/HtmlFeedEntryEditor.css Thu Mar 19 10:37:00 2009
@@ -0,0 +1,84 @@
+.feedEntryEditor {
+        color:#000000;
+        background: #FFFFFF;
+}
+.feedEntryEditorMenuTable {
+        background: #C0C0C0;      
+        border:2px solid;
+        border-top-color: lightgrey;
+        border-left-color: lightgrey;
+        border-right-color: darkgray;
+        border-bottom-color: darkgray;
+}
+.feedEntryEditorMenu {
+        cursor: pointer;
+        color:#0000FF;
+        text-align: left;
+        font-size:  small;
+}
+.feedEntryEditorDisplayCheckbox {
+        font-size:  small;
+        text-align: left;
+}
+.feedEntryEditorMenu:hover {
+        text-decoration: underline;
+}
+.feedEntryEditorTitle {
+        color:#000000;
+        background: #FFFFFF;
+        text-align: left;
+        #padding-left: 10px;
+        font-size:  125%;
+        font-weight: bold; 
+}
+.feedEntryEditorAuthor {
+        color:#000000;
+        background: #FFFFFF;
+}
+.feedEntryEditorAuthorNames {
+        color:#000000;
+        background: #FFFFFF;
+        text-align: left;
+        #padding-left: 10px;
+        font-size:  110%;
+        font-style: italic;
+        font-weight: normal;
+}
+.feedEntryEditorSummary {
+        color:#000000;
+        background: #FFFFFF;
+}
+.feedEntryEditorUpdated {
+        color:#000000;
+        background: #FFFFFF;
+}
+.feedEntryEditorUpdatedText {
+        color:#000000;
+        background: #FFFFFF;
+        font-size:  110%;
+        font-style: italic;
+        font-weight: normal;
+}
+.feedEntryEditorId {
+        color:#000000;
+        background: #FFFFFF;
+}
+.feedEntryEditorIdText {
+        color:#000000;
+        background: #FFFFFF;
+        font-style: italic;
+        font-size:  110%;
+        font-weight: normal;
+}
+.feedEntryEditorContent {
+        color:#000000;
+        background: #FFFFFF;
+}
+.feedEntryEditorContributorNames {
+        color:#000000;
+        text-align: left;
+        #padding-left: 10px;
+        font-size:  125%;
+        font-style: italic;
+        font-weight: normal;
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/atom/widget/templates/css/HtmlFeedEntryEditor.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/atom/widget/templates/css/HtmlFeedEntryViewer.css
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/atom/widget/templates/css/HtmlFeedEntryViewer.css?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/atom/widget/templates/css/HtmlFeedEntryViewer.css (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/atom/widget/templates/css/HtmlFeedEntryViewer.css Thu Mar 19 10:37:00 2009
@@ -0,0 +1,90 @@
+.feedEntryViewer {
+        color:#000000;
+        background: #FFFFFF;
+}
+.feedEntryViewerMenuTable {
+        background: #C0C0C0;      
+        border:2px solid;
+        border-top-color: lightgrey;
+        border-left-color: lightgrey;
+        border-right-color: darkgray;
+        border-bottom-color: darkgray;
+		margin: 0;
+}
+.feedEntryViewerMenu, .peopleEditorButton {
+        cursor: pointer;
+        color:#0000FF;
+        text-align: left;
+        font-size:  small;
+}
+.feedEntryViewerDisplayCheckbox {
+        font-size:  small;
+        text-align: left;
+}
+.feedEntryViewerMenu:hover, .peopleEditorButton:hover {
+        text-decoration: underline;
+}
+.feedEntryViewerContainer, .feedEntryViewerContainer table {
+		border-width: 0;
+		margin: 0;
+}
+.feedEntryViewerTitle {
+        color:#000000;
+        background: #FFFFFF;
+        text-align: left;
+        
+        font-size:  125%;
+        font-weight: bold; 
+}
+.feedEntryViewerAuthor {
+        color:#000000;
+        background: #FFFFFF;
+}
+.feedEntryViewerAuthorNames {
+        color:#000000;
+        background: #FFFFFF;
+        text-align: left;
+        
+        font-size:  110%;
+        font-style: italic;
+        font-weight: normal;
+}
+.feedEntryViewerSummary {
+        color:#000000;
+        background: #FFFFFF;
+}
+.feedEntryViewerUpdated {
+        color:#000000;
+        background: #FFFFFF;
+}
+.feedEntryViewerUpdatedText {
+        color:#000000;
+        background: #FFFFFF;
+        font-size:  110%;
+        font-style: italic;
+        font-weight: normal;
+}
+.feedEntryViewerId {
+        color:#000000;
+        background: #FFFFFF;
+}
+.feedEntryViewerIdText {
+        color:#000000;
+        background: #FFFFFF;
+        font-style: italic;
+        font-size:  110%;
+        font-weight: normal;
+}
+.feedEntryViewerContent {
+        color:#000000;
+        background: #FFFFFF;
+}
+.feedEntryViewerContributorNames {
+        color:#000000;
+        text-align: left;
+        
+        font-size:  125%;
+        font-weight: normal;
+}
+.feedEntryViewer table {
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/atom/widget/templates/css/HtmlFeedEntryViewer.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/atom/widget/templates/css/HtmlFeedViewer.css
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/atom/widget/templates/css/HtmlFeedViewer.css?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/atom/widget/templates/css/HtmlFeedViewer.css (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/atom/widget/templates/css/HtmlFeedViewer.css Thu Mar 19 10:37:00 2009
@@ -0,0 +1,14 @@
+.feedViewerTable {
+	font-size: small;
+	width:100%;
+	cursor:default;
+	padding:2px;
+}
+.feedViewerTable, .feedViewerTable table {
+	border-width: 0;
+	margin: 0;
+}
+.feedViewerTableBody {
+	overflow-x: auto;
+	overflow-y: auto;
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/atom/widget/templates/css/HtmlFeedViewer.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/atom/widget/templates/css/HtmlFeedViewerEntry.css
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/atom/widget/templates/css/HtmlFeedViewerEntry.css?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/atom/widget/templates/css/HtmlFeedViewerEntry.css (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/atom/widget/templates/css/HtmlFeedViewerEntry.css Thu Mar 19 10:37:00 2009
@@ -0,0 +1,60 @@
+.feedViewerEntry {
+        background: #F0F0F0;
+        padding: 2px;
+        overflow-x: auto;
+        overflow-y: auto;
+        cursor: pointer;   
+}
+.feedViewerEntry:hover {
+        background: #a6c2e7;
+        padding: 2px;
+}
+.feedViewerEntrySelected {
+        color: #000000;
+        background: #C0C0C0;
+        text-align: left;
+        vertical-align: top;
+        padding-bottom: 2px;
+        padding: 2px;
+}
+.feedViewerEntrySelected:hover {
+        background: #a6c2e7;
+        padding: 2px;
+}
+.feedViewerEntryUpdated {
+        text-align: left;
+        vertical-align: top;
+        color: #909090;
+        padding-bottom: 2px;
+        padding: 2px;
+}
+.feedViewerEntryUpdatedSelected {
+        text-align: left;
+        vertical-align: top;
+        color: #000000;
+        padding-bottom: 2px;
+        padding: 2px;
+}
+.feedViewerEntryTitle {
+        color:#000000;
+        text-align: left;
+        text-decoration:none;
+        padding-left: 4px;
+        padding-bottom: 2px;
+}
+.feedViewerEntryTitle:hover {
+        color:#000000;
+        text-align: left;
+        text-decoration:underline;
+        padding-left: 4px;
+        padding-bottom: 2px;
+}
+.feedViewerDeleteButton {
+        cursor: pointer;
+        color:#0000FF;
+        text-align: left;
+        font-size:  small;
+}
+.feedViewerDeleteButton:hover {
+        text-decoration: underline;
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/atom/widget/templates/css/HtmlFeedViewerEntry.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/atom/widget/templates/css/HtmlFeedViewerGrouping.css
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/atom/widget/templates/css/HtmlFeedViewerGrouping.css?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/atom/widget/templates/css/HtmlFeedViewerGrouping.css (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/atom/widget/templates/css/HtmlFeedViewerGrouping.css Thu Mar 19 10:37:00 2009
@@ -0,0 +1,8 @@
+.feedViewerGrouping {
+}
+.feedViewerGroupingTitle {
+	font-weight: bold;
+	color:#606060;
+	border-bottom:1px solid #909090;
+	padding-top: 4px;
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/atom/widget/templates/css/HtmlFeedViewerGrouping.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/FLAudio.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/FLAudio.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/FLAudio.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/FLAudio.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,108 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.av.FLAudio"]){
+dojo._hasResource["dojox.av.FLAudio"]=true;
+dojo.provide("dojox.av.FLAudio");
+dojo.experimental("dojox.av.FLAudio");
+dojo.require("dijit._Widget");
+dojo.require("dojox.embed.Flash");
+dojo.require("dojox.av._Media");
+dojo.require("dojox.timing.doLater");
+dojo.declare("dojox.av.FLAudio",null,{id:"",initialVolume:0.7,initialPan:0,isDebug:false,statusInterval:200,_swfPath:dojo.moduleUrl("dojox.av","resources/audio.swf"),constructor:function(_1){
+dojo.mixin(this,_1||{});
+if(!this.id){
+this.id="flaudio_"+new Date().getTime();
+}
+this.domNode=dojo.doc.createElement("div");
+dojo.style(this.domNode,{postion:"relative",width:"1px",height:"1px",top:"1px",left:"1px"});
+dojo.body().appendChild(this.domNode);
+this.init();
+},init:function(){
+this._subs=[];
+this.initialVolume=this._normalizeVolume(this.initialVolume);
+var _2={path:this._swfPath.uri,width:"1px",height:"1px",minimumVersion:9,expressInstall:true,params:{wmode:"transparent"},vars:{id:this.id,autoPlay:this.autoPlay,initialVolume:this.initialVolume,initialPan:this.initialPan,statusInterval:this.statusInterval,isDebug:this.isDebug}};
+this._sub("mediaError","onError");
+this._sub("filesProgress","onLoadStatus");
+this._sub("filesAllLoaded","onAllLoaded");
+this._sub("mediaPosition","onPlayStatus");
+this._sub("mediaMeta","onID3");
+this._flashObject=new dojox.embed.Flash(_2,this.domNode);
+this._flashObject.onError=function(_3){
+console.warn("Flash Error:",_3);
+alert(_3);
+};
+this._flashObject.onLoad=dojo.hitch(this,function(_4){
+this.flashMedia=_4;
+this.isPlaying=this.autoPlay;
+this.isStopped=!this.autoPlay;
+this.onLoad(this.flashMedia);
+});
+},load:function(_5){
+if(dojox.timing.doLater(this.flashMedia,this)){
+return false;
+}
+if(!_5.url){
+throw new Error("An url is required for loading media");
+return false;
+}else{
+_5.url=this._normalizeUrl(_5.url);
+}
+this.flashMedia.load(_5);
+return _5.url;
+},doPlay:function(_6){
+this.flashMedia.doPlay(_6);
+},pause:function(_7){
+this.flashMedia.pause(_7);
+},stop:function(_8){
+this.flashMedia.doStop(_8);
+},setVolume:function(_9){
+this.flashMedia.setVolume(_9);
+},setPan:function(_a){
+this.flashMedia.setPan(_a);
+},getVolume:function(_b){
+return this.flashMedia.getVolume(_b);
+},getPan:function(_c){
+return this.flashMedia.getPan(_c);
+},onError:function(_d){
+console.warn("SWF ERROR:",_d);
+},onLoadStatus:function(_e){
+},onAllLoaded:function(){
+},onPlayStatus:function(_f){
+},onLoad:function(){
+},onID3:function(evt){
+},destroy:function(){
+if(!this.flashMedia){
+this._cons.push(dojo.connect(this,"onLoad",this,"destroy"));
+return;
+}
+dojo.forEach(this._subs,function(s){
+dojo.unsubscribe(s);
+});
+dojo.forEach(this._cons,function(c){
+dojo.disconnect(c);
+});
+this._flashObject.destroy();
+},_sub:function(_13,_14){
+dojo.subscribe(this.id+"/"+_13,this,_14);
+},_normalizeVolume:function(vol){
+if(vol>1){
+while(vol>1){
+vol*=0.1;
+}
+}
+return vol;
+},_normalizeUrl:function(_16){
+if(_16&&_16.toLowerCase().indexOf("http")<0){
+var loc=window.location.href.split("/");
+loc.pop();
+loc=loc.join("/")+"/";
+_16=loc+_16;
+}
+return _16;
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/FLAudio.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/FLVideo.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/FLVideo.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/FLVideo.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/FLVideo.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,96 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.av.FLVideo"]){
+dojo._hasResource["dojox.av.FLVideo"]=true;
+dojo.provide("dojox.av.FLVideo");
+dojo.experimental("dojox.av.FLVideo");
+dojo.require("dijit._Widget");
+dojo.require("dojox.embed.Flash");
+dojo.require("dojox.av._Media");
+dojo.declare("dojox.av.FLVideo",[dijit._Widget,dojox.av._Media],{_swfPath:dojo.moduleUrl("dojox.av","resources/video.swf"),postCreate:function(){
+this._subs=[];
+this._cons=[];
+this.mediaUrl=this._normalizeUrl(this.mediaUrl);
+this.initialVolume=this._normalizeVolume(this.initialVolume);
+var _1={path:this._swfPath.uri,width:"100%",height:"100%",minimumVersion:9,expressInstall:true,params:{allowFullScreen:true,wmode:"transparent"},vars:{videoUrl:this.mediaUrl,id:this.id,autoPlay:this.autoPlay,volume:this.initialVolume,isDebug:this.isDebug}};
+this._sub("stageClick","onClick");
+this._sub("stageSized","onSwfSized");
+this._sub("mediaStatus","onPlayerStatus");
+this._sub("mediaMeta","onMetaData");
+this._sub("mediaError","onError");
+this._sub("mediaStart","onStart");
+this._sub("mediaEnd","onEnd");
+this._flashObject=new dojox.embed.Flash(_1,this.domNode);
+this._flashObject.onError=function(_2){
+console.warn("Flash Error:",_2);
+alert(_2);
+};
+this._flashObject.onLoad=dojo.hitch(this,function(_3){
+this.flashMedia=_3;
+this.isPlaying=this.autoPlay;
+this.isStopped=!this.autoPlay;
+this.onLoad(this.flashMedia);
+this._initStatus();
+this._update();
+});
+},play:function(_4){
+this.isPlaying=true;
+this.isStopped=false;
+this.flashMedia.doPlay(this._normalizeUrl(_4));
+},pause:function(){
+this.isPlaying=false;
+this.isStopped=false;
+this.flashMedia.pause();
+},seek:function(_5){
+this.flashMedia.seek(_5);
+},volume:function(_6){
+if(_6){
+if(!this.flashMedia){
+this.initialVolume=_6;
+}
+this.flashMedia.setVolume(this._normalizeVolume(_6));
+}
+if(!this.flashMedia||!this.flashMedia.doGetVolume){
+return this.initialVolume;
+}
+return this.flashMedia.getVolume();
+},_checkBuffer:function(_7,_8){
+if(this.percentDownloaded==100){
+if(this.isBuffering){
+this.onBuffer(false);
+this.flashMedia.doPlay();
+}
+return;
+}
+if(!this.isBuffering&&_8<0.1){
+this.onBuffer(true);
+this.flashMedia.pause();
+return;
+}
+var _9=this.percentDownloaded*0.01*this.duration;
+if(!this.isBuffering&&_7+this.minBufferTime*0.001>_9){
+this.onBuffer(true);
+this.flashMedia.pause();
+}else{
+if(this.isBuffering&&_7+this.bufferTime*0.001<=_9){
+this.onBuffer(false);
+this.flashMedia.doPlay();
+}
+}
+},_update:function(){
+var _a=Math.min(this.getTime()||0,this.duration);
+var _b=this.flashMedia.getLoaded();
+this.percentDownloaded=Math.ceil(_b.bytesLoaded/_b.bytesTotal*100);
+this.onDownloaded(this.percentDownloaded);
+this.onPosition(_a);
+if(this.duration){
+this._checkBuffer(_a,_b.buffer);
+}
+setTimeout(dojo.hitch(this,"_update"),this.updateTime);
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/FLVideo.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/README
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/README?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/README (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/README Thu Mar 19 10:37:00 2009
@@ -0,0 +1,65 @@
+-------------------------------------------------------------------------------
+DojoX Audio/Video
+-------------------------------------------------------------------------------
+Version 0.1
+Release date: 01/15/2008
+-------------------------------------------------------------------------------
+Project state:
+experimental
+-------------------------------------------------------------------------------
+Credits
+	Tom Trenka (ttrenka AT gmail.com)
+    Mike Wilcox (AnM8tR AT Yahoo.com)
+-------------------------------------------------------------------------------
+Project description
+
+DojoX A/V aims to bring audio and video capabilities to the Open Web, first
+by wrapping common media types (Flash and Quicktime) and then by providing
+easy to use objects to accomplish basic A/V tasks.  As of version 0.1, only
+the base is included (Flash and Quicktime embedding mechanisms); in the near
+future, usable objects will appear, both in raw programmatic form and also with
+Dijit-compatible wrappers.
+-------------------------------------------------------------------------------
+Dependencies:
+
+DojoX A/V depends on dojox.embed, and uses Flash movies created in the deft
+project using Flex OSS 3.  You do not need any of the deft code; compiled
+movies are included with dojox.av.  If you want to modify the actual movies,
+you can look in the deft project (under the package deft.av).
+-------------------------------------------------------------------------------
+Documentation
+
+TBD.
+-------------------------------------------------------------------------------
+Included media:
+
+Video:
+test/video/Grog.flv and test/video/OldMan.flv are both created by Mike Wilcox
+and may be freely used and distributed in any way. I only ask for credit if
+widely shown.
+
+Audio:
+test/audio/Ola.mp3, test/audio/Hio.mp3, test/audio/FuzzWah.mp3 are from a
+sounds effects CD and are not to be redistributed. They will most likely
+be swapped out when a better open source option is avaialable.
+
+-------------------------------------------------------------------------------
+Installation instructions
+
+Grab the following from the Dojo SVN Repository:
+
+http://svn.dojotoolkit.org/src/dojox/trunk/embed/*
+http://svn.dojotoolkit.org/src/dojox/trunk/av/*
+
+Install into the following directory structure:
+/dojox/av/
+
+...which should be at the same level as your Dojo checkout.
+
+-------------------------------------------------------------------------------
+Change history
+
+2008-01-15	Initial checkin, with basic movie embedding code.
+2008-06-04	Removed the base code, after moving it into dojox.embed and modifying it.
+2008-08-14  Implemented FLVideo for Flash Video 
+2009-02-08  Implemented FLAudio for Flash Audio

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/README
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/_Media.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/_Media.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/_Media.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/_Media.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,123 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.av._Media"]){
+dojo._hasResource["dojox.av._Media"]=true;
+dojo.provide("dojox.av._Media");
+dojo.declare("dojox.av._Media",null,{mediaUrl:"",initialVolume:1,autoPlay:false,bufferTime:2000,minBufferTime:300,updateTime:100,id:"",isDebug:false,percentDownloaded:0,_flashObject:null,flashMedia:null,_initStatus:function(){
+this.status="ready";
+dojo.connect(this,"onPosition",this,"_figureStatus");
+},getTime:function(){
+return this.flashMedia.getTime();
+},onLoad:function(_1){
+},onDownloaded:function(_2){
+},onClick:function(_3){
+},onSwfSized:function(_4){
+},onMetaData:function(_5,_6){
+this.duration=_5.duration;
+},onPosition:function(_7){
+},onStart:function(_8){
+},onPlay:function(_9){
+},onPause:function(_a){
+},onEnd:function(_b){
+},onStop:function(){
+},onBuffer:function(_c){
+this.isBuffering=_c;
+},onError:function(_d,_e){
+console.warn("ERROR-"+_d.type.toUpperCase()+":",_d.info.code," - URL:",_e);
+},onStatus:function(_f){
+},onPlayerStatus:function(_10){
+},onResize:function(){
+},_figureStatus:function(){
+var pos=this.getTime();
+if(this.status=="stopping"){
+this.status="stopped";
+this.onStop(this._eventFactory());
+}else{
+if(this.status=="ending"&&pos==this._prevPos){
+this.status="ended";
+this.onEnd(this._eventFactory());
+}else{
+if(this.duration&&pos>this.duration-0.5){
+this.status="ending";
+}else{
+if(pos===0){
+if(this.status=="ready"){
+}else{
+this.status="stopped";
+if(this._prevStatus!="stopped"){
+this.onStop(this._eventFactory());
+}
+}
+}else{
+if(this.status=="ready"){
+this.status="started";
+this.onStart(this._eventFactory());
+this.onPlay(this._eventFactory());
+}else{
+if(this.isBuffering){
+this.status="buffering";
+}else{
+if(this.status=="started"||(this.status=="playing"&&pos!=this._prevPos)){
+this.status="playing";
+}else{
+if(!this.isStopped&&this.status=="playing"&&pos==this._prevPos){
+this.status="paused";
+console.warn("pause",pos,this._prevPos);
+if(this.status!=this._prevStatus){
+this.onPause(this._eventFactory());
+}
+}else{
+if((this.status=="paused"||this.status=="stopped")&&pos!=this._prevPos){
+this.status="started";
+this.onPlay(this._eventFactory());
+}
+}
+}
+}
+}
+}
+}
+}
+}
+this._prevPos=pos;
+this._prevStatus=this.status;
+this.onStatus(this.status);
+},_eventFactory:function(){
+var evt={status:this.status};
+return evt;
+},_sub:function(_13,_14){
+dojo.subscribe(this.id+"/"+_13,this,_14);
+},_normalizeVolume:function(vol){
+if(vol>1){
+while(vol>1){
+vol*=0.1;
+}
+}
+return vol;
+},_normalizeUrl:function(_16){
+if(_16&&_16.toLowerCase().indexOf("http")<0){
+var loc=window.location.href.split("/");
+loc.pop();
+loc=loc.join("/")+"/";
+_16=loc+_16;
+}
+return _16;
+},destroy:function(){
+if(!this.flashMedia){
+this._cons.push(dojo.connect(this,"onLoad",this,"destroy"));
+return;
+}
+dojo.forEach(this._subs,function(s){
+dojo.unsubscribe(s);
+});
+dojo.forEach(this._cons,function(c){
+dojo.disconnect(c);
+});
+this._flashObject.destroy();
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/_Media.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/resources/audio.swf
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/resources/audio.swf?rev=755904&view=auto
==============================================================================
Binary file - no diff available.

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/resources/audio.swf
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/resources/version.mov
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/resources/version.mov?rev=755904&view=auto
==============================================================================
Binary file - no diff available.

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/resources/version.mov
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/resources/video.swf
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/resources/video.swf?rev=755904&view=auto
==============================================================================
Binary file - no diff available.

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/resources/video.swf
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/PlayButton.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/PlayButton.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/PlayButton.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/PlayButton.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,45 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.av.widget.PlayButton"]){
+dojo._hasResource["dojox.av.widget.PlayButton"]=true;
+dojo.provide("dojox.av.widget.PlayButton");
+dojo.require("dijit._Widget");
+dojo.require("dijit._Templated");
+dojo.require("dijit.form.Button");
+dojo.declare("dojox.av.widget.PlayButton",[dijit._Widget,dijit._Templated],{templateString:"<div class=\"PlayPauseToggle Pause\" dojoAttachEvent=\"click:onClick\">\n    <div class=\"icon\"></div>\n</div>\n",postCreate:function(){
+this.showPlay();
+},setMedia:function(_1){
+this.media=_1;
+dojo.connect(this.media,"onEnd",this,"showPlay");
+dojo.connect(this.media,"onStart",this,"showPause");
+},onClick:function(){
+if(this._mode=="play"){
+this.onPlay();
+}else{
+this.onPause();
+}
+},onPlay:function(){
+if(this.media){
+this.media.play();
+}
+this.showPause();
+},onPause:function(){
+if(this.media){
+this.media.pause();
+}
+this.showPlay();
+},showPlay:function(){
+this._mode="play";
+dojo.removeClass(this.domNode,"Pause");
+dojo.addClass(this.domNode,"Play");
+},showPause:function(){
+this._mode="pause";
+dojo.addClass(this.domNode,"Pause");
+dojo.removeClass(this.domNode,"Play");
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/PlayButton.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/Player.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/Player.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/Player.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/Player.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,79 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.av.widget.Player"]){
+dojo._hasResource["dojox.av.widget.Player"]=true;
+dojo.provide("dojox.av.widget.Player");
+dojo.require("dijit._Widget");
+dojo.require("dijit._Templated");
+dojo.declare("dojox.av.widget.Player",[dijit._Widget,dijit._Templated],{playerWidth:"480px",widgetsInTemplate:true,templateString:"<div class=\"playerContainer\">\n  <div class=\"PlayerScreen\" dojoAttachPoint=\"playerScreen\"></div>\n<table class=\"Controls\">\n  <tr>\n    <td colspan=\"2\" dojoAttachPoint=\"progressContainer\">\n    \t\n    </td>\n  </tr>\n  <tr>\n    <td class=\"PlayContainer\" dojoAttachPoint=\"playContainer\">\n    \t\n     </td>\n    <td class=\"ControlsRight\">\n      <table class=\"StatusContainer\">\n        <tr dojoAttachPoint=\"statusContainer\">\n          \n        </tr>\n     \t<tr>\n        \t<td colspan=\"3\" class=\"ControlsBottom\" dojoAttachPoint=\"controlsBottom\">\n      \t\t\t \n      \t\t</td>\n         </tr>\n      </table>\n    </td>\n  </tr>\n</table>\n</div>\n",_fillContent:function(){
+if(!this.items&&this.srcNodeRef){
+this.items=[];
+var _1=dojo.query("*",this.srcNodeRef);
+dojo.forEach(_1,function(n){
+this.items.push(n);
+},this);
+}
+},postCreate:function(){
+dojo.style(this.domNode,"width",this.playerWidth+(dojo.isString(this.playerWidth)?"":"px"));
+if(dojo.isString(this.playerWidth)&&this.playerWidth.indexOf("%")){
+dojo.connect(window,"resize",this,"onResize");
+}
+this.children=[];
+var _3;
+dojo.forEach(this.items,function(n,i){
+n.id=dijit.getUniqueId("player_control");
+switch(dojo.attr(n,"controlType")){
+case "play":
+this.playContainer.appendChild(n);
+break;
+case "volume":
+this.controlsBottom.appendChild(n);
+break;
+case "status":
+this.statusContainer.appendChild(n);
+break;
+case "progress":
+case "slider":
+this.progressContainer.appendChild(n);
+break;
+case "video":
+this.mediaNode=n;
+this.playerScreen.appendChild(n);
+break;
+default:
+}
+this.items[i]=n.id;
+},this);
+},startup:function(){
+this.media=dijit.byId(this.mediaNode.id);
+if(!dojo.isAIR){
+dojo.style(this.media.domNode,"width","100%");
+dojo.style(this.media.domNode,"height","100%");
+}
+dojo.forEach(this.items,function(id){
+if(id!==this.mediaNode.id){
+var _7=dijit.byId(id);
+this.children.push(_7);
+if(_7){
+
+_7.setMedia(this.media,this);
+}
+}
+},this);
+},onResize:function(_8){
+var _9=dojo.marginBox(this.domNode);
+if(this.media&&this.media.onResize!==null){
+this.media.onResize(_9);
+}
+dojo.forEach(this.children,function(_a){
+if(_a.onResize){
+_a.onResize(_9);
+}
+});
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/Player.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/ProgressSlider.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/ProgressSlider.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/ProgressSlider.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/ProgressSlider.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,88 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.av.widget.ProgressSlider"]){
+dojo._hasResource["dojox.av.widget.ProgressSlider"]=true;
+dojo.provide("dojox.av.widget.ProgressSlider");
+dojo.require("dijit._Widget");
+dojo.require("dijit._Templated");
+dojo.declare("dojox.av.widget.ProgressSlider",[dijit._Widget,dijit._Templated],{templateString:"<div class=\"Progress\" dojoAttachEvent=\"mousedown:startDrag\">\n    \n    <div class=\"ProgressLoaded\" dojoAttachPoint=\"progressLoaded\"></div>\n    <div class=\"ProgressPosition\" dojoAttachPoint=\"progressPosition\"></div>\n\t<div class=\"ProgressHandle\" dojoAttachPoint=\"handle\" dojoAttachEvent=\"mouseover:handleOver, mouseout:handleOut\"></div>\n</div>\n",postCreate:function(){
+this.seeking=false;
+this.handleWidth=dojo.marginBox(this.handle).w;
+var _1=dojo.coords(this.domNode);
+this.finalWidth=_1.w;
+this.width=_1.w-this.handleWidth;
+this.x=_1.x;
+dojo.setSelectable(this.domNode,false);
+dojo.setSelectable(this.handle,false);
+},setMedia:function(_2,_3){
+this.playerWidget=_3;
+this.media=_2;
+dojo.connect(this.media,"onMetaData",this,function(_4){
+if(_4&&_4.duration){
+this.duration=_4.duration;
+}
+});
+dojo.connect(this.media,"onEnd",this,function(){
+dojo.disconnect(this.posCon);
+this.setHandle(this.duration);
+});
+dojo.connect(this.media,"onStart",this,function(){
+this.posCon=dojo.connect(this.media,"onPosition",this,"setHandle");
+});
+dojo.connect(this.media,"onDownloaded",this,function(_5){
+this.setLoadedPosition(_5*0.01);
+this.width=this.finalWidth*0.01*_5;
+});
+},onDrag:function(_6){
+var x=_6.clientX-this.x;
+if(x<0){
+x=0;
+}
+if(x>this.width-this.handleWidth){
+x=this.width-this.handleWidth;
+}
+var p=x/this.finalWidth;
+this.media.seek(this.duration*p);
+dojo.style(this.handle,"marginLeft",x+"px");
+dojo.style(this.progressPosition,"width",x+"px");
+},startDrag:function(){
+dojo.setSelectable(this.playerWidget.domNode,false);
+this.seeking=true;
+this.cmove=dojo.connect(dojo.doc,"mousemove",this,"onDrag");
+this.cup=dojo.connect(dojo.doc,"mouseup",this,"endDrag");
+},endDrag:function(){
+dojo.setSelectable(this.playerWidget.domNode,true);
+this.seeking=false;
+if(this.cmove){
+dojo.disconnect(this.cmove);
+}
+if(this.cup){
+dojo.disconnect(this.cup);
+}
+this.handleOut();
+},setHandle:function(_9){
+if(!this.seeking){
+var w=this.width-this.handleWidth;
+var p=_9/this.duration;
+var x=p*w;
+dojo.style(this.handle,"marginLeft",x+"px");
+dojo.style(this.progressPosition,"width",x+"px");
+}
+},setLoadedPosition:function(_d){
+dojo.style(this.progressLoaded,"width",(this.finalWidth*_d)+"px");
+},handleOver:function(){
+dojo.addClass(this.handle,"over");
+},handleOut:function(){
+if(!this.seeking){
+dojo.removeClass(this.handle,"over");
+}
+},onResize:function(_e){
+var _f=dojo.coords(this.domNode);
+this.finalWidth=_f.w;
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/ProgressSlider.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/Status.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/Status.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/Status.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/Status.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,95 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.av.widget.Status"]){
+dojo._hasResource["dojox.av.widget.Status"]=true;
+dojo.provide("dojox.av.widget.Status");
+dojo.require("dijit._Widget");
+dojo.require("dijit._Templated");
+dojo.declare("dojox.av.widget.Status",[dijit._Widget,dijit._Templated],{templateString:"<table class=\"Status\">\n    <tr>\n        <td class=\"Time\"><span dojoAttachPoint=\"timeNode\">0.00</span></td>\n        <td class=\"Status\"><div dojoAttachPoint=\"titleNode\">Loading...</div></td>\n        <td class=\"Duration\"><span dojoAttachPoint=\"durNode\">0.00</span></td>\n    </tr>\n</table>\n",postCreate:function(){
+this.titleNode=dojo.query(".Status",this.domNode);
+this.durNode=dojo.query(".Duration",this.domNode);
+this.timeNode=dojo.query(".Time",this.domNode);
+
+
+
+},setMedia:function(_1){
+this.media=_1;
+dojo.connect(this.media,"onMetaData",this,function(_2){
+this.duration=_2.duration;
+this.durNode.innerHTML=this.toSeconds(this.duration);
+});
+dojo.connect(this.media,"onPosition",this,function(_3){
+});
+var _4=["onMetaData","onPosition","onStart","onBuffer","onPlay","onPause","onStop","onEnd","onError","onLoad"];
+dojo.forEach(_4,function(c){
+dojo.connect(this.media,c,this,c);
+},this);
+},onMetaData:function(_6){
+this.duration=_6.duration;
+this.durNode.innerHTML=this.toSeconds(this.duration);
+if(this.media.title){
+this.title=this.media.title;
+}else{
+var a=this.media.mediaUrl.split("/");
+var b=a[a.length-1].split(".")[0];
+this.title=b;
+}
+},onBuffer:function(_9){
+this.isBuffering=_9;
+console.warn("status onBuffer",this.isBuffering);
+if(this.isBuffering){
+this.setStatus("buffering...");
+}else{
+this.setStatus("Playing");
+}
+},onPosition:function(_a){
+},onStart:function(){
+this.setStatus("Starting");
+},onPlay:function(){
+this.setStatus("Playing");
+},onPause:function(){
+this.setStatus("Paused");
+},onStop:function(){
+this.setStatus("Stopped");
+},onEnd:function(){
+this.setStatus("Stopped");
+},onError:function(_b){
+
+var _c=_b.info.code;
+if(_c=="NetStream.Play.StreamNotFound"){
+_c="Stream Not Found";
+}
+this.setStatus("ERROR: "+_c,true);
+},onLoad:function(){
+this.setStatus("Loading...");
+},setStatus:function(_d,_e){
+if(_e){
+dojo.addClass(this.titleNode,"statusError");
+}else{
+dojo.removeClass(this.titleNode,"statusError");
+if(this.isBuffering){
+_d="buffering...";
+}
+}
+this.titleNode.innerHTML="<span class=\"statusTitle\">"+this.title+"</span> <span class=\"statusInfo\">"+_d+"</span>";
+},toSeconds:function(_f){
+var ts=_f.toString();
+if(ts.indexOf(".")<0){
+ts+=".00";
+}else{
+if(ts.length-ts.indexOf(".")==2){
+ts+="0";
+}else{
+if(ts.length-ts.indexOf(".")>2){
+ts=ts.substring(0,ts.indexOf(".")+3);
+}
+}
+}
+return ts;
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/Status.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/VolumeButton.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/VolumeButton.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/VolumeButton.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/VolumeButton.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,118 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.av.widget.VolumeButton"]){
+dojo._hasResource["dojox.av.widget.VolumeButton"]=true;
+dojo.provide("dojox.av.widget.VolumeButton");
+dojo.require("dijit._Widget");
+dojo.require("dijit._Templated");
+dojo.require("dijit.form.Button");
+dojo.declare("dojox.av.widget.VolumeButton",[dijit._Widget,dijit._Templated],{templateString:"<div class=\"Volume\" dojoAttachEvent=\"mousedown:onShowVolume\">\n\t<div class=\"VolumeSlider\" dojoAttachPoint=\"volumeSlider\">\n    \t<div class=\"VolumeSliderBack\" dojoAttachPoint=\"volumeSliderBack\"></div>\n    \t<div class=\"VolumeSliderHandle\" dojoAttachPoint=\"handle\" dojoAttachEvent=\"mousedown:startDrag, mouseup:endDrag, mouseover:handleOver, mouseout:handleOut\"></div>\t\n    </div>\n    <div class=\"icon\"></div>\n</div>\n",postCreate:function(){
+this.handleWidth=dojo.marginBox(this.handle).w;
+this.width=dojo.marginBox(this.volumeSlider).w;
+this.slotWidth=100;
+dojo.setSelectable(this.handle,false);
+this.volumeSlider=this.domNode.removeChild(this.volumeSlider);
+},setMedia:function(_1){
+this.media=_1;
+this.updateIcon();
+},updateIcon:function(_2){
+_2=(_2===undefined)?this.media.volume():_2;
+if(_2===0){
+dojo.attr(this.domNode,"class","Volume mute");
+}else{
+if(_2<0.334){
+dojo.attr(this.domNode,"class","Volume low");
+}else{
+if(_2<0.667){
+dojo.attr(this.domNode,"class","Volume med");
+}else{
+dojo.attr(this.domNode,"class","Volume high");
+}
+}
+}
+},onShowVolume:function(_3){
+if(this.showing==undefined){
+dojo.body().appendChild(this.volumeSlider);
+this.showing=false;
+}
+if(!this.showing){
+var _4=2;
+var _5=7;
+var _6=this.media.volume();
+var _7=this._getVolumeDim();
+var _8=this._getHandleDim();
+this.x=_7.x-this.width;
+dojo.style(this.volumeSlider,"display","");
+dojo.style(this.volumeSlider,"top",_7.y+"px");
+dojo.style(this.volumeSlider,"left",(this.x)+"px");
+var x=(this.slotWidth*_6);
+dojo.style(this.handle,"top",(_4+(_8.w/2))+"px");
+dojo.style(this.handle,"left",(x+_5+(_8.h/2))+"px");
+this.showing=true;
+this.clickOff=dojo.connect(dojo.doc,"onmousedown",this,"onDocClick");
+}else{
+this.onHideVolume();
+}
+},onDocClick:function(_a){
+if(!dojo.isDescendant(_a.target,this.domNode)&&!dojo.isDescendant(_a.target,this.volumeSlider)){
+this.onHideVolume();
+}
+},onHideVolume:function(){
+this.endDrag();
+dojo.style(this.volumeSlider,"display","none");
+this.showing=false;
+},onDrag:function(_b){
+var _c=this.handleWidth/2;
+var _d=_c+this.slotWidth;
+var x=_b.clientX-this.x;
+if(x<_c){
+x=_c;
+}
+if(x>_d){
+x=_d;
+}
+dojo.style(this.handle,"left",(x)+"px");
+var p=(x-_c)/(_d-_c);
+this.media.volume(p);
+this.updateIcon(p);
+},startDrag:function(){
+this.isDragging=true;
+this.cmove=dojo.connect(dojo.doc,"mousemove",this,"onDrag");
+this.cup=dojo.connect(dojo.doc,"mouseup",this,"endDrag");
+},endDrag:function(){
+this.isDragging=false;
+if(this.cmove){
+dojo.disconnect(this.cmove);
+}
+if(this.cup){
+dojo.disconnect(this.cup);
+}
+this.handleOut();
+},handleOver:function(){
+dojo.addClass(this.handle,"over");
+},handleOut:function(){
+if(!this.isDragging){
+dojo.removeClass(this.handle,"over");
+}
+},_getVolumeDim:function(){
+if(this._domCoords){
+return this._domCoords;
+}
+this._domCoords=dojo.coords(this.domNode);
+return this._domCoords;
+},_getHandleDim:function(){
+if(this._handleCoords){
+return this._handleCoords;
+}
+this._handleCoords=dojo.marginBox(this.handle);
+return this._handleCoords;
+},onResize:function(_10){
+this.onHideVolume();
+this._domCoords=null;
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/VolumeButton.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/PlayButton.html
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/PlayButton.html?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/PlayButton.html (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/PlayButton.html Thu Mar 19 10:37:00 2009
@@ -0,0 +1,3 @@
+<div class="PlayPauseToggle Pause" dojoAttachEvent="click:onClick">
+    <div class="icon"></div>
+</div>
\ No newline at end of file

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/PlayButton.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/Player.css
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/Player.css?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/Player.css (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/Player.css Thu Mar 19 10:37:00 2009
@@ -0,0 +1,192 @@
+@import "../../../dojo/resources/dojo.css";
+.playerContainer{
+	width:480px;
+	background:#76C8C4;
+	text-align:center;
+}
+.PlayerScreen{
+	background:#00FFFF;
+	width:320px;
+	height:240px;
+	margin-left:auto;
+	margin-right:auto;
+}
+.Controls{
+	height:85px;
+	background:#333333;
+	text-align:left;
+	width:100%;
+}
+.ControlsRight{
+	vertical-align:top;
+}
+.ControlsBottom{
+	vertical-align:bottom;
+}
+.StatusContainer{
+	width:100%;
+	height:100%;
+}
+.PlayContainer{
+	width:60px;
+	height:60px;
+}
+.Progress{
+	height:10px;
+}
+.Time, .Duration, .Status{
+	height:16px;
+	margin-top:0px;
+	color:#F5FFC8;
+	width:100%;
+}
+.Time{
+	padding-left:2px;
+} 
+.Duration{
+	padding-right:2px;
+	text-align:right;
+}
+.StatusContainer{
+	padding:0;
+	border-collapse:collapse;
+}
+.Status{
+	height:20px;
+	background:#ff0000;
+	table-layout:fixed;
+}
+.Status.statusError .statusTitle, .Status.statusError .statusInfo{
+	color:#FF0000;
+}
+.Status .statusTitle{
+	font-weight:bold;
+	color:#A5B3E9;
+}
+.Status .statusInfo{
+	font-weight:normal;
+	color:#3770D6;
+}
+.Time, .Duration, .Status{
+	font-family:Verdana, Arial, Helvetica, sans-serif;
+	font-size:9px;
+	background:#000000;
+}
+.Time, .Duration{
+	width:60px;
+}
+.Volume{
+	width:30px;
+	height:30px;
+	float:right;
+	margin-right:2px;
+	margin-top:auto;
+	background-image:url(images/player_sprite.png);
+	background-repeat:no-repeat;
+	background-position:-1px -62px;
+	cursor:pointer;
+}
+.Volume:hover{
+	background-position:-33px -62px;
+}
+.PlayPauseToggle{
+	width:60px;
+	height:60px;
+	background-image:url(images/player_sprite.png);
+	background-repeat:no-repeat;
+	background-position:-1px -1px;
+	cursor:pointer;
+	vertical-align:middle;
+	line-height:60px;
+}
+.PlayPauseToggle:hover{
+	background-position:-63px -1px;
+	cursor:pointer;
+}
+.icon{
+	background-image:url(images/dojoPlayerIcons.png);
+	background-repeat:no-repeat;
+	width:22px;
+	height:22px;
+}
+.PlayPauseToggle .icon{
+	position:relative;
+	top:19px;
+	left:19px;
+	background-position:-1px -1px;
+}
+.PlayPauseToggle.Play .icon{
+	background-position:-1px -1px;
+}
+.PlayPauseToggle.Pause .icon{
+	background-position:-24px -1px;
+}
+.Progress{
+	
+}
+.Progress, .ProgressLoaded, .ProgressPosition, .ProgressHandle{
+	height:10px;
+}
+.ProgressLoaded, .ProgressPosition, .ProgressHandle{
+	position:absolute;
+}
+.ProgressLoaded{
+background:url(images/progressLoadedBk.png) repeat-x;
+}
+.ProgressHandle{
+	background-image:url(images/sliderHandleSprite.png);
+	background-position:0px 0px;
+	width:15px;
+	margin-left:0px;
+	cursor:pointer;
+}
+.ProgressHandle.over{
+	background-position:-15px 0px;
+}
+.ProgressPosition{
+	background:url(images/progressPositionBk.png) repeat-x;
+	width:0px;
+}
+.VolumeSlider{
+	position:absolute;
+}
+.VolumeSliderBack{
+	width:128px;
+	height:30px;
+	background-image:url(images/player_sprite.png);
+	background-repeat:no-repeat;
+	background-position:-1px -95px;
+}
+.VolumeSliderHandle{
+	position:absolute;
+	width:12px;
+	height:14px;
+	background-image:url(images/player_sprite.png);
+	background-repeat:no-repeat;
+	background-position:-1px -140px;
+	cursor:pointer;
+}
+.VolumeSliderHandle.over{
+	background-position:-15px -138px;
+	cursor:pointer;
+}
+.Volume .icon{	
+	background-position:-60px -43px;
+	width:18px;
+	height:16px;
+	position:relative;
+	top:7px;
+	left:7px;
+}
+.Volume.mute .icon{	
+	background-position:-1px -43px;
+}
+.Volume.low .icon{	
+	background-position:-20px -43px;
+}
+.Volume.med .icon{	
+	background-position:-40px -43px;
+}
+.Volume.high .icon{	
+	background-position:-60px -43px;
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/Player.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/Player.html
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/Player.html?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/Player.html (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/Player.html Thu Mar 19 10:37:00 2009
@@ -0,0 +1,27 @@
+<div class="playerContainer">
+  <div class="PlayerScreen" dojoAttachPoint="playerScreen"></div>
+<table class="Controls">
+  <tr>
+    <td colspan="2" dojoAttachPoint="progressContainer">
+    	
+    </td>
+  </tr>
+  <tr>
+    <td class="PlayContainer" dojoAttachPoint="playContainer">
+    	
+     </td>
+    <td class="ControlsRight">
+      <table class="StatusContainer">
+        <tr dojoAttachPoint="statusContainer">
+          
+        </tr>
+     	<tr>
+        	<td colspan="3" class="ControlsBottom" dojoAttachPoint="controlsBottom">
+      			 
+      		</td>
+         </tr>
+      </table>
+    </td>
+  </tr>
+</table>
+</div>

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/Player.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/ProgressSlider.html
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/ProgressSlider.html?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/ProgressSlider.html (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/ProgressSlider.html Thu Mar 19 10:37:00 2009
@@ -0,0 +1,6 @@
+<div class="Progress" dojoAttachEvent="mousedown:startDrag">
+    
+    <div class="ProgressLoaded" dojoAttachPoint="progressLoaded"></div>
+    <div class="ProgressPosition" dojoAttachPoint="progressPosition"></div>
+	<div class="ProgressHandle" dojoAttachPoint="handle" dojoAttachEvent="mouseover:handleOver, mouseout:handleOut"></div>
+</div>
\ No newline at end of file

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/ProgressSlider.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/Status.html
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/Status.html?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/Status.html (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/Status.html Thu Mar 19 10:37:00 2009
@@ -0,0 +1,7 @@
+<table class="Status">
+    <tr>
+        <td class="Time"><span dojoAttachPoint="timeNode">0.00</span></td>
+        <td class="Status"><div dojoAttachPoint="titleNode">Loading...</div></td>
+        <td class="Duration"><span dojoAttachPoint="durNode">0.00</span></td>
+    </tr>
+</table>

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/Status.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/VolumeButton.html
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/VolumeButton.html?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/VolumeButton.html (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/VolumeButton.html Thu Mar 19 10:37:00 2009
@@ -0,0 +1,7 @@
+<div class="Volume" dojoAttachEvent="mousedown:onShowVolume">
+	<div class="VolumeSlider" dojoAttachPoint="volumeSlider">
+    	<div class="VolumeSliderBack" dojoAttachPoint="volumeSliderBack"></div>
+    	<div class="VolumeSliderHandle" dojoAttachPoint="handle" dojoAttachEvent="mousedown:startDrag, mouseup:endDrag, mouseover:handleOver, mouseout:handleOut"></div>	
+    </div>
+    <div class="icon"></div>
+</div>
\ No newline at end of file

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/VolumeButton.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/images/dojoPlayerIcons.png
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/images/dojoPlayerIcons.png?rev=755904&view=auto
==============================================================================
Binary file - no diff available.

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/images/dojoPlayerIcons.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/images/playerIcons
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/images/playerIcons?rev=755904&view=auto
==============================================================================
Binary file - no diff available.

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/images/playerIcons
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/images/player_sprite.png
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/images/player_sprite.png?rev=755904&view=auto
==============================================================================
Binary file - no diff available.

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/images/player_sprite.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/images/progressLoadedBk.png
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/images/progressLoadedBk.png?rev=755904&view=auto
==============================================================================
Binary file - no diff available.

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/images/progressLoadedBk.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/images/progressPositionBk.png
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/images/progressPositionBk.png?rev=755904&view=auto
==============================================================================
Binary file - no diff available.

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/images/progressPositionBk.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/images/sliderHandleNorm.png
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/images/sliderHandleNorm.png?rev=755904&view=auto
==============================================================================
Binary file - no diff available.

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/images/sliderHandleNorm.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/images/sliderHandleOver.png
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/images/sliderHandleOver.png?rev=755904&view=auto
==============================================================================
Binary file - no diff available.

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/images/sliderHandleOver.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/images/sliderHandleSprite.png
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/images/sliderHandleSprite.png?rev=755904&view=auto
==============================================================================
Binary file - no diff available.

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/av/widget/resources/images/sliderHandleSprite.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/Chart2D.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/Chart2D.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/Chart2D.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/Chart2D.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,373 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.charting.Chart2D"]){
+dojo._hasResource["dojox.charting.Chart2D"]=true;
+dojo.provide("dojox.charting.Chart2D");
+dojo.require("dojox.gfx");
+dojo.require("dojox.lang.functional");
+dojo.require("dojox.lang.functional.fold");
+dojo.require("dojox.lang.functional.reversed");
+dojo.require("dojox.charting.Theme");
+dojo.require("dojox.charting.Series");
+dojo.require("dojox.charting.axis2d.Default");
+dojo.require("dojox.charting.plot2d.Default");
+dojo.require("dojox.charting.plot2d.Lines");
+dojo.require("dojox.charting.plot2d.Areas");
+dojo.require("dojox.charting.plot2d.Markers");
+dojo.require("dojox.charting.plot2d.MarkersOnly");
+dojo.require("dojox.charting.plot2d.Scatter");
+dojo.require("dojox.charting.plot2d.Stacked");
+dojo.require("dojox.charting.plot2d.StackedLines");
+dojo.require("dojox.charting.plot2d.StackedAreas");
+dojo.require("dojox.charting.plot2d.Columns");
+dojo.require("dojox.charting.plot2d.StackedColumns");
+dojo.require("dojox.charting.plot2d.ClusteredColumns");
+dojo.require("dojox.charting.plot2d.Bars");
+dojo.require("dojox.charting.plot2d.StackedBars");
+dojo.require("dojox.charting.plot2d.ClusteredBars");
+dojo.require("dojox.charting.plot2d.Grid");
+dojo.require("dojox.charting.plot2d.Pie");
+dojo.require("dojox.charting.plot2d.Bubble");
+(function(){
+var df=dojox.lang.functional,dc=dojox.charting,_3=df.lambda("item.clear()"),_4=df.lambda("item.purgeGroup()"),_5=df.lambda("item.destroy()"),_6=df.lambda("item.dirty = false"),_7=df.lambda("item.dirty = true");
+dojo.declare("dojox.charting.Chart2D",null,{constructor:function(_8,_9){
+if(!_9){
+_9={};
+}
+this.margins=_9.margins?_9.margins:{l:10,t:10,r:10,b:10};
+this.stroke=_9.stroke;
+this.fill=_9.fill;
+this.theme=null;
+this.axes={};
+this.stack=[];
+this.plots={};
+this.series=[];
+this.runs={};
+this.dirty=true;
+this.coords=null;
+this.node=dojo.byId(_8);
+var _a=dojo.marginBox(_8);
+this.surface=dojox.gfx.createSurface(this.node,_a.w,_a.h);
+},destroy:function(){
+dojo.forEach(this.series,_5);
+dojo.forEach(this.stack,_5);
+df.forIn(this.axes,_5);
+this.surface.destroy();
+},getCoords:function(){
+if(!this.coords){
+this.coords=dojo.coords(this.node,true);
+}
+return this.coords;
+},setTheme:function(_b){
+this.theme=_b._clone();
+this.dirty=true;
+return this;
+},addAxis:function(_c,_d){
+var _e;
+if(!_d||!("type" in _d)){
+_e=new dc.axis2d.Default(this,_d);
+}else{
+_e=typeof _d.type=="string"?new dc.axis2d[_d.type](this,_d):new _d.type(this,_d);
+}
+_e.name=_c;
+_e.dirty=true;
+if(_c in this.axes){
+this.axes[_c].destroy();
+}
+this.axes[_c]=_e;
+this.dirty=true;
+return this;
+},getAxis:function(_f){
+return this.axes[_f];
+},removeAxis:function(_10){
+if(_10 in this.axes){
+this.axes[_10].destroy();
+delete this.axes[_10];
+this.dirty=true;
+}
+return this;
+},addPlot:function(_11,_12){
+var _13;
+if(!_12||!("type" in _12)){
+_13=new dc.plot2d.Default(this,_12);
+}else{
+_13=typeof _12.type=="string"?new dc.plot2d[_12.type](this,_12):new _12.type(this,_12);
+}
+_13.name=_11;
+_13.dirty=true;
+if(_11 in this.plots){
+this.stack[this.plots[_11]].destroy();
+this.stack[this.plots[_11]]=_13;
+}else{
+this.plots[_11]=this.stack.length;
+this.stack.push(_13);
+}
+this.dirty=true;
+return this;
+},removePlot:function(_14){
+if(_14 in this.plots){
+var _15=this.plots[_14];
+delete this.plots[_14];
+this.stack[_15].destroy();
+this.stack.splice(_15,1);
+df.forIn(this.plots,function(idx,_17,_18){
+if(idx>_15){
+_18[_17]=idx-1;
+}
+});
+this.dirty=true;
+}
+return this;
+},addSeries:function(_19,_1a,_1b){
+var run=new dc.Series(this,_1a,_1b);
+if(_19 in this.runs){
+this.series[this.runs[_19]].destroy();
+this.series[this.runs[_19]]=run;
+}else{
+this.runs[_19]=this.series.length;
+this.series.push(run);
+}
+run.name=_19;
+this.dirty=true;
+if(!("ymin" in run)&&"min" in run){
+run.ymin=run.min;
+}
+if(!("ymax" in run)&&"max" in run){
+run.ymax=run.max;
+}
+return this;
+},removeSeries:function(_1d){
+if(_1d in this.runs){
+var _1e=this.runs[_1d],_1f=this.series[_1e].plot;
+delete this.runs[_1d];
+this.series[_1e].destroy();
+this.series.splice(_1e,1);
+df.forIn(this.runs,function(idx,_21,_22){
+if(idx>_1e){
+_22[_21]=idx-1;
+}
+});
+this.dirty=true;
+}
+return this;
+},updateSeries:function(_23,_24){
+if(_23 in this.runs){
+var run=this.series[this.runs[_23]];
+run.data=_24;
+run.dirty=true;
+this._invalidateDependentPlots(run.plot,false);
+this._invalidateDependentPlots(run.plot,true);
+}
+return this;
+},resize:function(_26,_27){
+var box;
+switch(arguments.length){
+case 0:
+box=dojo.marginBox(this.node);
+break;
+case 1:
+box=_26;
+break;
+default:
+box={w:_26,h:_27};
+break;
+}
+dojo.marginBox(this.node,box);
+this.surface.setDimensions(box.w,box.h);
+this.dirty=true;
+this.coords=null;
+return this.render();
+},getGeometry:function(){
+var ret={};
+df.forIn(this.axes,function(_2a){
+if(_2a.initialized()){
+ret[_2a.name]={name:_2a.name,vertical:_2a.vertical,scaler:_2a.scaler,ticks:_2a.ticks};
+}
+});
+return ret;
+},setAxisWindow:function(_2b,_2c,_2d){
+var _2e=this.axes[_2b];
+if(_2e){
+_2e.setWindow(_2c,_2d);
+}
+return this;
+},setWindow:function(sx,sy,dx,dy){
+if(!("plotArea" in this)){
+this.calculateGeometry();
+}
+df.forIn(this.axes,function(_33){
+var _34,_35,_36=_33.getScaler().bounds,s=_36.span/(_36.upper-_36.lower);
+if(_33.vertical){
+_34=sy;
+_35=dy/s/_34;
+}else{
+_34=sx;
+_35=dx/s/_34;
+}
+_33.setWindow(_34,_35);
+});
+return this;
+},calculateGeometry:function(){
+if(this.dirty){
+return this.fullGeometry();
+}
+dojo.forEach(this.stack,function(_38){
+if(_38.dirty||(_38.hAxis&&this.axes[_38.hAxis].dirty)||(_38.vAxis&&this.axes[_38.vAxis].dirty)){
+_38.calculateAxes(this.plotArea);
+}
+},this);
+return this;
+},fullGeometry:function(){
+this._makeDirty();
+dojo.forEach(this.stack,_3);
+if(!this.theme){
+this.setTheme(new dojox.charting.Theme(dojox.charting._def));
+}
+dojo.forEach(this.series,function(run){
+if(!(run.plot in this.plots)){
+var _3a=new dc.plot2d.Default(this,{});
+_3a.name=run.plot;
+this.plots[run.plot]=this.stack.length;
+this.stack.push(_3a);
+}
+this.stack[this.plots[run.plot]].addSeries(run);
+},this);
+dojo.forEach(this.stack,function(_3b){
+if(_3b.hAxis){
+_3b.setAxis(this.axes[_3b.hAxis]);
+}
+if(_3b.vAxis){
+_3b.setAxis(this.axes[_3b.vAxis]);
+}
+},this);
+var dim=this.dim=this.surface.getDimensions();
+dim.width=dojox.gfx.normalizedLength(dim.width);
+dim.height=dojox.gfx.normalizedLength(dim.height);
+df.forIn(this.axes,_3);
+dojo.forEach(this.stack,function(_3d){
+_3d.calculateAxes(dim);
+});
+var _3e=this.offsets={l:0,r:0,t:0,b:0};
+df.forIn(this.axes,function(_3f){
+df.forIn(_3f.getOffsets(),function(o,i){
+_3e[i]+=o;
+});
+});
+df.forIn(this.margins,function(o,i){
+_3e[i]+=o;
+});
+this.plotArea={width:dim.width-_3e.l-_3e.r,height:dim.height-_3e.t-_3e.b};
+df.forIn(this.axes,_3);
+dojo.forEach(this.stack,function(_44){
+_44.calculateAxes(this.plotArea);
+},this);
+return this;
+},render:function(){
+if(this.theme){
+this.theme.clear();
+}
+if(this.dirty){
+return this.fullRender();
+}
+this.calculateGeometry();
+df.forEachRev(this.stack,function(_45){
+_45.render(this.dim,this.offsets);
+},this);
+df.forIn(this.axes,function(_46){
+_46.render(this.dim,this.offsets);
+},this);
+this._makeClean();
+if(this.surface.render){
+this.surface.render();
+}
+return this;
+},fullRender:function(){
+this.fullGeometry();
+var _47=this.offsets,dim=this.dim;
+var _49=df.foldl(this.stack,"z + plot.getRequiredColors()",0);
+this.theme.defineColors({num:_49,cache:false});
+dojo.forEach(this.series,_4);
+df.forIn(this.axes,_4);
+dojo.forEach(this.stack,_4);
+this.surface.clear();
+var t=this.theme,_4b=t.plotarea&&t.plotarea.fill,_4c=t.plotarea&&t.plotarea.stroke;
+if(_4b){
+this.surface.createRect({x:_47.l,y:_47.t,width:dim.width-_47.l-_47.r,height:dim.height-_47.t-_47.b}).setFill(_4b);
+}
+if(_4c){
+this.surface.createRect({x:_47.l,y:_47.t,width:dim.width-_47.l-_47.r-1,height:dim.height-_47.t-_47.b-1}).setStroke(_4c);
+}
+df.foldr(this.stack,function(z,_4e){
+return _4e.render(dim,_47),0;
+},0);
+_4b=this.fill?this.fill:(t.chart&&t.chart.fill);
+_4c=this.stroke?this.stroke:(t.chart&&t.chart.stroke);
+if(_4b=="inherit"){
+var _4f=this.node,_4b=new dojo.Color(dojo.style(_4f,"backgroundColor"));
+while(_4b.a==0&&_4f!=document.documentElement){
+_4b=new dojo.Color(dojo.style(_4f,"backgroundColor"));
+_4f=_4f.parentNode;
+}
+}
+if(_4b){
+if(_47.l){
+this.surface.createRect({width:_47.l,height:dim.height+1}).setFill(_4b);
+}
+if(_47.r){
+this.surface.createRect({x:dim.width-_47.r,width:_47.r+1,height:dim.height+1}).setFill(_4b);
+}
+if(_47.t){
+this.surface.createRect({width:dim.width+1,height:_47.t}).setFill(_4b);
+}
+if(_47.b){
+this.surface.createRect({y:dim.height-_47.b,width:dim.width+1,height:_47.b+2}).setFill(_4b);
+}
+}
+if(_4c){
+this.surface.createRect({width:dim.width-1,height:dim.height-1}).setStroke(_4c);
+}
+df.forIn(this.axes,function(_50){
+_50.render(dim,_47);
+});
+this._makeClean();
+if(this.surface.render){
+this.surface.render();
+}
+return this;
+},connectToPlot:function(_51,_52,_53){
+return _51 in this.plots?this.stack[this.plots[_51]].connect(_52,_53):null;
+},_makeClean:function(){
+dojo.forEach(this.axes,_6);
+dojo.forEach(this.stack,_6);
+dojo.forEach(this.series,_6);
+this.dirty=false;
+},_makeDirty:function(){
+dojo.forEach(this.axes,_7);
+dojo.forEach(this.stack,_7);
+dojo.forEach(this.series,_7);
+this.dirty=true;
+},_invalidateDependentPlots:function(_54,_55){
+if(_54 in this.plots){
+var _56=this.stack[this.plots[_54]],_57,_58=_55?"vAxis":"hAxis";
+if(_56[_58]){
+_57=this.axes[_56[_58]];
+if(_57.dependOnData()){
+_57.dirty=true;
+dojo.forEach(this.stack,function(p){
+if(p[_58]&&p[_58]==_56[_58]){
+p.dirty=true;
+}
+});
+}
+}else{
+_56.dirty=true;
+}
+}
+}});
+})();
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/Chart2D.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/Chart3D.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/Chart3D.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/Chart3D.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/Chart3D.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,73 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.charting.Chart3D"]){
+dojo._hasResource["dojox.charting.Chart3D"]=true;
+dojo.provide("dojox.charting.Chart3D");
+dojo.require("dojox.gfx3d");
+(function(){
+var _1={x:0,y:0,z:1},v=dojox.gfx3d.vector,n=dojox.gfx.normalizedLength;
+dojo.declare("dojox.charting.Chart3D",null,{constructor:function(_4,_5,_6,_7){
+this.node=dojo.byId(_4);
+this.surface=dojox.gfx.createSurface(this.node,n(this.node.style.width),n(this.node.style.height));
+this.view=this.surface.createViewport();
+this.view.setLights(_5.lights,_5.ambient,_5.specular);
+this.view.setCameraTransform(_6);
+this.theme=_7;
+this.walls=[];
+this.plots=[];
+},generate:function(){
+return this._generateWalls()._generatePlots();
+},invalidate:function(){
+this.view.invalidate();
+return this;
+},render:function(){
+this.view.render();
+return this;
+},addPlot:function(_8){
+return this._add(this.plots,_8);
+},removePlot:function(_9){
+return this._remove(this.plots,_9);
+},addWall:function(_a){
+return this._add(this.walls,_a);
+},removeWall:function(_b){
+return this._remove(this.walls,_b);
+},_add:function(_c,_d){
+if(!dojo.some(_c,function(i){
+return i==_d;
+})){
+_c.push(_d);
+this.view.invalidate();
+}
+return this;
+},_remove:function(_f,_10){
+var a=dojo.filter(_f,function(i){
+return i!=_10;
+});
+return a.length<_f.length?(_f=a,this.invalidate()):this;
+},_generateWalls:function(){
+for(var i=0;i<this.walls.length;++i){
+if(v.dotProduct(_1,this.walls[i].normal)>0){
+this.walls[i].generate(this);
+}
+}
+return this;
+},_generatePlots:function(){
+var _14=0,m=dojox.gfx3d.matrix,i=0;
+for(;i<this.plots.length;++i){
+_14+=this.plots[i].getDepth();
+}
+for(--i;i>=0;--i){
+var _17=this.view.createScene();
+_17.setTransform(m.translate(0,0,-_14));
+this.plots[i].generate(this,_17);
+_14-=this.plots[i].getDepth();
+}
+return this;
+}});
+})();
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/Chart3D.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/Element.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/Element.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/Element.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/Element.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,53 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.charting.Element"]){
+dojo._hasResource["dojox.charting.Element"]=true;
+dojo.provide("dojox.charting.Element");
+dojo.declare("dojox.charting.Element",null,{constructor:function(_1){
+this.chart=_1;
+this.group=null;
+this.htmlElements=[];
+this.dirty=true;
+},createGroup:function(_2){
+if(!_2){
+_2=this.chart.surface;
+}
+if(!this.group){
+this.group=_2.createGroup();
+}
+return this;
+},purgeGroup:function(){
+this.destroyHtmlElements();
+if(this.group){
+this.group.clear();
+this.group.removeShape();
+this.group=null;
+}
+this.dirty=true;
+return this;
+},cleanGroup:function(_3){
+this.destroyHtmlElements();
+if(!_3){
+_3=this.chart.surface;
+}
+if(this.group){
+this.group.clear();
+}else{
+this.group=_3.createGroup();
+}
+this.dirty=true;
+return this;
+},destroyHtmlElements:function(){
+if(this.htmlElements.length){
+dojo.forEach(this.htmlElements,dojo.destroy);
+this.htmlElements=[];
+}
+},destroy:function(){
+this.purgeGroup();
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/Element.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/README
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/README?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/README (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/README Thu Mar 19 10:37:00 2009
@@ -0,0 +1,31 @@
+-------------------------------------------------------------------------------
+dojox.charting
+-------------------------------------------------------------------------------
+Version 0.800
+Release date: 10/31/2007
+-------------------------------------------------------------------------------
+Project state:
+beta
+-------------------------------------------------------------------------------
+Credits
+	Tom Trenka (ttrenka@gmail.com)
+	Eugene Lazutkin (eugene.lazutkin@gmail.com)
+-------------------------------------------------------------------------------
+Project description
+
+Implementation of simple charting library based on dojox.gfx/dojox.gfx3d.
+-------------------------------------------------------------------------------
+Dependencies:
+
+Dojo Core, dojox.gfx, dojox.gfx3d, dojox.lang.
+-------------------------------------------------------------------------------
+Documentation
+
+Not ready yet.
+-------------------------------------------------------------------------------
+Installation instructions
+
+Grab the following from the Dojo SVN Repository:
+http://svn.dojotoolkit.org/var/src/dojo/dojox/trunk/
+http://svn.dojotoolkit.org/var/src/dojo/dojox/trunk/
+-------------------------------------------------------------------------------

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/README
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/Series.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/Series.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/Series.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/Series.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,23 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.charting.Series"]){
+dojo._hasResource["dojox.charting.Series"]=true;
+dojo.provide("dojox.charting.Series");
+dojo.require("dojox.charting.Element");
+dojo.declare("dojox.charting.Series",dojox.charting.Element,{constructor:function(_1,_2,_3){
+dojo.mixin(this,_3);
+if(typeof this.plot!="string"){
+this.plot="default";
+}
+this.data=_2;
+this.dirty=true;
+this.clear();
+},clear:function(){
+this.dyn={};
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/Series.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/Theme.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/Theme.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/Theme.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/Theme.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,82 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.charting.Theme"]){
+dojo._hasResource["dojox.charting.Theme"]=true;
+dojo.provide("dojox.charting.Theme");
+dojo.require("dojox.color");
+dojo.require("dojox.color.Palette");
+(function(){
+var _1=dojox.charting;
+_1.Theme=function(_2){
+_2=_2||{};
+var _3=_1.Theme._def;
+dojo.forEach(["chart","plotarea","axis","series","marker"],function(n){
+this[n]=dojo.delegate(_3[n],_2[n]||{});
+},this);
+this.markers=dojo.delegate(_1.Theme.Markers,_2.markers||{});
+this.colors=[];
+this.antiAlias=("antiAlias" in _2)?_2.antiAlias:true;
+this.assignColors=("assignColors" in _2)?_2.assignColors:true;
+this.assignMarkers=("assignMarkers" in _2)?_2.assignMarkers:true;
+_2.colors=_2.colors||_3.colors;
+dojo.forEach(_2.colors,function(_5){
+this.colors.push(_5);
+},this);
+this._current={color:0,marker:0};
+this._markers=[];
+this._buildMarkerArray();
+};
+_1.Theme.Markers={CIRCLE:"m-3,0 c0,-4 6,-4 6,0 m-6,0 c0,4 6,4 6,0",SQUARE:"m-3,-3 l0,6 6,0 0,-6 z",DIAMOND:"m0,-3 l3,3 -3,3 -3,-3 z",CROSS:"m0,-3 l0,6 m-3,-3 l6,0",X:"m-3,-3 l6,6 m0,-6 l-6,6",TRIANGLE:"m-3,3 l3,-6 3,6 z",TRIANGLE_INVERTED:"m-3,-3 l3,6 3,-6 z"};
+_1.Theme._def={chart:{stroke:null,fill:"white"},plotarea:{stroke:null,fill:"white"},axis:{stroke:{color:"#333",width:1},majorTick:{color:"#666",width:1,length:6,position:"center"},minorTick:{color:"#666",width:0.8,length:3,position:"center"},font:"normal normal normal 7pt Tahoma",fontColor:"#333"},series:{outline:{width:0.1,color:"#ccc"},stroke:{width:1.5,color:"#333"},fill:"#ccc",font:"normal normal normal 7pt Tahoma",fontColor:"#000"},marker:{stroke:{width:1},fill:"#333",font:"normal normal normal 7pt Tahoma",fontColor:"#000"},colors:["#54544c","#858e94","#6e767a","#948585","#474747"]};
+dojo.extend(_1.Theme,{defineColors:function(_6){
+var _7=_6||{};
+var c=[],n=_7.num||5;
+if(_7.colors){
+var l=_7.colors.length;
+for(var i=0;i<n;i++){
+c.push(_7.colors[i%l]);
+}
+this.colors=c;
+}else{
+if(_7.hue){
+var s=_7.saturation||100;
+var st=_7.low||30;
+var _e=_7.high||90;
+var l=(_e+st)/2;
+this.colors=dojox.color.Palette.generate(dojox.color.fromHsv(_7.hue,s,l),"monochromatic").colors;
+}else{
+if(_7.generator){
+this.colors=dojox.color.Palette.generate(_7.base,_7.generator).colors;
+}
+}
+}
+},_buildMarkerArray:function(){
+this._markers=[];
+for(var p in this.markers){
+this._markers.push(this.markers[p]);
+}
+this._current.marker=0;
+},_clone:function(){
+return new _1.Theme({chart:this.chart,plotarea:this.plotarea,axis:this.axis,series:this.series,marker:this.marker,antiAlias:this.antiAlias,assignColors:this.assignColors,assignMarkers:this.assigneMarkers,colors:dojo.delegate(this.colors)});
+},addMarker:function(_10,_11){
+this.markers[_10]=_11;
+this._buildMarkerArray();
+},setMarkers:function(obj){
+this.markers=obj;
+this._buildMarkerArray();
+},next:function(_13){
+if(_13=="marker"){
+return this._markers[this._current.marker++%this._markers.length];
+}else{
+return this.colors[this._current.color++%this.colors.length];
+}
+},clear:function(){
+this._current={color:0,marker:0};
+}});
+})();
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/Theme.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/action2d/Base.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/action2d/Base.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/action2d/Base.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/action2d/Base.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,45 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.charting.action2d.Base"]){
+dojo._hasResource["dojox.charting.action2d.Base"]=true;
+dojo.provide("dojox.charting.action2d.Base");
+dojo.require("dojo.fx.easing");
+dojo.require("dojox.lang.functional.object");
+dojo.require("dojox.gfx.fx");
+(function(){
+var _1=400,_2=dojo.fx.easing.backOut,df=dojox.lang.functional;
+dojo.declare("dojox.charting.action2d.Base",null,{overOutEvents:{onmouseover:1,onmouseout:1},constructor:function(_4,_5,_6){
+this.chart=_4;
+this.plot=_5?_5:"default";
+this.anim={};
+if(!_6){
+_6={};
+}
+this.duration=_6.duration?_6.duration:_1;
+this.easing=_6.easing?_6.easing:_2;
+},connect:function(){
+this.handle=this.chart.connectToPlot(this.plot,this,"process");
+},disconnect:function(){
+if(this.handle){
+dojo.disconnect(this.handle);
+this.handle=null;
+}
+},reset:function(){
+},destroy:function(){
+if(this.handle){
+this.disconnect();
+}
+df.forIn(this.anim,function(o){
+df.forIn(o,function(_8){
+_8.action.stop(true);
+});
+});
+this.anim={};
+}});
+})();
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/action2d/Base.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/action2d/Highlight.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/action2d/Highlight.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/action2d/Highlight.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/action2d/Highlight.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,76 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.charting.action2d.Highlight"]){
+dojo._hasResource["dojox.charting.action2d.Highlight"]=true;
+dojo.provide("dojox.charting.action2d.Highlight");
+dojo.require("dojox.charting.action2d.Base");
+dojo.require("dojox.color");
+(function(){
+var _1=100,_2=75,_3=50,c=dojox.color,cc=function(_6){
+return function(){
+return _6;
+};
+},hl=function(_8){
+var a=new c.Color(_8),x=a.toHsl();
+if(x.s==0){
+x.l=x.l<50?100:0;
+}else{
+x.s=_1;
+if(x.l<_3){
+x.l=_2;
+}else{
+if(x.l>_2){
+x.l=_3;
+}else{
+x.l=x.l-_3>_2-x.l?_3:_2;
+}
+}
+}
+return c.fromHsl(x);
+};
+dojo.declare("dojox.charting.action2d.Highlight",dojox.charting.action2d.Base,{defaultParams:{duration:400,easing:dojo.fx.easing.backOut},optionalParams:{highlight:"red"},constructor:function(_b,_c,_d){
+var a=_d&&_d.highlight;
+this.colorFun=a?(dojo.isFunction(a)?a:cc(a)):hl;
+this.connect();
+},process:function(o){
+if(!o.shape||!(o.type in this.overOutEvents)){
+return;
+}
+var _10=o.run.name,_11=o.index,_12,_13,_14;
+if(_10 in this.anim){
+_12=this.anim[_10][_11];
+}else{
+this.anim[_10]={};
+}
+if(_12){
+_12.action.stop(true);
+}else{
+var _15=o.shape.getFill();
+if(!_15||!(_15 instanceof dojo.Color)){
+return;
+}
+this.anim[_10][_11]=_12={start:_15,end:this.colorFun(_15)};
+}
+var _16=_12.start,end=_12.end;
+if(o.type=="onmouseout"){
+var t=_16;
+_16=end;
+end=t;
+}
+_12.action=dojox.gfx.fx.animateFill({shape:o.shape,duration:this.duration,easing:this.easing,color:{start:_16,end:end}});
+if(o.type=="onmouseout"){
+dojo.connect(_12.action,"onEnd",this,function(){
+if(this.anim[_10]){
+delete this.anim[_10][_11];
+}
+});
+}
+_12.action.play();
+}});
+})();
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/charting/action2d/Highlight.js
------------------------------------------------------------------------------
    svn:eol-style = native