You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by se...@apache.org on 2011/12/18 16:22:22 UTC
svn commit: r1220424 [5/10] - in
/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10:
./ base/ base/components/ base/components/button/
base/components/button/doc/ base/components/button/doc/lzx/
base/components/button/doc/l...
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/presenter/guiPresenter.lzx
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/presenter/guiPresenter.lzx?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/presenter/guiPresenter.lzx (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/presenter/guiPresenter.lzx Sun Dec 18 15:22:12 2011
@@ -0,0 +1,552 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<library>
+
+<class name="guiPresenter" extends="view" width="250" height="400"
+ clickable="$once{ this.isdragable }"
+ onmousedown="this._startDragState(this)" onmouseup="this._removeDragState(this)" >
+
+ <switch>
+ <when property="$as3">
+ <passthrough>
+ import flash.filters.DropShadowFilter;
+ </passthrough>
+ </when>
+ </switch>
+
+ <handler name="oninit">
+ this.setShadow();
+ </handler>
+
+ <method name="setShadow">
+ <![CDATA[
+ if (this.isinited && this.hasshadow){
+ this.normalMC = this.getDisplayObject();
+ this.displacementMap = new DropShadowFilter();
+ this.normalMC.filters = [this.displacementMap];
+ }
+ ]]>
+ </method>
+
+ <attribute name="hasshadow" value="true" type="boolean" />
+
+ <!--- The Title of this Box -->
+ <attribute name="title" value="defaulttitle" type="string" />
+
+ <!--- if this Box should be closeable -->
+ <attribute name="closable" value="true" type="boolean" />
+
+ <!--- if this Box should be resizeable -->
+ <attribute name="resizeable" value="true" type="boolean" />
+
+ <!--- Can this Box be docked to others and
+ the width/height of parent compoent barrier -->
+ <attribute name="docking" value="true" type="boolean" />
+
+ <!--- Hard to explain but its clear if you play around
+ with that. Its the number of minimum pixels before
+ the "docking" effect will be there -->
+ <attribute name="dockingbarrier" value="15" type="number" />
+
+ <!---@keywords private the list of connected views -->
+ <attribute name="dockinglist" value="null" />
+
+ <!--- @keywords private temp-older of x-distance to docked-Box -->
+ <attribute name="tempXdistance" value="0" type="number" />
+
+ <!--- @keywords private temp-older of y-distance to docked-Box -->
+ <attribute name="tempYdistance" value="0" type="number" />
+
+ <!--- @keywords private is the Box minimized -->
+ <attribute name="isopen" value="true" type="boolean" />
+
+ <!--- @keywords private is the Box minimized -->
+ <attribute name="open" value="true" type="boolean" />
+
+ <!--- @keywords private -->
+ <attribute name="initheight" value="0" type="number" />
+
+ <!--- @keywords private show minimize, maximize, close buttons -->
+ <attribute name="fullToolBar" value="true" type="boolean" />
+
+ <attribute name="maximizable" value="true" type="boolean" />
+
+ <attribute name="minimizable" value="true" type="boolean" />
+
+ <attribute name="minimized" value="false" type="boolean" />
+
+ <attribute name="customMinimizeMethod" value="false" type="boolean" />
+
+ <attribute name="initialHeight" value="0" type="number"/>
+
+ <!--- @keywords private if this window is dragable -->
+ <attribute name="isdragable" value="true" type="boolean" />
+
+ <attribute name="_barmenuButtonRef" value="null" />
+
+ <!--- if this Box should be resizeable -->
+ <attribute name="ismaximized" value="false" type="boolean" />
+ <attribute name="maxi_x" value="0" type="number" />
+ <attribute name="maxi_y" value="0" type="number" />
+ <attribute name="maxi_height" value="0" type="number" />
+ <attribute name="maxi_width" value="0" type="number" />
+
+ <attribute name="isresizeing" value="false" type="boolean" />
+
+ <attribute name="labelid" type="number" setter="setLabelId(labelid)" />
+ <method name="setLabelId" args="id">
+ this.labelid=id;
+ this.setAttribute('title',canvas.getLabelName(this.labelid));
+ </method>
+
+ <!--- the Event will be thrown if you close the Box -->
+ <event name="onclose" />
+
+ <!--- the Event will be thrown if you do click on it and drag -->
+ <event name="onactivate" />
+
+ <!--- this Event will be triggered after resizing -->
+ <event name="onresized" />
+
+ <!--- @keywords private store initial height so toggleopen can reset height -->
+ <handler name="oninit">
+ this.initheight=this.height;
+ //Debug.write("this.isopen: ",this.isopen);
+ if (!this.open) toggleopen();
+ </handler>
+
+ <handler name="onwidth" args="w">
+ <![CDATA[
+ if (this.isresizeing){
+ if (w<_titlebar._title.width+70) {
+ this.setAttribute('width',_titlebar._title.width+71);
+ this._resizeview.onmouseup.sendEvent();
+ }
+ }
+ ]]>
+ </handler>
+
+ <handler name="onheight" args="h">
+ <![CDATA[
+ if (this.isresizeing){
+ if (h<40) {
+ this.setAttribute('height',41);
+ this._resizeview.onmouseup.sendEvent();
+ }
+ }
+ ]]>
+ </handler>
+
+ <method name="close">
+ if (this.onclose) this.onclose.sendEvent();
+ if (this._barmenuButtonRef!=null){
+ this._barmenuButtonRef.destroy();
+ this._barmenuButtonRef.parent.onwidth.sendEvent();
+ }
+ this.destroy();
+ </method>
+
+ <method name="minimize">
+ <![CDATA[
+ this.setAttribute("minimized",true);
+
+ this._titlebar._toolbar._minimize.setAttribute("visibility","hidden");
+ this._titlebar._toolbar._maximize2.setAttribute("visibility","visible");
+
+ if (this.customMinimizeMethod) {
+ return;
+ }
+
+ for (var eg in this.subviews) {
+ if (this.subviews[eg].name != "_titlebar"
+ && this.subviews[eg].name != "_bg") {
+ this.subviews[eg].setAttribute("visibility","hidden");
+ }
+ }
+
+ this.initialHeight = this.height;
+ //this.setAttribute("height",20);
+ this._minimizeZoom.setAttribute("to",20);
+ this._minimizeZoom.doStart();
+ ]]>
+ </method>
+
+ <method name="reminimize">
+ <![CDATA[
+ this.setAttribute("minimized",false);
+
+ this._titlebar._toolbar._minimize.setAttribute("visibility","visible");
+ this._titlebar._toolbar._maximize2.setAttribute("visibility","hidden");
+
+ if (this.customMinimizeMethod) {
+ return;
+ }
+
+ //this.setAttribute("height",this.initialHeight);
+ this._minimizeZoom.setAttribute("to",this.initialHeight);
+ this._minimizeZoom.doStart();
+ ]]>
+ </method>
+
+ <method name="reminimizeComplete">
+ <![CDATA[
+ if (!this.minimized) {
+
+ for (var eg in this.subviews) {
+ if (this.subviews[eg].name != "_titlebar"
+ && this.subviews[eg].name != "_bg") {
+ this.subviews[eg].setAttribute("visibility","visible");
+ }
+ }
+
+ if (!this.resizeable) {
+ this._resizeview.setAttribute("visibility","hidden");
+ }
+
+ }
+ ]]>
+ </method>
+
+ <method name="toggleopen">
+ //////Debug.write("this.isopen",this.isopen);
+ this.setAttribute('isopen',!this.isopen);
+ if (this.isopen){
+ _calcdockingList();
+ for (var eg in this.dockinglist){
+ if(this.dockinglist[eg].docking){
+ //////Debug.write("this.dockinglist[eg]: ",this.dockinglist[eg].title);
+ //////Debug.write("open new y",this.y+this.initheight);
+ this.dockinglist[eg].toggleOpenByParent(this.initheight-22);
+ this.dockinglist[eg].setAttribute('y',this.y+this.initheight);
+
+ }
+ }
+ this.setAttribute('height',this.initheight);
+ } else {
+ _calcdockingList();
+ for (var eg in this.dockinglist){
+ if(this.dockinglist[eg].docking){
+ //////Debug.write("this.dockinglist[eg]: ",this.dockinglist[eg].title);
+ this.dockinglist[eg].toggleOpenByParent(-(this.initheight-22));
+ this.dockinglist[eg].setAttribute('y',this.y+22);
+ }
+ }
+ this.setAttribute('height',22);
+ }
+ </method>
+
+ <method name="toggleOpenByParent" args="changeY">
+ //////Debug.write("+++++ toggleOpenByParent +++++ changeY: ",this.title,changeY);
+ var tempList=new Array();
+ <![CDATA[
+ //check for dockable stuff which is connected to this Box
+ for (var eg in this.parent.subviews){
+ //check that you do not calc with yourself
+ if (this.parent.subviews[eg]!=this && this.parent.subviews[eg].docking){
+ // there are 4 cases which have to be proofed to check every possible situation
+ var proof=false;
+ //////Debug.write("found some: ",this.parent.subviews[eg].title);
+ //top box-border
+ if ( ( ((this.y+this.height)-this.parent.subviews[eg].y) < 1 ) && ( ((this.y+this.height)-this.parent.subviews[eg].y) > -1 ) && ( (this.x+this.width) > this.parent.subviews[eg].x ) && ( this.x < (this.parent.subviews[eg].x+this.parent.subviews[eg].width) ) ){
+ proof=true;
+ }
+
+ if (proof) tempList.push(this.parent.subviews[eg]);
+ }
+ }
+ ]]>
+ //////Debug.write("tempList.length: ",tempList.length);
+ if (tempList.length!=0){
+ for (var eg in tempList){
+ if(tempList[eg].docking){
+ //////Debug.write("toggleOpenByParent 1 [eg],changeY: ",tempList[eg].title,changeY);
+ tempList[eg].toggleOpenByParent(changeY);
+ tempList[eg].setAttribute('y',tempList[eg].y+changeY);
+ }
+ }
+ }
+
+ </method>
+
+ <method name="activate">
+ this.onactivate.sendEvent();
+ this.bringToFront();
+ if (this._barmenuButtonRef!=null) this._barmenuButtonRef.sendActiveWindow(this);
+ </method>
+
+ <method name="rsapply">
+ this.isresizeing=true;
+ this.rs.apply();
+ </method>
+
+ <method name="rsremove">
+ this.rs.remove();
+ this.isresizeing=false;
+ //Debug.write("rsremove",this,this.isinited);
+ this.onresized.sendEvent();
+ </method>
+
+ <!--- @keywords private -->
+ <method name="_removeDragState" args="obj">
+ if (!this.ismaximized){
+ //It's important to remove the dragger and do docking stuff before you check for conencted Boxes
+ dragger.remove();
+ if (obj==this){
+ if (docking) arrangePosition();
+ } else {
+ if (docking) _lookforParentOnly(obj);
+ }
+
+ //check for connected Boxes
+ for (var eg in this.dockinglist){
+ if(this.dockinglist[eg].docking){
+ this.dockinglist[eg]._removeDragState(this);
+ }
+ }
+ }
+ </method>
+
+
+
+ <!--- @keywords private
+ the arg obj is needed because the dragging can be called by the Box itself
+ or by a Box which is connected to this Box! -->
+ <method name="_startDragState" args="obj">
+ this.activate();
+ if (!this.ismaximized){
+ _calcdockingList();
+ for (var eg in this.dockinglist){
+ if(this.dockinglist[eg].docking){
+ this.dockinglist[eg]._startDragState(this);
+ }
+ }
+ //store position cause it wasn't dragged by itself
+ if (obj!=this){
+ storeAdjustmentToParent(obj.x,obj.y);
+ }
+ dragger.apply();
+ }
+ </method>
+
+ <!--- Calc the List of Boxes which will be dragged and setposition if this Box
+ will be dragged,docked or minimized/maximized -->
+ <method name="_calcdockingList">
+ //Clear list of conencted Boxes
+ this.dockinglist=new Array();
+ <![CDATA[
+ //check for dockable stuff which is connected to this Box
+ for (var eg in this.parent.subviews){
+ //check that you do not calc with yourself
+ if (this.parent.subviews[eg]!=this && this.parent.subviews[eg].docking){
+ // there are 4 cases which have to be proofed to check every possible situation
+ var proof=false;
+
+ //top box-border
+ if ( ( ((this.y+this.height)-this.parent.subviews[eg].y) < 1 ) && ( ((this.y+this.height)-this.parent.subviews[eg].y) > -1 ) && ( (this.x+this.width) > this.parent.subviews[eg].x ) && ( this.x < (this.parent.subviews[eg].x+this.parent.subviews[eg].width) ) ){
+ proof=true;
+ }
+
+ if (proof) this.dockinglist.push(this.parent.subviews[eg]);
+ }
+ }
+ ]]>
+ //////Debug.write("this.dockinglist.length:",this.dockinglist.length);
+ </method>
+
+ <!--- @keywords private -->
+ <method name="arrangePosition">
+ //do the magic
+ //the idea is: look for all on the view container one level above this one
+ //and look for the width/height and 0/0 and look for "dockable" stuff there
+ var newx=this.x;
+ var newy=this.y;
+
+ <![CDATA[
+
+ for (var eg in this.parent.subviews){
+ //check that you do not calc with yourself
+ if (this.parent.subviews[eg]!=this && this.parent.subviews[eg].docking){
+ // there are 4 cases which have to be proofed to check every possible situation
+ //left box-border
+ if ( ( ((this.x+this.width)-this.parent.subviews[eg].x) < this.dockingbarrier ) && ( ((this.x+this.width)-this.parent.subviews[eg].x) > -this.dockingbarrier ) && ( (this.y+this.height) > this.parent.subviews[eg].y ) && ( this.y < (this.parent.subviews[eg].y+this.parent.subviews[eg].height) ) ){
+ newx= ( this.parent.subviews[eg].x - this.width );
+ }
+ //right box-border
+ if ( ( ((this.parent.subviews[eg].x+this.parent.subviews[eg].width)-this.x)<this.dockingbarrier ) && ( ((this.parent.subviews[eg].x+this.parent.subviews[eg].width)-this.x)>-this.dockingbarrier ) && ( (this.y+this.height) > this.parent.subviews[eg].y ) && ( this.y < (this.parent.subviews[eg].y+this.parent.subviews[eg].height) ) ){
+ newx= ( this.parent.subviews[eg].x + this.parent.subviews[eg].width );
+ }
+ //top box-border
+ if ( ( ((this.y+this.height)-this.parent.subviews[eg].y) < this.dockingbarrier ) && ( ((this.y+this.height)-this.parent.subviews[eg].y) > -this.dockingbarrier ) && ( (this.x+this.width) > this.parent.subviews[eg].x ) && ( this.x < (this.parent.subviews[eg].x+this.parent.subviews[eg].width) ) ){
+ newy = this.parent.subviews[eg].y-this.height;
+ }
+ //bottom box-border
+ if ( ( ((this.parent.subviews[eg].y+this.parent.subviews[eg].height)-this.y) < this.dockingbarrier ) && ( ((this.parent.subviews[eg].y+this.parent.subviews[eg].height)-this.y) > -this.dockingbarrier ) && ( (this.x+this.width) > this.parent.subviews[eg].x ) && ( this.x < (this.parent.subviews[eg].x+this.parent.subviews[eg].width) ) ){
+ newy = this.parent.subviews[eg].y+this.parent.subviews[eg].height;
+ }
+ }
+ }
+
+ //Check for Borders
+ //should be done _after_ checking for other dockable stuff so it gets
+ //priority to dock against the border of parent view
+ if (this.x<this.dockingbarrier){
+ newx=0;
+ }
+ if (this.y<this.dockingbarrier){
+ newy=0;
+ }
+ if ( (this.parent.width-(this.x+this.width))<this.dockingbarrier){
+ newx=this.parent.width-this.width;
+ }
+ if ( (this.parent.height-(this.y+this.height))<this.dockingbarrier){
+ newy=this.parent.height-this.height;
+ }
+
+ //set position
+ this.setAttribute('x',newx);
+ this.setAttribute('y',newy);
+ ]]>
+ </method>
+
+ <method name="storeAdjustmentToParent" args="objX,objY">
+ this.tempXdistance=objX-this.x;
+ this.tempYdistance=objY-this.y;
+ </method>
+
+ <!--- @keywords private
+ this method is needed because if the dragging end and
+ it was not dragged _itself_ it was draged just because a connected
+ dockable Box was dragged than it could be that the connected
+ Box was forced to dock against something different onmouseup
+ so you have to rearrange the old "adjustment" -->
+ <method name="_lookforParentOnly" args="obj">
+ <![CDATA[
+ var newx=obj.x-tempXdistance;
+ var newy=obj.y-tempYdistance;
+
+ this.setAttribute('x',newx);
+ this.setAttribute('y',newy);
+ ]]>
+ </method>
+
+ <dragstate name="dragger" />
+
+ <view name="_bg" width="${ this.parent.width }" height="${ this.parent.height }"
+ bgcolor="$once{ canvas.basebgcolorizer }" >
+ <view width="${ this.parent.width-2 }" height="${ this.parent.height-2 }"
+ x="1" y="1" bgcolor="0xEEF0EB" />
+ </view>
+
+ <view x="1" y="1" width="${ this.parent.width-1 }" height="20" name="_titlebar" >
+ <!-- stretches="width" -->
+ <view width="${ this.parent.parent.width-2 }" y="0" stretches="width"
+ resource="presenter_thumb_rsc" >
+ <handler name="oninit">
+ <![CDATA[
+ this.setTintRGB(canvas.basebgcolorizer,80);
+ ]]>
+ </handler>
+ <method name="setTintRGB" args="color, brightness">
+ <![CDATA[
+ if (color != "" && color != null){
+
+ if (brightness == null) { brightness = 0; }
+ var rgb = color;
+ var red=(rgb >> 16) & 0xFF;
+ var green=(rgb >> 8) & 0xFF;
+ var blue=rgb & 0xFF;
+
+ this.setColorTransform( { ra : red, ga : green, ba : blue,
+ rb : 0, gb : 0, bb : 0 } );
+
+ //Debug.write(this);
+ //Debug.write( { ra : red, ga : green, ba : blue,
+ // rb : 0, gb : 0, bb : 0 } );
+ }
+ ]]>
+ </method>
+ </view>
+ <text fontsize="10" name="_title" height="17" x="6" y="1" text="${ this.parent.parent.title }"
+ resize="true" fontstyle="bold" fgcolor="white" />
+ <view name="_toolbar" visibility="$once{ ((parent.parent.fullToolBar) ? 'visible' : 'hidden' ) }"
+ x="${ parent.width-this.width-2 }" layout="axis:x;spacing:0" y="2">
+
+ <miniIconsPresenter name="_minimize"
+ visibility="$once{ ((parent.parent.parent.minimizable) ? 'visible' : 'hidden' ) }"
+ iconRessourceName="btn_presenter_minimize">
+ <handler name="onclick">
+ this.parent.parent.parent.minimize();
+ </handler>
+ <labelTooltip labelid="856" />
+ </miniIconsPresenter>
+
+ <miniIconsPresenter name="_maximize2" visibility="hidden"
+ iconRessourceName="btn_presenter_maximize">
+ <handler name="onclick">
+ this.parent.parent.parent.reminimize();
+ </handler>
+ <labelTooltip labelid="857" />
+ </miniIconsPresenter>
+
+ <miniIconsPresenter name="_close"
+ visibility="$once{ ((parent.parent.parent.closable) ? 'visible' : 'hidden' ) }"
+ iconRessourceName="btn_presenter_close2">
+ <handler name="onclick">
+ this.parent.parent.parent.close();
+ </handler>
+ <labelTooltip labelid="430" />
+ </miniIconsPresenter>
+
+ </view>
+ </view>
+ <handler name="onaddsubview" args="v">
+ //Debug.write("onaddsubview",v);
+ if (v.parent.subviews.length>2) this._resizeview.bringToFront();
+ </handler>
+ <view visibility="$once{ ((this.parent.resizeable) ? 'visible' : 'hidden' ) }"
+ name="_resizeview" x="${ this.parent.width - 16 }"
+ y="${ this.parent.height - 16 }" resource="explorer_resize_rsc"
+ cursor="explorer_resizemouse_rsc" onmousedown="this.parent.rsapply()"
+ onmouseup="this.parent.rsremove()" >
+ <labelTooltip text="resize" />
+ </view>
+ <resizestate name="rs"/>
+
+ <animator name="_minimizeZoom" attribute="height"
+ duration="750" to="20" start="false">
+ <handler name="onstop" args="s">
+ parent.reminimizeComplete();
+ </handler>
+ </animator>
+
+</class>
+
+<class name="miniIconsPresenter" extends="view">
+
+ <attribute name="iconRessourceName" value="" type="string"/>
+
+ <handler name="onmouseover">
+ this._bg.setAttribute("bgcolor",0xFFFFFF);
+ this._bg.setAttribute("visibility","visible");
+ </handler>
+
+ <handler name="onmouseout">
+ this._bg.setAttribute("visibility","hidden");
+ </handler>
+
+ <handler name="onmousedown">
+ this._bg.setAttribute("bgcolor",canvas.basebgcolorizer);
+ this._bg.setAttribute("visibility","visible");
+ </handler>
+
+ <handler name="onmouseup">
+ this._bg.setAttribute("visibility","hidden");
+ </handler>
+
+ <view name="_bg" visibility="hidden" opacity="0.7"
+ width="14" height="14" x="1" y="1" bgcolor="0xFFFFFF" />
+
+ <view resource="$once{ parent.iconRessourceName }" />
+
+</class>
+
+</library>
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/presenter/library.lzx
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/presenter/library.lzx?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/presenter/library.lzx (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/presenter/library.lzx Sun Dec 18 15:22:12 2011
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<library>
+
+ <include href="resources/" />
+ <include href="boxInitEffect.lzx" />
+ <include href="guiPresenter.lzx" />
+
+
+</library>
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/presenter/resources/close_dn.png
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/presenter/resources/close_dn.png?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/presenter/resources/close_dn.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/presenter/resources/close_mo.png
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/presenter/resources/close_mo.png?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/presenter/resources/close_mo.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/presenter/resources/close_up.png
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/presenter/resources/close_up.png?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/presenter/resources/close_up.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/presenter/resources/library.lzx
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/presenter/resources/library.lzx?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/presenter/resources/library.lzx (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/presenter/resources/library.lzx Sun Dec 18 15:22:12 2011
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<library>
+
+ <resource src="presenter_thumb.swf" name="presenter_thumb_rsc" />
+
+ <resource name="btn_presenter_minimize" src="minimize_up.png" />
+ <resource name="btn_presenter_maximize" src="maximize_up.png" />
+ <resource name="btn_presenter_maximize2" src="maximize2_up.png" />
+
+ <resource name="btn_presenter_close2" src="close_up.png" />
+
+ <resource name="btn_presenter_close">
+ <frame src="close_up.png" />
+ <frame src="close_mo.png" />
+ <frame src="close_dn.png" />
+ </resource>
+
+</library>
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/presenter/resources/maximize2_up.png
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/presenter/resources/maximize2_up.png?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/presenter/resources/maximize2_up.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/presenter/resources/maximize_up.png
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/presenter/resources/maximize_up.png?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/presenter/resources/maximize_up.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/presenter/resources/minimize_up.png
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/presenter/resources/minimize_up.png?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/presenter/resources/minimize_up.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/presenter/resources/presenter_thumb.swf
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/presenter/resources/presenter_thumb.swf?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/presenter/resources/presenter_thumb.swf
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/resetCombobox.lzx
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/resetCombobox.lzx?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/resetCombobox.lzx (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/resetCombobox.lzx Sun Dec 18 15:22:12 2011
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<library>
+
+ <class name="resetCombobox" extends="combobox" editable="false" shownitems="12"
+ style="componentStyle" itemclassname="labeldTextListItem">
+
+ <method name="reset" >
+ <![CDATA[
+ var currentCount = this.cblist.getNumItems();
+ for (var i = 0; i < currentCount; i++)
+ this.removeItemAt(0);
+ this.clearSelection();
+ ]]>
+ </method>
+
+ </class>
+
+</library>
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbar-test.lzx
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbar-test.lzx?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbar-test.lzx (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbar-test.lzx Sun Dec 18 15:22:12 2011
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<canvas >
+<!--
+FC8558
+FDC4A6
+ -->
+ <include href="scrollbars/" />
+
+ <class name="splitBox" extends="view" bgcolor="red" width="40" height="40" />
+
+ <class name="contBox" extends="view" layout="axis:x;spacing:2">
+ <handler name="oninit">
+ <![CDATA[
+ for (var i=0;i<10;i++) new lz.splitBox(this);
+ ]]>
+ </handler>
+ </class>
+
+ <view width="200" height="300" clip="true">
+ <view layout="axis:y;spacing:2" >
+ <handler name="oninit">
+ <![CDATA[
+ for (var i=0;i<10;i++) new lz.contBox(this);
+ ]]>
+ </handler>
+ </view>
+ <newvscrollbar />
+ <newHScrollbar />
+ </view>
+
+</canvas>
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/doc/lzx/ja/newhscrollbar_doc.xml
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/doc/lzx/ja/newhscrollbar_doc.xml?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/doc/lzx/ja/newhscrollbar_doc.xml (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/doc/lzx/ja/newhscrollbar_doc.xml Sun Dec 18 15:22:12 2011
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rlzxdoc>
+ <class name="newhscrollbar">
+ <doc>
+ lps/components/incubatorã«ãããã®ã¨åãã
+ *ãããããªãï¼
+ </doc>
+ </class>
+</rlzxdoc>
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/doc/lzx/ja/newhscrollbar_resources_doc.xml
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/doc/lzx/ja/newhscrollbar_resources_doc.xml?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/doc/lzx/ja/newhscrollbar_resources_doc.xml (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/doc/lzx/ja/newhscrollbar_resources_doc.xml Sun Dec 18 15:22:12 2011
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rlzxdoc>
+ <class name="newscrollbar_resources">
+ <doc>
+ lps/components/incubatorã«ãããã®ã¨åãã
+ *ãããããªãï¼
+ </doc>
+ </class>
+</rlzxdoc>
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/doc/lzx/ja/newvscrollbar_doc.xml
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/doc/lzx/ja/newvscrollbar_doc.xml?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/doc/lzx/ja/newvscrollbar_doc.xml (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/doc/lzx/ja/newvscrollbar_doc.xml Sun Dec 18 15:22:12 2011
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rlzxdoc>
+ <class name="newvscrollbar">
+ <doc>
+ lps/components/incubatorã«ãããã®ã¨åãã
+ *ãããããªãï¼
+ </doc>
+ </class>
+</rlzxdoc>
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/doc/lzx/ja/newvscrollbar_resources_doc.xml
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/doc/lzx/ja/newvscrollbar_resources_doc.xml?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/doc/lzx/ja/newvscrollbar_resources_doc.xml (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/doc/lzx/ja/newvscrollbar_resources_doc.xml Sun Dec 18 15:22:12 2011
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rlzxdoc>
+ <class name="newvscrollbar_resources">
+ <doc>
+ lps/components/incubatorã«ãããã®ã¨åãã
+ *ãããããªãï¼
+ </doc>
+ </class>
+</rlzxdoc>
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/library.lzx
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/library.lzx?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/library.lzx (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/library.lzx Sun Dec 18 15:22:12 2011
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<library>
+
+ <include href="newHScrollbar.lzx" />
+ <include href="newvscrollbar.lzx" />
+
+</library>
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/newHScrollbar.lzx
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/newHScrollbar.lzx?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/newHScrollbar.lzx (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/newHScrollbar.lzx Sun Dec 18 15:22:12 2011
@@ -0,0 +1,113 @@
+<library>
+
+<include href="base/basescrollbar.lzx"/>
+<include href="newhscrollbar_resources.lzx"/>
+
+<!--- A scrollbar manipulates the x or y position of a target view that is
+ clipped by its parent, creating a scrolling effect when the user clicks
+ up/down arrows, clicks on the scroll track or drags the thumb. -->
+
+<class name="newHScrollbar" extends="basescrollbar"
+ styleable="true" style="scrollbar_style"
+ bgcolor="0x595959"
+ visible="${this.scrollable && (this.width > 21)}"
+ axis="x">
+
+ <!--- @keywords private -->
+ <attribute name="height" value="17"/>
+ <!--- @keywords private -->
+ <attribute name="_obgcolor" value="$once{this.bgcolor}"/>
+
+ <!-- left arrow -->
+ <view name="leftarrow" width="14">
+ <basescrollarrow x="1" y="1"
+ resource="lzscrollbar_xbuttonleft_rsc"
+ direction="-1"/>
+ </view>
+
+ <view name="scrolltrack" height="$once{parent.height-2}" y="1">
+ <!-- scroll track left of thumb -->
+ <basescrolltrack name="top"
+ resource="lzscrollbar_xtrack_rsc" stretches="width"
+ overResourceNumber="0"
+ downResourceNumber="2"
+ disabledResourceNumber="3"
+ direction="-1">
+ <attribute name="width" value="${parent.thumb.x}"/>
+ <attribute name="height" value="${parent.height}"/>
+ </basescrolltrack>
+
+ <!-- thumb -->
+ <basescrollthumb name="thumb" y="0">
+ <view resource="lzscrollbar_xthumbleft_rsc"/>
+ <view resource="lzscrollbar_xthumbmiddle_rsc" stretches="both"/>
+ <view resource="lzscrollbar_xthumbright_rsc"/>
+ <stableborderlayout axis="x"/>
+ <!-- note: stableborderlayout only acts on the first three views -->
+ <view resource="lzscrollbar_xthumbgripper_rsc" y="2"
+ width="${Math.min(200, parent.width-16)}"
+ clip="true" align="center"/>
+ </basescrollthumb>
+
+ <!-- scroll track right of thumb -->
+ <basescrolltrack name="bottom"
+ resource="lzscrollbar_xtrack_rsc" stretches="width"
+ overResourceNumber="0"
+ downResourceNumber="2"
+ disabledResourceNumber="3">
+ <attribute name="x" value="${parent.thumb.x+parent.thumb.width}"/>
+ <attribute name="width"
+ value="${parent.width - parent.thumb.x - parent.thumb.width}"/>
+ <attribute name="height" value="${parent.height}"/>
+ </basescrolltrack>
+
+ </view> <!-- scrolltrack -->
+
+ <!-- right arrow -->
+ <view name="rightarrow" width="14">
+ <basescrollarrow y="1"
+ resource="lzscrollbar_xbuttonright_rsc"/>
+ </view>
+ <stableborderlayout axis="x"/>
+
+ <handler name="onothersb">
+ this.otherstate.apply();
+ </handler>
+
+ <state name="otherstate">
+ <view name="patch" x="${parent.width}" bgcolor="${parent.style.basecolor}"
+ width="${parent.othersb.width}" height="${parent.height}"
+ clickable="true" showhandcursor="false" />
+ </state>
+
+ <!--- @keywords private -->
+ <method name="_applystyle" args="s">
+ if (s != null) {
+ this.setTint(this, s.basecolor);
+ this.setTint(this.leftarrow, s.basecolor);
+ this.setTint(this.scrolltrack, s.basecolor);
+ this.setTint(this.rightarrow, s.basecolor);
+ }
+ </method>
+
+ <!--- @keywords private -->
+ <method name="_showEnabled">
+ super._showEnabled();
+
+ var enabled = this._enabled;
+ if ( ! enabled ) {
+ this._obgcolor = this.bgcolor;
+ }
+ this.setOpacity( enabled ? 1 : 0.6 );
+ this.setAttribute('bgcolor', enabled ? this._obgcolor : parent.bgcolor );
+ this.thumb.setClickable( enabled );
+ this.thumb.setVisible(true);
+ </method>
+
+</class>
+</library>
+<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
+* Copyright 2006 Laszlo Systems, Inc. All Rights Reserved. *
+* Use is subject to license terms. *
+* X_LZ_COPYRIGHT_END ****************************************************** -->
+<!-- @LZX_VERSION@ -->
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/newhscrollbar_resources.lzx
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/newhscrollbar_resources.lzx?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/newhscrollbar_resources.lzx (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/newhscrollbar_resources.lzx Sun Dec 18 15:22:12 2011
@@ -0,0 +1,30 @@
+<library>
+ <resource name="lzscrollbar_xthumbleft_rsc" src="resources/scrollbar/x_scrl_thumb_lft.swf" />
+ <resource name="lzscrollbar_xthumbmiddle_rsc" src="resources/scrollbar/x_scrl_thumb_mid.swf" />
+ <resource name="lzscrollbar_xthumbright_rsc" src="resources/scrollbar/x_scrl_thumb_rt.swf" />
+ <resource name="lzscrollbar_xthumbgripper_rsc" src="resources/scrollbar/thumb_x_gripper.png" />
+
+ <resource name="lzscrollbar_xbuttonleft_rsc" >
+ <frame src="resources/scrollbar/x_scrl_btn_lft_up.swf" />
+ <frame src="resources/scrollbar/x_scrl_btn_lft_mo.swf" />
+ <frame src="resources/scrollbar/x_scrl_btn_lft_dn.swf" />
+ <frame src="resources/scrollbar/x_scrl_btn_lft_up.swf" />
+ </resource>
+ <resource name="lzscrollbar_xbuttonright_rsc" >
+ <frame src="resources/scrollbar/x_scrl_btn_rt_up.swf" />
+ <frame src="resources/scrollbar/x_scrl_btn_rt_mo.swf" />
+ <frame src="resources/scrollbar/x_scrl_btn_rt_dn.swf" />
+ <frame src="resources/scrollbar/x_scrl_btn_rt_up.swf" />
+ </resource>
+ <resource name="lzscrollbar_xtrack_rsc">
+ <frame src="resources/scrollbar/x_scrl_track.swf"/>
+ <frame src="resources/scrollbar/x_scrl_track_slct.swf"/>
+ <frame src="resources/scrollbar/x_scrl_track.swf"/>
+ </resource>
+
+</library>
+<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
+* Copyright 2006 Laszlo Systems, Inc. All Rights Reserved. *
+* Use is subject to license terms. *
+* X_LZ_COPYRIGHT_END ****************************************************** -->
+<!-- @LZX_VERSION@ -->
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/newvscrollbar.lzx
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/newvscrollbar.lzx?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/newvscrollbar.lzx (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/newvscrollbar.lzx Sun Dec 18 15:22:12 2011
@@ -0,0 +1,102 @@
+<library>
+ <include href="base/basescrollbar.lzx"/>
+ <include href="newvscrollbar_resources.lzx"/>
+
+<!--- The vertical scrollbar manipulates the y position of a target view that is
+ clipped by its parent, creating a scrolling effect when the user
+ clicks up/down arrows, clicks on the scroll track or drags the thumb. -->
+
+<!--
+ styleable="true" style="scrollbar_style"
+ bgcolor="0x595959"
+ -->
+<class name="newvscrollbar" extends="basescrollbar"
+ bgcolor="0xFFFFFF"
+ visible="${this.scrollable && (this.height > 21)}"
+ axis="y">
+ <!--- @keywords private -->
+ <attribute name="width" value="17"/>
+ <!--- @keywords private -->
+ <attribute name="_obgcolor" value="$once{this.bgcolor}"/>
+
+ <!-- up arrow -->
+ <view height="13" name="toparrow">
+ <basescrollarrow x="1" y="1"
+ resource="newvscrollbar_ybuttontop_rsc"
+ direction="-1"/>
+ </view>
+ <view name="scrolltrack">
+ <!-- top of the scroll track -->
+ <basescrolltrack name="top" x="1" y="1"
+ resource="newvscrollbar_ytrack_rsc" stretches="height"
+ overResourceNumber="0"
+ downResourceNumber="2"
+ direction="-1">
+ <attribute name="height" value="${parent.thumb.y}"/>
+ <attribute name="width" value="${parent.width}"/>
+ </basescrolltrack>
+
+ <!-- thumb -->
+ <basescrollthumb name="thumb" x="1">
+ <view resource="newvscrollbar_ythumbtop_rsc"/>
+ <view resource="newvscrollbar_ythumbmiddle_rsc" stretches="both"/>
+ <view resource="newvscrollbar_ythumbbottom_rsc"/>
+ <stableborderlayout axis="y"/>
+ <!-- note: stableborderlayout only acts on the first three views -->
+ <view resource="newvscrollbar_ythumbgripper_rsc" y="0" x="3"
+ height="${Math.min(200, parent.height-16)}" width="8"
+ clip="true" valign="middle"/>
+
+ </basescrollthumb>
+
+ <!-- bottom of the scroll track -->
+ <basescrolltrack name="bottom" x="1"
+ resource="newvscrollbar_ytrack_rsc" stretches="height"
+ overResourceNumber="0"
+ downResourceNumber="2">
+ <attribute name="y" value="${parent.thumb.y+parent.thumb.height}"/>
+ <attribute name="height"
+ value="${parent.height - parent.thumb.y - parent.thumb.height}"/>
+ <attribute name="width" value="${parent.width}"/>
+ </basescrolltrack>
+ </view> <!-- scrolltrack -->
+
+ <!-- down arrow -->
+ <view height="14" name="bottomarrow">
+ <basescrollarrow x="1" y="0"
+ resource="newvscrollbar_ybuttonbottom_rsc"/>
+ </view>
+ <stableborderlayout axis="y"/>
+
+ <!--- @keywords private -->
+ <method name="_applystyle" args="s">
+ <!--
+ if (s != null) {
+ this.setTint(this, s.basecolor);
+ this.setTint(this.toparrow, s.basecolor);
+ this.setTint(this.scrolltrack, s.basecolor);
+ this.setTint(this.bottomarrow, s.basecolor);
+ }
+ -->
+ </method>
+
+ <!--- @keywords private -->
+ <method name="_showEnabled">
+ super._showEnabled();
+
+ var enabled = this._enabled;
+ if ( ! enabled ) {
+ this._obgcolor = this.bgcolor;
+ }
+ this.setOpacity( enabled ? 1 : 0.6 );
+ //this.setAttribute('bgcolor', enabled ? this._obgcolor : parent.bgcolor );
+ this.thumb.setClickable( enabled );
+ this.thumb.setVisible( enabled );
+ </method>
+</class>
+</library>
+<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
+* Copyright 2006 Laszlo Systems, Inc. All Rights Reserved. *
+* Use is subject to license terms. *
+* X_LZ_COPYRIGHT_END ****************************************************** -->
+<!-- @LZX_VERSION@ -->
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/newvscrollbar_resources.lzx
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/newvscrollbar_resources.lzx?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/newvscrollbar_resources.lzx (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/newvscrollbar_resources.lzx Sun Dec 18 15:22:12 2011
@@ -0,0 +1,30 @@
+<library>
+ <resource name="newvscrollbar_ythumbtop_rsc" src="resources/scrollbar/scrollthumb_y_top.swf" />
+ <resource name="newvscrollbar_ythumbmiddle_rsc" src="resources/scrollbar/scrollthumb_y_mid.swf" />
+ <resource name="newvscrollbar_ythumbbottom_rsc" src="resources/scrollbar/scrollthumb_y_bot.swf" />
+ <resource name="newvscrollbar_ythumbgripper_rsc" src="resources/scrollbar/gripper.png" />
+
+ <resource name="newvscrollbar_ybuttontop_rsc" >
+ <frame src="resources/scrollbar/scrollbtn_y_top_up.png" />
+ <frame src="resources/scrollbar/scrollbtn_y_top_up.png" />
+ <frame src="resources/scrollbar/scrollbtn_y_top_up.png" />
+ <frame src="resources/scrollbar/scrollbtn_y_top_up.png" />
+ </resource>
+ <resource name="newvscrollbar_ybuttonbottom_rsc" >
+ <frame src="resources/scrollbar/scrollbtn_y_bot_up.png" />
+ <frame src="resources/scrollbar/scrollbtn_y_bot_up.png" />
+ <frame src="resources/scrollbar/scrollbtn_y_bot_up.png" />
+ <frame src="resources/scrollbar/scrollbtn_y_bot_up.png" />
+ </resource>
+ <resource name="newvscrollbar_ytrack_rsc">
+ <frame src="resources/scrollbar/y_scrolltrack.png"/>
+ <frame src="resources/scrollbar/y_scrolltrack.png"/>
+ <frame src="resources/scrollbar/y_scrolltrack.png"/>
+ </resource>
+
+</library>
+<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
+* Copyright 2006 Laszlo Systems, Inc. All Rights Reserved. *
+* Use is subject to license terms. *
+* X_LZ_COPYRIGHT_END ****************************************************** -->
+<!-- @LZX_VERSION@ -->
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/gripper.png
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/gripper.png?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/gripper.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/scrollbtn_y_bot_dn.swf
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/scrollbtn_y_bot_dn.swf?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/scrollbtn_y_bot_dn.swf
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/scrollbtn_y_bot_mo.swf
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/scrollbtn_y_bot_mo.swf?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/scrollbtn_y_bot_mo.swf
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/scrollbtn_y_bot_up.png
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/scrollbtn_y_bot_up.png?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/scrollbtn_y_bot_up.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/scrollbtn_y_bot_up.swf
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/scrollbtn_y_bot_up.swf?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/scrollbtn_y_bot_up.swf
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/scrollbtn_y_top_dn.swf
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/scrollbtn_y_top_dn.swf?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/scrollbtn_y_top_dn.swf
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/scrollbtn_y_top_mo.swf
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/scrollbtn_y_top_mo.swf?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/scrollbtn_y_top_mo.swf
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/scrollbtn_y_top_up.png
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/scrollbtn_y_top_up.png?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/scrollbtn_y_top_up.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/scrollbtn_y_top_up.swf
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/scrollbtn_y_top_up.swf?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/scrollbtn_y_top_up.swf
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/scrollthumb_y_bot.swf
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/scrollthumb_y_bot.swf?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/scrollthumb_y_bot.swf
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/scrollthumb_y_mid.swf
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/scrollthumb_y_mid.swf?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/scrollthumb_y_mid.swf
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/scrollthumb_y_top.swf
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/scrollthumb_y_top.swf?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/scrollthumb_y_top.swf
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/thumb_x_gripper.png
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/thumb_x_gripper.png?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/thumb_x_gripper.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/thumb_y_gripper.png
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/thumb_y_gripper.png?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/thumb_y_gripper.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/x_scrl_btn_lft_dn.swf
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/x_scrl_btn_lft_dn.swf?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/x_scrl_btn_lft_dn.swf
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/x_scrl_btn_lft_mo.swf
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/x_scrl_btn_lft_mo.swf?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/x_scrl_btn_lft_mo.swf
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/x_scrl_btn_lft_up.swf
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/x_scrl_btn_lft_up.swf?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/x_scrl_btn_lft_up.swf
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/x_scrl_btn_rt_dn.swf
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/x_scrl_btn_rt_dn.swf?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/x_scrl_btn_rt_dn.swf
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/x_scrl_btn_rt_mo.swf
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/x_scrl_btn_rt_mo.swf?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/x_scrl_btn_rt_mo.swf
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/x_scrl_btn_rt_up.swf
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/x_scrl_btn_rt_up.swf?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/x_scrl_btn_rt_up.swf
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/x_scrl_thumb_lft.swf
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/x_scrl_thumb_lft.swf?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/x_scrl_thumb_lft.swf
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/x_scrl_thumb_mid.swf
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/x_scrl_thumb_mid.swf?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/x_scrl_thumb_mid.swf
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/x_scrl_thumb_rt.swf
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/x_scrl_thumb_rt.swf?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/x_scrl_thumb_rt.swf
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/x_scrl_track.swf
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/x_scrl_track.swf?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/x_scrl_track.swf
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/x_scrl_track_slct.swf
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/x_scrl_track_slct.swf?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/x_scrl_track_slct.swf
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/y_scrolltrack.png
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/y_scrolltrack.png?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/y_scrolltrack.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/y_scrolltrack.swf
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/y_scrolltrack.swf?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/y_scrolltrack.swf
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/y_scrolltrack_dn.swf
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/y_scrolltrack_dn.swf?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/scrollbars/resources/scrollbars/y_scrolltrack_dn.swf
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/simplevaluelist/doc/lzx/ja/recordvaluelist_doc.xml
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/simplevaluelist/doc/lzx/ja/recordvaluelist_doc.xml?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/simplevaluelist/doc/lzx/ja/recordvaluelist_doc.xml (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/simplevaluelist/doc/lzx/ja/recordvaluelist_doc.xml Sun Dec 18 15:22:12 2011
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rlzxdoc>
+ <class name="recordvaluelist">
+ <doc>
+ recordlistItemã¯ã©ã¹,recordvaluelistã¯ã©ã¹ãããã¾ãã®ã§ãå¥ãã¡ã¤ã«ã«ãã¾ãããã
+ 'â some text [delete icon]'ã表示ããæ±ç¨ã¯ã©ã¹ã
+ </doc>
+ </class>
+ <class name="recordlistItem">
+ <doc>
+ </doc>
+ </class>
+</rlzxdoc>
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/simplevaluelist/doc/lzx/ja/simplevaluelist_doc.xml
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/simplevaluelist/doc/lzx/ja/simplevaluelist_doc.xml?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/simplevaluelist/doc/lzx/ja/simplevaluelist_doc.xml (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/simplevaluelist/doc/lzx/ja/simplevaluelist_doc.xml Sun Dec 18 15:22:12 2011
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rlzxdoc>
+ <class name="simplevaluelist">
+ <doc>
+ simplelistItemã¯ã©ã¹,simplevaluelistã¯ã©ã¹ãä¸ã¤ã®ãã¡ã¤ã«ã«ãªã£ã¦ãã¾ãããã¡ã¤ã«ãåãã¾ãããã
+ æå®ããtextã«mouseover/outã§èæ¯è²ãå¤ãã¦ããã¯ã©ã¹ãæ¨æºã³ã³ãã¼ãã³ãã®listitemã¯ã©ã¹ãã¨ã¦ã
+ ã·ã³ãã«ã«ãããã®ã®ããã«è¦ãã¾ãã
+ </doc>
+ </class>
+</rlzxdoc>
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/simplevaluelist/library.lzx
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/simplevaluelist/library.lzx?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/simplevaluelist/library.lzx (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/simplevaluelist/library.lzx Sun Dec 18 15:22:12 2011
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<library>
+
+ <include href="simpleValueList.lzx" />
+ <include href="recordValueList.lzx" />
+
+</library>
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/simplevaluelist/recordValueList.lzx
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/simplevaluelist/recordValueList.lzx?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/simplevaluelist/recordValueList.lzx (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/simplevaluelist/recordValueList.lzx Sun Dec 18 15:22:12 2011
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<library>
+
+<class name="recordListItem" extends="baseContentListItem" height="24">
+
+ <attribute name="valueName" type="string" value="" />
+ <attribute name="value" type="number" value="0" />
+
+ <turnOverTextItem text="$once{ parent.valueName }" width="226" />
+
+ <view width="60"
+ onclick="new lz.confirmDeleteWindow(canvas.main_content._content.inner,{refObj:this});" >
+ <method name="confirmDelete">
+ this.parent.parent.parent.parent.parent.itemToDelete=this;
+ this.parent.parent.parent.parent.parent.deleteItem.sendEvent(parent);
+ </method>
+ <view resource="button_cancel_rsc" align="center" valign="middle" />
+ <labelTooltip labelid="274" />
+ </view>
+</class>
+
+
+<class name="recordValueList" extends="turnOverList" >
+
+ <attribute name="itemToDelete" value="null" />
+
+ <event name="deleteItem" />
+
+</class>
+
+</library>
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/simplevaluelist/simpleValueList.lzx
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/simplevaluelist/simpleValueList.lzx?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/simplevaluelist/simpleValueList.lzx (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/simplevaluelist/simpleValueList.lzx Sun Dec 18 15:22:12 2011
@@ -0,0 +1,161 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<library>
+
+<class name="simpleListItem" extends="view"
+ bgcolor="0xFFFFFF" onmouseup="this.parent.parent.parent.parent.toggleSelected(this)" >
+ <handler name="onmouseover">
+ <![CDATA[
+ if (this.selected) this.setAttribute('bgcolor',canvas.baseMouseOvercolorizer)
+ else this.setAttribute('bgcolor',canvas.baseMouseOvercolorizer);
+ ]]>
+ </handler>
+ <handler name="onmouseout">
+ <![CDATA[
+ if (this.selected) this.setAttribute('bgcolor',canvas.baseMouseOvercolorizer)
+ else this.setAttribute('bgcolor',0xFFFFFF);
+ ]]>
+ </handler>
+ <attribute name="selected" value="false" type="boolean"/>
+ <attribute name="value" value="null" />
+ <attribute name="text" value="" type="string" />
+ <text text="$once{ parent.text }" resize="true" fontsize="11" />
+</class>
+
+
+<class name="simpleValueList" extends="view" bgcolor="0x000000" >
+
+ <attribute name="_selected" value="null" />
+
+ <attribute name="multiselect" value="false" type="boolean" />
+
+ <attribute name="itemclassname" type="string" value="simpleListItem" />
+
+ <event name="onselect" />
+
+ <method name="toggleSelected" args="obj">
+ <![CDATA[
+ var downkeys = lz.Keys.downKeysArray;
+
+ //Select the Obj
+
+
+ if(downkeys.length==1 && downkeys[0]==17 && this.multiselect){
+ if (this._selected == null) this._selected = new Array();
+ if (this._checkForAlreadySelected(obj)) {
+ obj.setAttribute('selected',false);
+ obj.setAttribute('bgcolor',0xFFFFFF);
+ } else {
+ obj.setAttribute('selected',true);
+ this._selected.push(obj);
+ }
+ } else if (downkeys.length==0 && this.multiselect){
+ if (this._selected == null) this._selected = new Array();
+ this._deslectAll();
+ obj.setAttribute('selected',true);
+ this._selected.push(obj);
+ } else if (!this.multiselect) {
+ if(this._selected!=null) {
+ this._selected.setAttribute('selected',false);
+ this._selected.setAttribute('bgcolor',0xFFFFFF);
+ }
+ this._selected = obj;
+ this._selected.setAttribute('selected',true);
+ } else {
+ Debug.warning("not handled",this);
+ }
+
+ ]]>
+ </method>
+
+ <method name="_checkForAlreadySelected" args="obj">
+ <![CDATA[
+ for (var i=0;i<this._selected.length;i++){
+ if (this._selected[i]==obj) {
+ this._selected.splice(i,1);
+ return true;
+ }
+ }
+ return false;
+ ]]>
+ </method>
+
+ <method name="_deslectAll">
+ <![CDATA[
+ for (var i=0;i<this._selected.length;i++){
+ this._selected[i].setAttribute('selected',false);
+ this._selected[i].setAttribute('bgcolor',0xFFFFFF);
+ }
+ this._selected=new Array();
+ ]]>
+ </method>
+
+ <method name="addItem" args="txt,value">
+ new lz[this.itemclassname](this.content.content.inn,{text:txt,value:value,width:this.width});
+ </method>
+
+ <method name="removeItem" args="value">
+ <![CDATA[
+ if (this._selected!=null){
+ if (this.multiselect){
+ for (var i=0;i<this._selected.length;i++){
+ if (this._selected[i].value==value){
+ this._selected.splice(i,1);
+ }
+ }
+ } else {
+ if (this._selected.value==value) this._selected==null;
+ }
+ }
+ for (var i=0;i<this.content.content.inn.subviews.length;i++){
+ if(this.content.content.inn.subviews[i].value==value){
+ this.content.content.inn.subviews[i].destroy();
+ }
+ }
+ ]]>
+ </method>
+ <method name="checkValue" args="value">
+ <![CDATA[
+ var t = this.getAllObjects();
+ if (t!=null){
+ for (var i=0;i<t.length;i++){
+ if (t[i].value==value) return true;
+ }
+ }
+ return false;
+ ]]>
+ </method>
+
+ <method name="getAllItems">
+ <![CDATA[
+ var a = new Array();
+ for (var i=0;i<this.content.content.inn.subviews.length;i++){
+ //Debug.write("t: ",this.content.content.inn.subviews[i].value);
+ a.push(Number(this.content.content.inn.subviews[i].value));
+ }
+ return a;
+ ]]>
+ </method>
+ <method name="getAllObjects">
+ <![CDATA[
+ var a = new Array();
+ for (var i=0;i<this.content.content.inn.subviews.length;i++){
+ a.push(this.content.content.inn.subviews[i]);
+ }
+ return a;
+ ]]>
+ </method>
+ <method name="clearList">
+ for (var eg in this.content.content.inn.subviews){
+ this.content.content.inn.subviews[eg].destroy();
+ }
+ </method>
+ <view name="content" width="$once{ parent.width-2 }" height="$once{ parent.height-2 }"
+ x="1" y="1" clip="true" bgcolor="0xFFFFFF">
+ <view name="content" >
+ <view name="inn" layout="axis:y;spacing:2" />
+ </view>
+ <vscrollbar />
+ </view>
+</class>
+
+</library>
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/tableCombobox.lzx
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/tableCombobox.lzx?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/tableCombobox.lzx (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/tableCombobox.lzx Sun Dec 18 15:22:12 2011
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<library>
+
+<class name="tableCombobox" extends="combobox" editable="false" fontsize="10" style="componentStyle">
+ <attribute name="initvalue" type="string" />
+ <attribute name="tvalue" type="string" />
+ <attribute name="sendchange" value="false" type="boolean" />
+ <handler name="oninit">
+ this.parent.parent.parent.parent.loadModsCombo(this);
+ this.selectItem(this.initvalue);
+ </handler>
+ <handler name="onblur">
+ if (this.sendchange) this.parent.sendchange(this,tvalue,this.getValue());
+ </handler>
+</class>
+
+</library>
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/tableListItem.lzx
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/tableListItem.lzx?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/tableListItem.lzx (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/tableListItem.lzx Sun Dec 18 15:22:12 2011
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<library>
+
+<class name="tableListItem" extends="view"
+ bgcolor="${ ( this.isaltered ) ? 0xFF0000 : 0xFFFFF }" height="22">
+
+ <handler name="oninit">
+ this.changeholder = new Array();
+ </handler>
+
+ <attribute name="isdatarecord" value="true" type="boolean" />
+
+ <attribute name="changeholder" value="null" />
+ <attribute name="isaltered" value="false" type="boolean" />
+
+ <method name="sendchange" args="obj,oldv,newv">
+ ////Debug.write("check Update");
+ var t = false;
+ for (var eg in this.changeholder){
+ if (this.changeholder[eg][0]==obj){
+ t = true;
+ this.changeholder[eg][1]=oldv;
+ this.changeholder[eg][2]=newv;
+ break;
+ }
+ }
+ if (!t) this.changeholder.push(new Array(obj,oldv,newv));
+
+ t = false;
+ for (var eg in this.changeholder){
+ if (this.changeholder[eg][1]!=this.changeholder[eg][2]){
+ t = true;
+ break;
+ }
+ }
+
+ this.setAttribute('isaltered',t);
+ this._doupdate.setValue(t);
+ this.parent.parent.parent.sendchange(this);
+
+ </method>
+ <simplelayout axis="x" spacing="3" inset="2" />
+
+</class>
+
+</library>