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 [2/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/button/resources/aquabutton4_part2.png
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/button/resources/aquabutton4_part2.png?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/button/resources/aquabutton4_part2.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/button/resources/aquabutton4_part3.png
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/button/resources/aquabutton4_part3.png?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/button/resources/aquabutton4_part3.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/button/resources/aquabutton_part1.png
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/button/resources/aquabutton_part1.png?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/button/resources/aquabutton_part1.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/button/resources/aquabutton_part2.png
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/button/resources/aquabutton_part2.png?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/button/resources/aquabutton_part2.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/button/resources/aquabutton_part3.png
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/button/resources/aquabutton_part3.png?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/button/resources/aquabutton_part3.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/button/resources/button_dn.png
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/button/resources/button_dn.png?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/button/resources/button_dn.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/button/resources/button_mo.png
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/button/resources/button_mo.png?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/button/resources/button_mo.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/button/resources/button_no.png
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/button/resources/button_no.png?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/button/resources/button_no.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/button/resources/menudraw_down.png
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/button/resources/menudraw_down.png?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/button/resources/menudraw_down.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/button/resources/menudraw_over.png
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/button/resources/menudraw_over.png?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/button/resources/menudraw_over.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/button/resources/menudraw_up.png
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/button/resources/menudraw_up.png?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/button/resources/menudraw_up.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/button/resources/menuseperator.png
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/button/resources/menuseperator.png?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/button/resources/menuseperator.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/button/simpleLabelButton.lzx
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/button/simpleLabelButton.lzx?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/button/simpleLabelButton.lzx (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/button/simpleLabelButton.lzx Sun Dec 18 15:22:12 2011
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<library>
+
+<class name="simpleLabelButton" extends="button" fontstyle="bold"
+ fontsize="11" height="20" style="componentStyle">
+
+ <attribute name="labelid" type="number" setter="setLabelId(labelid)" />
+ <method name="setLabelId" args="_labelid" >
+ this.labelid = _labelid;
+ this.setAttribute('text',canvas.getLabelName(this.labelid));
+ </method>
+
+</class>
+
+<class name="simpleLabelRoundButton" extends="roundrectbutton"
+ fontsize="11" height="20" style="componentStyle" fontstyle="bold">
+
+ <attribute name="labelid" type="number" setter="setLabelId(labelid)" />
+ <method name="setLabelId" args="_labelid" >
+ this.labelid = _labelid;
+ this.setAttribute('text',canvas.getLabelName(this.labelid));
+ </method>
+
+</class>
+
+<class name="simpleLabelButtonTooltip" extends="button" fontstyle="bold"
+ fontsize="11" height="20" style="componentStyle">
+
+ <attribute name="tooltipId" type="number" value="0" />
+
+ <attribute name="labelid" type="number" setter="setLabelId(labelid)" />
+ <method name="setLabelId" args="_labelid" >
+ this.labelid = _labelid;
+ this.setAttribute('text',canvas.getLabelName(this.labelid));
+ </method>
+ <labelTooltip labelid="$once{ parent.tooltipId }" />
+</class>
+
+</library>
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/calendar/calendarWindow.lzx
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/calendar/calendarWindow.lzx?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/calendar/calendarWindow.lzx (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/calendar/calendarWindow.lzx Sun Dec 18 15:22:12 2011
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<library>
+
+<class name="calendarWindow" extends="view" clickable="true"
+ bgcolor="$once{ canvas.basebgcolorizer }">
+
+ <attribute name="fieldRef" value="null" />
+
+ <handler name="oninit">
+ lz.ModeManager.makeModal(this);
+ </handler>
+ <method name="close">
+ lz.ModeManager.release(this);
+ this.destroy();
+ </method>
+
+ <!--- @keywords private -->
+ <method name="passModeEvent" args="eventStr,view" >
+ <![CDATA[
+ if ( eventStr == "onmousedown" ){
+ if ( view != null ) {
+ if ( !view.childOf(this) ) {
+ this.close();
+ }
+ } else {
+ this.close();
+ }
+ }
+ if (view && view.childOf(this)) {
+ if (view[ eventStr ]) {
+ view[ eventStr ].sendEvent( view );
+ }
+ return false;
+ }
+ return true;
+ ]]>
+ </method>
+
+ <labelText fgcolor="0xFFFFFF" fontstyle="bold" labelid="481" x="1" y="1" />
+
+ <view name="_close" x="${ this.parent.width-19 }" y="1"
+ resource="btn_presenter_close"
+ onmouseover="this.setAttribute('frame',2)"
+ onmouseout="this.setAttribute('frame',1)"
+ onmousedown="this.setAttribute('frame',3)"
+ onmouseup="this.setAttribute('frame',1)" >
+ <handler name="onclick">
+ this.setAttribute('frame',2);
+ this.parent.close();
+ </handler>
+ <labelTooltip labelid="430" />
+ </view>
+
+ <dateSelector y="20" name="_dateselector">
+ <handler name="oninit">
+ <![CDATA[
+ //Debug.write("dateselector oninit. ",this);
+ var t = parent.fieldRef.getText();
+ var newDate = parseStringToDate(t);
+ this.showingdate = newDate;
+ //Debug.write("n1:",this.showingdate);
+ this.init();
+ ]]>
+ </handler>
+ <handler name="ondoubleselect" args="d">
+ parent.fieldRef.setAttribute('text',parseDateToString(d));
+ this.parent.close();
+ </handler>
+ </dateSelector>
+
+</class>
+
+</library>
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/calendar/dateField.lzx
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/calendar/dateField.lzx?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/calendar/dateField.lzx (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/calendar/dateField.lzx Sun Dec 18 15:22:12 2011
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<library>
+
+<resource name="date_icon_rsc" src="resources/date.png" />
+
+<class name="dateField" extends="view" width="104">
+
+ <attribute name="enabled" value="true" type="boolean" />
+ <attribute name="setDefaultToday" value="false" type="boolean" />
+ <attribute name="additionalDay" value="0" type="number" />
+
+ <handler name="oninit">
+ if (this.setDefaultToday){
+ if (this.additionalDay==0){
+ this._text.setAttribute('text',parseDateToString(new Date()));
+ } else {
+ var date = new Date();
+ date.setTime(date.getTime()+86400000);
+ this._text.setAttribute('text',parseDateToString(date));
+ }
+ }
+ </handler>
+
+ <method name="setText" args="txt">
+ this.setAttribute('text',txt);
+ </method>
+ <method name="getText" >
+ return this._text.getText();
+ </method>
+
+ <method name="setDate" args="d">
+
+ </method>
+ <method name="getDate">
+ var tString = this._text.getText();
+ var y = tString.substring(6,10);
+ var m = Number(tString.substring(3,5))-1;
+ var d = tString.substring(0,2);
+ var date = new Date(Date.UTC(y,m,d));
+ Debug.write(date);
+ return date;
+ </method>
+
+ <attribute name="text" value="" type="string" />
+
+ <customEdittext name="_text" width="$once{ parent.width-20 }" regexpType="date"
+ align="left" text="${ parent.text }" enabled="${ parent.enabled }" />
+
+ <view resource="date_icon_rsc" align="right"
+ opacity="${ ((parent.enabled) ? 1 : 0.4) }"
+ onmouseover="" onmouseout="" y="4">
+ <handler name="onclick">
+ if (parent.enabled) {
+ new lz.calendarWindow(this.parent.parent,{fieldRef:this.parent._text,x:this.parent.x+(this.parent.width-200),y:this.parent.y});
+ }
+ </handler>
+ <labelTooltip labelid="162" />
+ </view>
+
+</class>
+
+</library>
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/calendar/dateSelector.lzx
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/calendar/dateSelector.lzx?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/calendar/dateSelector.lzx (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/calendar/dateSelector.lzx Sun Dec 18 15:22:12 2011
@@ -0,0 +1,426 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<library>
+
+<class name="baseDateSelectorComponent" extends="view">
+
+ <attribute name="daynumbers" value="[0,1,2,3,4,5,6]" />
+
+ <attribute name="showingdate" type="string" value="" />
+
+ <attribute name="dayclass" when="once" />
+
+ <attribute name="weekclass" when="once" />
+ <attribute name="showcalenderweek" value="true" type="boolean" />
+
+ <attribute name="monthclass" when="once" />
+ <attribute name="showcalendermonth" value="true" type="boolean" />
+
+</class>
+
+<class name="dateSelectorDay" extends="baseDateSelectorComponent" width="24" bgcolor="0xFFFFFF">
+
+ <handler name="onclick">
+ this.parent.parent.parent.parent.parent.parent.selectDate(this.daydate);
+ </handler>
+
+ <handler name="ondblclick">
+ this.parent.parent.parent.parent.parent.parent.selectDoubleDate(this.daydate);
+ </handler>
+
+ <attribute name="daydate" value="null" />
+
+ <method name="init">
+ <![CDATA[
+ super.init();
+ if (parent.parent.parent.parent.month!=daydate.getMonth())
+ this._date.setAttribute('text','<FONT COLOR="#CCCCCC">'+daydate.getDate()+'</FONT>');
+ else
+ this._date.setAttribute('text',daydate.getDate());
+ ]]>
+ </method>
+
+ <text name="_date" fontsize="10" align="center" resize="true" />
+
+</class>
+
+<class name="dateSelectorDayHeader" extends="baseDateSelectorComponent" width="24" bgcolor="$once{ canvas.basebgcolorizer }" >
+
+ <attribute name="daynumber" value="0" type="number" />
+
+ <method name="init">
+ <![CDATA[
+ super.init();
+ var dateRoot = parent.parent.parent.parent;
+ //if ($debug) Debug.write("daynumber",this,dateRoot);
+ this._date.setAttribute('text',canvas.getLabelName(dateRoot.dayNamesLabelIds[( (daynumber>6) ? (daynumber-7) : daynumber )]));
+ this._date._tip.setAttribute('labelid',dateRoot.dayLabelNamesLabelIds[( (daynumber>6) ? (daynumber-7) : daynumber )]);
+ ]]>
+ </method>
+
+ <text fgcolor="white" name="_date" fontsize="10" align="center" resize="true"
+ onmouseover="" onmouseout="">
+ <labelTooltip name="_tip" />
+ </text>
+
+</class>
+
+<class name="dateSelectorWeekNumber" extends="view" width="24" bgcolor="$once{ canvas.basebgcolorizer }">
+
+ <attribute name="weeknumber" value="0" type="number" />
+ <text name="_date" fgcolor="white" fontsize="10" text="$once{ parent.weeknumber }"
+ align="center" resize="true" />
+
+</class>
+
+<class name="dateSelectorWeekNumberHeader" extends="view" width="24" bgcolor="$once{ canvas.basebgcolorizer }">
+
+ <attribute name="labelWeekHeader" value="" type="string" />
+ <text name="_date" fgcolor="white" fontsize="10" text="$once{ parent.labelWeekHeader }"
+ align="center" resize="true"
+ onmouseover="" onmouseout="">
+ <labelTooltip name="_tip" labelid="468" />
+ </text>
+
+</class>
+
+<class name="dateSelectorWeek" extends="baseDateSelectorComponent" bgcolor="$once{ canvas.baseMouseOvercolorizer }">
+
+ <attribute name="firstweekddaydate" value="null" />
+
+ <method name="init">
+ <![CDATA[
+ super.init();
+ for( var i = 0 ; i < 7 ; i++ ) new dayclass(this.content,{daydate:new Date(firstweekddaydate.getTime()+(86400000*i))});
+ ]]>
+ </method>
+
+ <view name="content" layout="axis:x;spacing:1" />
+
+</class>
+
+
+<class name="dateSelectorMonth" extends="baseDateSelectorComponent" bgcolor="$once{ canvas.baseMouseOvercolorizer }" height="137" width="201">
+
+ <attribute name="month" value="0" type="number" />
+ <attribute name="firstweekNumber" value="0" type="number" />
+ <attribute name="currentMonthName" value="" type="string" />
+
+ <method name="init">
+ <![CDATA[
+ super.init();
+ var dateRoot = parent.parent;
+ //if ($debug) Debug.write("dateRoot: ",dateRoot);
+ this.setAttribute('currentMonthName',dateRoot.monthnames[month]);
+ new lz.dateSelectorWeekNumberHeader(this.weekheader,{labelWeekHeader:canvas.getLabelName(467),bgcolor:canvas.basebgcolorizer});
+ for( var i = 0 ; i < 6 ; i++ ) new lz.dateSelectorWeek(this.content,{firstweekddaydate:new Date(this.showingdate.getTime()+(604800000*i)),dayclass:dayclass,month:month});
+ for( var i = 0 ; i < 7 ; i++ ) new lz.dateSelectorDayHeader(this.weekheader,{daynumber:(this.showingdate.getDay()+i)});
+ for( var i = 0 ; i < 6 ; i++ ) new lz.dateSelectorWeekNumber(this.weekNumber,{weeknumber:( (this.firstweekNumber+i<54) ? (this.firstweekNumber+i) : ((this.firstweekNumber+i)-53) )});
+ ]]>
+ </method>
+ <view name="header" layout="axis:x" height="18" bgcolor="$once{ canvas.baseMouseOvercolorizer }">
+ <text width="20" fgcolor="white" height="18"
+ onmouseover="this.setAttribute('bgcolor',canvas.basebgcolorizer)" onmouseout="this.setAttribute('bgcolor',canvas.baseMouseOvercolorizer)">
+ <handler name="oninit"><![CDATA[
+ this.setAttribute('text','<');]]>
+ </handler>
+ <handler name="onclick">
+ this.parent.parent.parent.parent.showPreviewsMonth();
+ </handler>
+ </text>
+ <text width="22" fgcolor="white" height="18"
+ onmouseover="this.setAttribute('bgcolor',canvas.basebgcolorizer)" onmouseout="this.setAttribute('bgcolor',canvas.baseMouseOvercolorizer)">
+ <handler name="oninit"><![CDATA[
+ this.setAttribute('text','<<');]]>
+ </handler>
+ <handler name="onclick">
+ this.parent.parent.parent.parent.showPreviewsYear();
+ </handler>
+ </text>
+ <view width="116" bgcolor="$once{ canvas.baseMouseOvercolorizer }" height="$once{ parent.height }" >
+ <text fontsize="10" fgcolor="white" align="center" text="${ parent.parent.parent.currentMonthName+' '+parent.parent.parent.parent.parent.year }" resize="true" />
+ </view>
+ <text width="22" fgcolor="white" text=">>" height="18"
+ onmouseover="this.setAttribute('bgcolor',canvas.basebgcolorizer)" onmouseout="this.setAttribute('bgcolor',canvas.baseMouseOvercolorizer)">
+ <handler name="onclick">
+ this.parent.parent.parent.parent.showNextYear();
+ </handler>
+ </text>
+ <text width="20" fgcolor="white" text=" >" height="18"
+ onmouseover="this.setAttribute('bgcolor',canvas.basebgcolorizer)" onmouseout="this.setAttribute('bgcolor',canvas.baseMouseOvercolorizer)">
+ <handler name="onclick">
+ this.parent.parent.parent.parent.showNextMonth();
+ </handler>
+ </text>
+ </view>
+ <view name="weekheader" layout="axis:x;spacing:1" x="1" y="18" bgcolor="$once{ canvas.baseMouseOvercolorizer }"/>
+ <view name="weekNumber" layout="axis:y;spacing:1" x="1" y="35" />
+ <view name="content" layout="axis:y;spacing:1" x="26" y="35" />
+</class>
+
+<class name="baseDateSelector" extends="baseDateSelectorComponent" >
+
+ <attribute name="dayNamesLabelIds" value="null" />
+ <attribute name="dayLabelNamesLabelIds" value="null" />
+ <attribute name="monthnames" value="['Januar','Februar','Maerz','April','Mai','Juni','Juli','August','September','Oktober','November','Dezember']"/>
+
+
+ <attribute name="firstdayinweek" value="$once{ canvas.firstdayinweek }" type="number" />
+ <attribute name="year" value="" type="string" />
+ <attribute name="selecteddate" value="null" />
+ <attribute name="selected" value="null" />
+
+ <event name="onselect" />
+ <event name="ondoubleselect" />
+
+ <event name="onmonthSel" />
+ <event name="onyearSel" />
+
+ <handler name="oninit">
+ <![CDATA[
+ this.dayNamesLabelIds = [459,453,454,455,456,457,458];
+ this.dayLabelNamesLabelIds = [466,460,461,462,463,464,465];
+ this.monthnames = [canvas.getLabelName(469),canvas.getLabelName(470),
+ canvas.getLabelName(471),canvas.getLabelName(472),
+ canvas.getLabelName(473),canvas.getLabelName(474),
+ canvas.getLabelName(475),canvas.getLabelName(476),
+ canvas.getLabelName(477),canvas.getLabelName(478),
+ canvas.getLabelName(479),canvas.getLabelName(480)]
+ //460
+ //454
+
+ this.init();
+ ]]>
+ </handler>
+
+ <method name="init">
+ <![CDATA[
+ super.init();
+
+ if (this.showingdate==""){
+ this.showingdate = new Date();
+ }
+ this.setAttribute('year',this.showingdate.getFullYear());
+ this.selecteddate = this.showingdate;
+ var firstdayDate = this.getDateFirstDayInMonth();
+ this.content.content.destroy();
+ new lz.dateSelectorMonth(this.content,{name:'content',
+ firstweekNumber:this.getWeekNumber(firstdayDate.getTime()),
+ month:this.selecteddate.getMonth(),
+ showingdate:firstdayDate,
+ dayclass:dayclass,
+ weekclass:weekclass,
+ showcalenderweek:showcalenderweek,
+ showcalendermonth:showcalendermonth
+ });
+ this.hiliteDate(this.showingdate);
+ this.onselect.sendEvent(this.selecteddate);
+ this.checkToday();
+ ]]>
+ </method>
+
+ <method name="checkToday">
+ <![CDATA[
+ var tDate = new Date();
+ if (this.showingdate.getMonth()== tDate.getMonth() && this.showingdate.getFullYear() == tDate.getFullYear()){
+ //Debug.write("+++++++ Found Today");
+ var ref = this.getDateRefByDateNumber(tDate.getDate(),tDate.getMonth());
+ ref.setAttribute('bgcolor',0xCECECE);
+ }
+ ]]>
+ </method>
+
+ <method name="selectDate" args="dateObj">
+ this.showingdate = dateObj;
+ this.selecteddate = dateObj;
+ this.hiliteDate(this.showingdate);
+ this.checkToday();
+ this.onselect.sendEvent(this.selecteddate);
+ </method>
+
+ <method name="selectDoubleDate" args="dateObj">
+ this.showingdate = dateObj;
+ this.selecteddate = dateObj;
+ this.hiliteDate(this.showingdate);
+ this.checkToday();
+ this.ondoubleselect.sendEvent(this.selecteddate);
+ </method>
+
+ <method name="hiliteDate" args="dateObj">
+ <![CDATA[
+ if(this.selected!=null) this.selected.setAttribute('bgcolor',"white");
+ var i=0;
+ while (i<this.content.content.content.subviews.length){
+ var k=0;
+ while (k<this.content.content.content.subviews[i].content.subviews.length){
+ var t = this.content.content.content.subviews[i].content.subviews[k].daydate;
+ if (t.getDate()==dateObj.getDate() && t.getMonth()==dateObj.getMonth()){
+ this.selected = this.content.content.content.subviews[i].content.subviews[k];
+ this.selected.setAttribute('bgcolor',0xCCD7E1);
+ }
+ k++;
+ }
+ i++;
+ }
+ ]]>
+ </method>
+
+ <!--
+ Here the Date has to be changed sothat the firstday in week is the first day in month
+ -->
+ <method name="getDateFirstDayInMonth">
+ <![CDATA[
+ //First calc the date by the given first day in week
+ var newDateTemp = new Date(this.showingdate.getFullYear(), this.showingdate.getMonth(), 1);
+ ////Debug.write(newDateTemp);
+ var factor = 0;
+ if (newDateTemp.getDay()>this.firstdayinweek)
+ factor = -((newDateTemp.getDay()-this.firstdayinweek));
+ else if (newDateTemp.getDay()<this.firstdayinweek)
+ factor = (this.firstdayinweek-newDateTemp.getDay());
+ ////Debug.write("factor: ",factor);
+
+ //calc first day
+ var newDate = new Date( (newDateTemp.getTime()+(86400000*factor)) );
+
+ //if the first day is after the first day of the selected month then we have to add 7 Days
+ if (newDate.getDate()>1 && newDate.getMonth()==newDateTemp.getMonth()){
+ newDate = new Date( (newDate.getTime()-(86400000*7)) );
+ }
+ ////Debug.write("getDateFirstDayInMonth ",newDate);
+ return newDate;
+ ]]>
+ </method>
+
+ <method name="isoWeekDays" args="yday,wday" >
+ <![CDATA[
+ return yday - ((yday - wday + 382) % 7) + 3;
+ ]]>
+ </method>
+
+ <method name="isLeapYear" args="year" >
+ <![CDATA[
+ if (((year % 4) == 0 && (year % 100)!=0) || (year % 400)==0)
+ return 1;
+ else
+ return 0;
+ ]]>
+ </method>
+
+ <method name="getDaysInMonth" args="iYear,iMonth" >
+ <![CDATA[
+ return 32 - new Date(iYear, iMonth, 32).getDate();
+ ]]>
+ </method>
+
+ <method name="getWeekNumber" args="DateInMilliseconds" >
+ <![CDATA[
+ var d = new Date(DateInMilliseconds);
+ if ($debug) Debug.write("getWeekNumber: ",d);
+ var NumerOfDaysIn = d.getDate();
+
+ for (var i=0;i<d.getMonth();i++) {
+ var monthDays = this.getDaysInMonth(d.getFullYear(),d.getMonth());
+ NumerOfDaysIn+=monthDays;
+ }
+ if ($debug) Debug.write("NumerOfDaysIn,month: ",NumerOfDaysIn,d.getMonth());
+
+ var days = this.isoWeekDays(NumerOfDaysIn,d.getDay());
+ if ($debug) Debug.write("days: ",days);
+
+ if (days < 0) {
+ NumerOfDaysIn += 365 + isLeapYear(--NumerOfDaysIn);
+ days = this.isoWeekDays(NumerOfDaysIn, d.getDay());
+ } else {
+ NumerOfDaysIn -= 365 + isLeapYear(NumerOfDaysIn);
+ var d2 = this.isoWeekDays(NumerOfDaysIn,d.getDay());
+ if (0 <= d2) {
+ days = d2;
+ }
+ }
+
+ if ($debug) Debug.write("days: ",days);
+
+ return (Math.floor((days / 7)));
+ ]]>
+ </method>
+
+ <method name="clearContent">
+ this.content.destroy();
+ new LzView(this,{name:'content'});
+ </method>
+
+ <method name="showPreviewsMonth">
+ <![CDATA[
+ this.clearContent();
+ var preyear = this.showingdate.getFullYear();
+ var previewsMonth = this.showingdate.getMonth()-1;
+ if (previewsMonth<0) {
+ previewsMonth=11;
+ preyear--;
+ }
+ this.showingdate = new Date(preyear, previewsMonth, this.showingdate.getDate());
+ this.onmonthSel.sendEvent(previewsMonth);
+ this.init();
+ ]]>
+ </method>
+
+ <method name="showNextMonth">
+ <![CDATA[
+ this.clearContent();
+ var preyear = this.showingdate.getFullYear();
+ var previewsMonth = this.showingdate.getMonth()+1;
+ if (previewsMonth>11) {
+ previewsMonth=0;
+ preyear++;
+ }
+ this.showingdate = new Date(preyear, previewsMonth, this.showingdate.getDate());
+ this.onmonthSel.sendEvent(previewsMonth);
+ this.init();
+ ]]>
+ </method>
+
+ <method name="showPreviewsYear">
+ this.clearContent();
+ this.showingdate = new Date(this.showingdate.getFullYear()-1, this.showingdate.getMonth(), this.showingdate.getDate());
+ this.onyearSel.sendEvent(this.showingdate.getFullYear());
+ this.init();
+ </method>
+
+ <method name="showNextYear">
+ this.clearContent();
+ this.showingdate = new Date(this.showingdate.getFullYear()+1, this.showingdate.getMonth(), this.showingdate.getDate());
+ this.onyearSel.sendEvent(this.showingdate.getFullYear());
+ this.init();
+ </method>
+
+ <method name="getDateRefByDateNumber" args="dayNumber,month">
+ <![CDATA[
+ ////Debug.write(this.content.content.content);
+ for (var i=0;i<this.content.content.content.subviews.length;i++){
+ ////Debug.write("this.content.content.content.subviews: ",i,this.content.content.content.subviews[i]);
+ for (var k=0;k<this.content.content.content.subviews[i].content.subviews.length;k++){
+ ////Debug.write("this.content.content.content.subviews[i].content.subviews[k].daydate.getDate(): ",this.content.content.content.subviews[i].content.subviews[k].daydate.getDate(),dayNumber);
+ ////Debug.write("this.content.content.content.subviews[i].content.subviews[k].daydate.getMonth(): ",this.content.content.content.subviews[i].content.subviews[k].daydate.getMonth(),month);
+ if(this.content.content.content.subviews[i].content.subviews[k].daydate.getDate()==dayNumber && this.content.content.content.subviews[i].content.subviews[k].daydate.getMonth()==month){
+ return this.content.content.content.subviews[i].content.subviews[k];
+ }
+ ////Debug.write("k: ",k,this.content.content.content.subviews[i].content.subviews[k]);
+ ////Debug.write(this.content.content.content.subviews[i].content.subviews[k].daydate);
+ }
+ }
+ return null;
+ ]]>
+ </method>
+
+ <view name="content">
+ <view name="content" />
+ </view>
+
+</class>
+
+<class name="dateSelector" extends="baseDateSelector"
+ weekclass="lz.dateSelectorWeek" dayclass="lz.dateSelectorDay" monthclass="lz.dateSelectorMonth" >
+
+</class>
+
+</library>
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/calendar/doc/lzx/ja/calendarwindow_doc.xml
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/calendar/doc/lzx/ja/calendarwindow_doc.xml?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/calendar/doc/lzx/ja/calendarwindow_doc.xml (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/calendar/doc/lzx/ja/calendarwindow_doc.xml Sun Dec 18 15:22:12 2011
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rlzxdoc>
+ <class name="calendarwindow">
+ <doc>
+ ã«ã¬ã³ãã¼ã®Clickable iconãé常ã¯*å°ããª*ã«ã¬ã³ãã¼ã ããã¯ãªãã¯ãããã¨ï¼å¤åï¼ã«ã¬ã³ãã¼ã
+ 大ãã表示ãããããã®ã¯ã©ã¹ã§ã¯ã¯ãªãã¯ãããã¨ãã«èªåãdestroy()ãã¦æ¶ãã¦ããã
+ *datepickerã¨ä»£æ¿å¯è½(?)
+ </doc>
+ </class>
+</rlzxdoc>
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/calendar/doc/lzx/ja/datefield_doc.xml
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/calendar/doc/lzx/ja/datefield_doc.xml?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/calendar/doc/lzx/ja/datefield_doc.xml (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/calendar/doc/lzx/ja/datefield_doc.xml Sun Dec 18 15:22:12 2011
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rlzxdoc>
+ <class name="datefield">
+ <doc>
+ calendarwindowãå®è¡ãããå¾ã«è¡¨ç¤ºããã(?)ã
+ *calendarwindowã¨ä¸ç·ã«ãdatepickerã§ä»£æ¿å¯è½(?)
+ </doc>
+ </class>
+</rlzxdoc>
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/calendar/doc/lzx/ja/dateselector_doc.xml
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/calendar/doc/lzx/ja/dateselector_doc.xml?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/calendar/doc/lzx/ja/dateselector_doc.xml (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/calendar/doc/lzx/ja/dateselector_doc.xml Sun Dec 18 15:22:12 2011
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rlzxdoc>
+ <class name="dateselector">
+ <doc>
+ ã«ã¬ã³ãã¼è¨å®ãè¡ã£ã¦ããã¯ã©ã¹ãä¸ã¤ã®ãã¡ã¤ã«ã«basedateselectorcomponentã¯ã©ã¹ã¨ãdateselectordayã¯ã©ã¹ãããã¾ãã
+ ãã¡ã¤ã«ãåãã¾ãããã
+ *basedateselectorcomponentã¯ã©ã¹ã§ã¯ã*ææ¥*ã®è¡¨è¨ãåæã®æçµæ¥ãè¨å®ãã¦ãã¾ããããã¯éå¹´ã«å¯¾å¿ãã¦ããªãã®ã§
+ ããã®ã¾ã¾ã§ã¯ããã¾ããããããdatepickerã§ä»£æ¿(?)
+ </doc>
+ </class>
+</rlzxdoc>
\ No newline at end of file
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/calendar/library.lzx
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/calendar/library.lzx?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/calendar/library.lzx (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/calendar/library.lzx Sun Dec 18 15:22:12 2011
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<library>
+
+ <include href="dateSelector.lzx" />
+ <include href="dateField.lzx" />
+ <include href="calendarWindow.lzx" />
+
+</library>
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/calendar/resources/date.png
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/calendar/resources/date.png?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/calendar/resources/date.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/clickbox/clickBox.lzx
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/clickbox/clickBox.lzx?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/clickbox/clickBox.lzx (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/clickbox/clickBox.lzx Sun Dec 18 15:22:12 2011
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<library>
+
+<resource name="clickbox_rsc">
+ <frame src="resources/clickboxempty.png" />
+ <frame src="resources/clickboxback.png" />
+</resource>
+
+<class name="clickBox" extends="basecomponent" resource="clickbox_rsc" >
+ <attribute name="onvalue" value="null" />
+ <attribute name="_value" type="boolean" value="false" setter="setValue(_value)" />
+ <attribute name="initval" value="false" type="boolean" setter="setInitValue(initval)" />
+ <attribute name="isupdateCheck" value="false" type="boolean" />
+ <method name="setValue" args="val">
+ if (this._value!=val){
+ ////Debug.write("val: ",val);
+ this._value=val;
+ ////Debug.write("this._value: ",this._value);
+ _togglestate();
+ }
+ </method>
+ <method name="setInitValue" args="val">
+ ////Debug.write("val: ",val);
+ this.initval=val;
+ </method>
+ <method name="getValue">
+ return this._value;
+ </method>
+ <handler name="onclick">
+ ////Debug.write("this.getAttribute('_value')",this,this._value,this.getAttribute('_value'));
+ this.setAttribute('_value',!this.getAttribute('_value'));
+ </handler>
+ <method name="_togglestate">
+ if (this._value){
+ this.setAttribute('frame',2);
+ } else {
+ this.setAttribute('frame',1);
+ }
+ if ( this.onvalue ) this.onvalue.sendEvent(this._value);
+ </method>
+</class>
+
+
+</library>
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/clickbox/doc/lzx/ja/clickbox_doc.xml
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/clickbox/doc/lzx/ja/clickbox_doc.xml?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/clickbox/doc/lzx/ja/clickbox_doc.xml (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/clickbox/doc/lzx/ja/clickbox_doc.xml Sun Dec 18 15:22:12 2011
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rlzxdoc>
+ <class name="clickbox">
+ <doc>
+ clickableãªæ±ç¨basecomponent(view)ãä½ã«ä½¿ã£ã¦ããã®ãããããªãããä¾åé¢ä¿ã®å°ããããã¯ã©ã¹ã
+ *resourceãåä¸ãã¡ã¤ã«ã«è¨è¿°ããã¦ããã
+ </doc>
+ </class>
+</rlzxdoc>
\ No newline at end of file
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/clickbox/library.lzx
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/clickbox/library.lzx?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/clickbox/library.lzx (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/clickbox/library.lzx Sun Dec 18 15:22:12 2011
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<library>
+
+ <include href="clickBox.lzx" />
+
+</library>
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/clickbox/resources/clickboxback.png
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/clickbox/resources/clickboxback.png?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/clickbox/resources/clickboxback.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/clickbox/resources/clickboxempty.png
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/clickbox/resources/clickboxempty.png?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/clickbox/resources/clickboxempty.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/conferencebox/conferenceBox.lzx
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/conferencebox/conferenceBox.lzx?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/conferencebox/conferenceBox.lzx (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/conferencebox/conferenceBox.lzx Sun Dec 18 15:22:12 2011
@@ -0,0 +1,105 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<library>
+
+<class name="conferenceBox" extends="view" width="250" height="400" >
+
+ <attribute name="labelid" type="number" setter="setLabelId(labelid)" />
+ <method name="setLabelId" args="_labelid" >
+ this.labelid = _labelid;
+ this.setAttribute('headerText',canvas.getLabelName(this.labelid));
+ </method>
+
+ <attribute name="headerText" value="Users" type="string" />
+
+ <attribute name="closeable" value="false" type="boolean" />
+ <attribute name="isopen" value="true" type="boolean" />
+
+ <attribute name="textInset" value="10" type="number" />
+
+ <attribute name="initHeight" value="0" type="number"/>
+
+ <attribute name="closedHeight" value="40" type="number"/>
+
+ <handler name="oninit">
+ if (this.initHeight == 0) {
+ this.initHeight = this.height;
+ }
+ </handler>
+
+ <method name="doOpen">
+ if (!this.isopen) {
+ this.toggleopen();
+ }
+ </method>
+
+ <method name="toggleopen">
+ if (this.isopen) {
+ this.setAttribute("isopen",false);
+ this.setAttribute("height",this.closedHeight);
+ this.content.setAttribute("visibility","hidden");
+ } else {
+ this.setAttribute("isopen",true);
+ this.setAttribute("height",this.initHeight);
+ //if ($debug) Debug.write("toggleopen TRUE ",this.initHeight)
+ this.content.setAttribute("visibility","visible");
+ }
+ </method>
+
+ <view name="_head" x="0" y="0" width="${ parent.width }" height="34"
+ clickable="$once{ this.parent.closeable }" >
+
+ <handler name="onclick">
+ if (this.parent.closeable) {
+ this.parent.toggleopen();
+ }
+ </handler>
+
+ <view width="${ parent.width }" height="$once{ parent.height }"
+ stretches="both" resource="presenter_thumb_rsc" >
+
+ <handler name="oninit">
+ <![CDATA[
+ this.setTintRGB(canvas.basebgcolorizer,90);
+ ]]>
+ </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 } );
+
+ }
+ ]]>
+ </method>
+ </view>
+
+ <view x="8" y="4" visible="${ this.parent.parent.closeable }">
+
+ <view visible="${ !this.parent.parent.parent.isopen }" x="2" y="3" resource="conferenceBox_button_min_rsc">
+ <handler name="onmouseup">
+ this.parent.parent.parent.toggleopen();
+ </handler>
+ </view>
+ <view visible="${ this.parent.parent.parent.isopen }" x="2" y="3" resource="conferenceBox_button_max_rsc">
+ <handler name="onmouseup">
+ this.parent.parent.parent.toggleopen();
+ </handler>
+ </view>
+
+ </view>
+
+ <text x="$once{ parent.parent.textInset }" fontstyle="bold" fontsize="14" fgcolor="0xFFFFFF"
+ text="${ parent.parent.headerText }" valign="middle"></text>
+
+ </view>
+
+</class>
+
+</library>
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/conferencebox/library.lzx
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/conferencebox/library.lzx?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/conferencebox/library.lzx (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/conferencebox/library.lzx Sun Dec 18 15:22:12 2011
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<library>
+
+ <resource name="conferenceBox_button_min_rsc" src="resources/box_closed.png" />
+
+ <resource name="conferenceBox_button_max_rsc" src="resources/box_open.png" />
+
+ <resource name="kaleidoscope_textbox_milk"
+ src="resources/milk.swf" />
+
+ <include href="conferenceBox.lzx" />
+
+</library>
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/conferencebox/resources/box_closed.fla
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/conferencebox/resources/box_closed.fla?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/conferencebox/resources/box_closed.fla
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/conferencebox/resources/box_closed.png
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/conferencebox/resources/box_closed.png?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/conferencebox/resources/box_closed.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/conferencebox/resources/box_open.fla
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/conferencebox/resources/box_open.fla?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/conferencebox/resources/box_open.fla
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/conferencebox/resources/box_open.png
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/conferencebox/resources/box_open.png?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/conferencebox/resources/box_open.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/conferencebox/resources/milk.swf
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/conferencebox/resources/milk.swf?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/conferencebox/resources/milk.swf
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/confirmationSingle.lzx
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/confirmationSingle.lzx?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/confirmationSingle.lzx (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/confirmationSingle.lzx Sun Dec 18 15:22:12 2011
@@ -0,0 +1,118 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<library>
+
+<class name="confirmationSingle" extends="labelExplorerBox" labelid="832"
+ docking="true" resizeable="false" closable="true" height="140" width="300">
+
+ <attribute name="refObj" value="null" />
+
+ <attribute name="refReturnMethod" value="null" />
+
+ <attribute name="showCheckBox" value="true" type="boolean" />
+
+ <attribute name="labeliderror" value="0" type="number" />
+
+ <view x="4" resource="warning_icon_rsc" y="24" />
+
+ <labelText labelid="$once{ parent.labeliderror }" y="24"
+ width="$once{ parent.width - 40 }"
+ multiline="true" resize="false" x="30" />
+
+ <handler name="oninit">
+ <![CDATA[
+
+ //Set Position of Confirmation Box as Close as possible to the Mouse
+ var x = parent.getMouse("x");
+ var y = parent.getMouse("y");
+ var newx = x - (this.width/2);
+ var newy = y - (this.height/2);
+
+ if ($debug) Debug.write("1",x,y,newx,newy);
+
+ if (newx < 0) {
+ newx = 20;
+ }
+ if (newy < 0) {
+ newy = 20;
+ }
+
+ //if ($debug) Debug.write("1.1",(this.width + newx + 20),parent.width,this.width);
+
+ var relativeWidth = parent.width;
+ if (relativeWidth > canvas.width) {
+ relativeWidth = canvas.width;
+ }
+
+ if (this.width + newx + 20 > relativeWidth) {
+ newx = relativeWidth-this.width-20;
+ }
+
+ if (this.height + newy + 20 > parent.height) {
+ newy = parent.height-this.height-20;
+ }
+
+ if ($debug) Debug.write("2",newx,newy);
+
+ this.setAttribute("x",newx);
+ this.setAttribute("y",newy);
+
+ ]]>
+ </handler>
+
+ <labelCheckbox name="holddatainSO" visibility="$once{ (parent.showCheckBox) ? 'visible' : 'hidden' }"
+ labelid="64" x="10" y="$once{ parent.height - 46 }" />
+
+ <simpleLabelButton labelid="61" width="100" x="$once{ parent.width - 105 }" y="$once{ parent.height - 26 }">
+ <handler name="onclick">
+ var t = parent.holddatainSO.getValue();
+ this.parent.close();
+ if (parent.refReturnMethod == null) {
+ this.parent.refObj.sendNoConfirmation();
+ } else {
+ this.parent.refObj[parent.refReturnMethod](false,t);
+ }
+ </handler>
+ </simpleLabelButton>
+ <simpleLabelButton labelid="60" width="100" x="$once{ parent.width - 210 }" y="$once{ parent.height - 26 }">
+ <handler name="onclick">
+ var t = parent.holddatainSO.getValue();
+ this.parent.close();
+ if (parent.refReturnMethod == null) {
+ this.parent.refObj.sendConfirmation(true,t);
+ } else {
+ this.parent.refObj[parent.refReturnMethod](true,t);
+ }
+ </handler>
+ </simpleLabelButton>
+</class>
+
+<class name="rememberMessage" extends="labelExplorerBox" labelid="832"
+ x="$once{ canvas.width/2 - this.width/2 }" y="100"
+ docking="true" resizeable="false" closable="true" height="140" width="300">
+
+ <attribute name="refObj" value="null" />
+
+ <attribute name="showCheckBox" value="true" type="boolean" />
+
+ <attribute name="labeliderror" value="0" type="number" />
+
+ <view x="4" resource="warning_icon_rsc" y="24" />
+
+ <labelText labelid="$once{ parent.labeliderror }" y="24"
+ width="$once{ parent.width - 40 }"
+ multiline="true" resize="false" x="30" />
+
+ <labelCheckbox name="holddatainSO" visibility="$once{ (parent.showCheckBox) ? 'visible' : 'hidden' }"
+ labelid="64" x="10" y="$once{ parent.height - 46 }" />
+
+ <simpleLabelButton labelid="642" width="100" x="$once{ parent.width - 105 }" y="$once{ parent.height - 26 }">
+ <handler name="onclick">
+ var t = parent.holddatainSO.getValue();
+ this.parent.close();
+ this.parent.refObj.sendConfirmation(t);
+ </handler>
+ </simpleLabelButton>
+
+</class>
+
+</library>
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/doc/lzx/ja/iconview_doc.xml
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/doc/lzx/ja/iconview_doc.xml?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/doc/lzx/ja/iconview_doc.xml (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/doc/lzx/ja/iconview_doc.xml Sun Dec 18 15:22:12 2011
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rlzxdoc>
+ <class name="iconview">
+ <doc>
+ onmouseover/onmouseout/onmousedown/onmouseupã®åæä½ã§ãªã½ã¼ã¹ç»å<br/>
+ ã®è¨å®ãå¤ãã¦ãã¾ãã
+ </doc>
+ </class>
+</rlzxdoc>
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/doc/lzx/ja/labelradiobutton_doc.xml
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/doc/lzx/ja/labelradiobutton_doc.xml?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/doc/lzx/ja/labelradiobutton_doc.xml (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/doc/lzx/ja/labelradiobutton_doc.xml Sun Dec 18 15:22:12 2011
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rlzxdoc>
+ <class name="labelradiobutton">
+ <doc>
+ ã©ãã«ä»ãã®ã©ã¸ãªãã¿ã³ã
+ </doc>
+ </class>
+</rlzxdoc>
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/doc/lzx/ja/resetcombobox_doc.xml
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/doc/lzx/ja/resetcombobox_doc.xml?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/doc/lzx/ja/resetcombobox_doc.xml (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/doc/lzx/ja/resetcombobox_doc.xml Sun Dec 18 15:22:12 2011
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rlzxdoc>
+ <class name="resetcombobox">
+ <doc>
+ reset()ã¡ã½ããä»ãã®comboboxã¯ã©ã¹ã
+ </doc>
+ </class>
+</rlzxdoc>
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/doc/lzx/ja/tablecombobox_doc.xml
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/doc/lzx/ja/tablecombobox_doc.xml?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/doc/lzx/ja/tablecombobox_doc.xml (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/doc/lzx/ja/tablecombobox_doc.xml Sun Dec 18 15:22:12 2011
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rlzxdoc>
+ <class name="tablecombombox">
+ <doc>
+ åæç¶æ
ã§é¸æããã¦ãããã¼ã¿ã'tValue'å±æ§ã«è¨å®ã§ããcomboboxã¯ã©ã¹ã<br/>
+ *'parent.parent...'ã¨å¼ã³åºãå´ã«ä¾åãã¦ããã®ã§è¦å¤æ´ã
+ </doc>
+ </class>
+</rlzxdoc>
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/doc/lzx/ja/tablelistItem_doc.xml
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/doc/lzx/ja/tablelistItem_doc.xml?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/doc/lzx/ja/tablelistItem_doc.xml (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/doc/lzx/ja/tablelistItem_doc.xml Sun Dec 18 15:22:12 2011
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rlzxdoc>
+ <class name="tablelistItem">
+ <doc>
+ ãã©ã«ãå¤æ´ãè¡ãããã®viewã¯ã©ã¹ã<br/>
+ *'parent.parent...'ã¨å¼ã³åºãå´ã«ä¾åãã¦ããã®ã§è¦å¤æ´ã
+ </doc>
+ </class>
+</rlzxdoc>
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/doc/lzx/ja/updatecheckbox_doc.xml
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/doc/lzx/ja/updatecheckbox_doc.xml?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/doc/lzx/ja/updatecheckbox_doc.xml (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/doc/lzx/ja/updatecheckbox_doc.xml Sun Dec 18 15:22:12 2011
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rlzxdoc>
+ <class name="updatecheckbox">
+ <doc>
+ 'tValue'å±æ§ï¼boolean)ãã¯ã©ã¹å¤ããæå®ãã¦ããã§ãã¯ããããã¨ã«ãã£ã¦ãã®ãã¼ã¿ãéä¿¡ãã¾ãã
+ </doc>
+ </class>
+ <class name="labelcheckbox">
+ <doc>
+ ã©ãã«ä»ãã®ãã§ãã¯ããã¯ã¹ã
+ *ä»ã«ãåããããªãã©ã¹ããã£ããããªããã
+ </doc>
+ </class>
+</rlzxdoc>
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/doc2/lzx/ja/iconview_doc.xml
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/doc2/lzx/ja/iconview_doc.xml?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/doc2/lzx/ja/iconview_doc.xml (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/doc2/lzx/ja/iconview_doc.xml Sun Dec 18 15:22:12 2011
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<descr>
+ ãã¦ã¹æä½ã«ãã表示ã¢ã¤ã³ã³ã®ãªã½ã¼ã¹ãåãæ¿ãããæ±ç¨ã³ã³ãã¼ãã³ãã¯ã©ã¹ã
+ mouseover/onmouseout/onmousedown/onmouseupã®åã¤ãã³ããå®è£
ããã¦ãã¾ãã
+ attributeã®"enabled"ãtrueã®æã®ã¿å¹æãããã¾ãã
+</descr>
\ No newline at end of file
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/doc2/lzx/ja/labelradiobutton_doc.xml
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/doc2/lzx/ja/labelradiobutton_doc.xml?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/doc2/lzx/ja/labelradiobutton_doc.xml (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/doc2/lzx/ja/labelradiobutton_doc.xml Sun Dec 18 15:22:12 2011
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<descr>
+ main.lzxã®getLabelName()ãå¼ã³åºãã¦ãæå®ãããlabelidããã¿ã³ã«ã»ãããã¾ãã
+ ãã¿ã³ã®è¡¨ç¤ºæåã®å¤è¨èªè¨å®ããã¦ãã¾ãã
+</descr>
\ No newline at end of file
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/doc2/lzx/ja/resetcombobox_doc.xml
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/doc2/lzx/ja/resetcombobox_doc.xml?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/doc2/lzx/ja/resetcombobox_doc.xml (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/doc2/lzx/ja/resetcombobox_doc.xml Sun Dec 18 15:22:12 2011
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<descr>
+ comboboxã®ãªã»ããå¦çãcblistã§æå®ããã¦ãããã¼ã¿ãã"0"çªç®ã®ãã¼ã¿ãåé¤ãã¦
+ resetItemsListNumber(?)ã®ã¤ãã³ããçºçããã¦ãã¾ãã
+</descr>
\ No newline at end of file
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/doc2/lzx/ja/tablecombobox_doc.xml
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/doc2/lzx/ja/tablecombobox_doc.xml?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/doc2/lzx/ja/tablecombobox_doc.xml (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/doc2/lzx/ja/tablecombobox_doc.xml Sun Dec 18 15:22:12 2011
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<descr>
+ initializeæã«ä»»æã®ãã¼ã¿ã表示ã§ããã
+ åé¢ã«è¡¨ç¤ºãããã¨ã(onbule)ãç¾å¨ã®ãã¼ã¿ãåè¨å®ããã
+ *ã½ã¼ã¹ä¸ã«ã"parent.parent..."ã¨è¨è¿°ãå¤ããå®è£
ã«ä¾åãããã¦ããã
+</descr>
\ No newline at end of file
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/doc2/lzx/ja/tablelistItem_doc.xml
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/doc2/lzx/ja/tablelistItem_doc.xml?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/doc2/lzx/ja/tablelistItem_doc.xml (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/doc2/lzx/ja/tablelistItem_doc.xml Sun Dec 18 15:22:12 2011
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<descr>
+ arrayãæã¤viewã®æ¡å¼µã¯ã©ã¹ããªãã¸ã§ã¯ãã®æ°/æ§ã"holder"ã«éã£ã¦ããã
+ å
·ä½çã«ä½ããã¦ããã®ãã¯è¦ªã®å®è£
ã«ããããã§ããããªãã
+ *"parent.parent...."ãã½ã¼ã¹ä¸ã«ãããå®è£
ã«ä¾åãããã¦ããã<simplelayout/>tagã¯
+ åé¤ãã¦ãããã®ã§ã¯ï¼
+</descr>
\ No newline at end of file
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/doc2/lzx/ja/updatecheckbox_doc.xml
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/doc2/lzx/ja/updatecheckbox_doc.xml?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/doc2/lzx/ja/updatecheckbox_doc.xml (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/doc2/lzx/ja/updatecheckbox_doc.xml Sun Dec 18 15:22:12 2011
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<descr>
+ checkboxãç¶æ¿ããã¯ã©ã¹ã§ã表示è¨èªã®å¤æ´ãè¡ã£ã¦ãã(?)
+ *updatecheckboxã¯ã©ã¹ã¨labelcheckboxã¯ã©ã¹ãä¸ã¤ã®ãã¡ã¤ã«ã«è¨è¿°ããã¦ãã¾ãã
+ privateã§ããªããç¸é¢ãããã¾ããã®ã§å¥ãã¡ã¤ã«ã«ãã¾ãããã
+ *"parent.parent.."ãã½ã¼ã¹ä¸ã«ããå®è£
ä¾åãå¼·ãã§ãã
+</descr>
\ No newline at end of file
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/dynamicCombobox/countryCombobox.lzx
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/dynamicCombobox/countryCombobox.lzx?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/dynamicCombobox/countryCombobox.lzx (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/dynamicCombobox/countryCombobox.lzx Sun Dec 18 15:22:12 2011
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<library>
+
+<class name="countryCombobox" extends="resetCombobox" editable="false"
+ fontsize="11" style="componentStyle">
+
+ <attribute name="refObj" value="null" />
+
+ <attribute name="doUpdate" value="false" type="boolean"/>
+
+ <handler name="onselect" args="sel">
+ if ($debug) Debug.write("onselect ",sel,this.refObj,this.doUpdate);
+ if (this.refObj != null) {
+ if (this.doUpdate) {
+
+ this.refObj.setSelectedValue(sel.text,sel.value);
+
+ this.setAttribute("visibility","hidden");
+ this.doUpdate = false;
+
+ }
+ }
+ </handler>
+
+ <handler name="onisopen" args="o">
+ if ($debug) Debug.write("on isopen ",o);
+
+ if (!o) {
+ lz.Timer.addTimer( new LzDelegate( this, "removeItem" ), 200 );
+ }
+ </handler>
+
+ <!--
+ You can close the combobox without selection, for that purpose we need
+ another way to trigger a close event
+ -->
+ <method name="removeItem" args="o">
+ if (this.visibility == "visible") {
+ this.setAttribute("visibility","hidden");
+ this.doUpdate = false;
+ }
+ </method>
+
+ <labeldTextListItem datapath="countrySet:/item" text="$path{ 'name/text()' }"
+ value="$path{ 'state_id/text()' }" />
+
+</class>
+
+</library>
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/dynamicCombobox/dynamicCombobox.lzx
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/dynamicCombobox/dynamicCombobox.lzx?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/dynamicCombobox/dynamicCombobox.lzx (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/dynamicCombobox/dynamicCombobox.lzx Sun Dec 18 15:22:12 2011
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<library>
+
+
+<countryCombobox name="_countryCombobox" width="200" shownitems="14"
+ height="20" visibility="hidden" />
+
+<class name="dynamicCombobox" extends="baseformitem" style="componentStyle">
+
+ <attribute name="isCountryCombobox" value="true" type="boolean" />
+
+ <event name="onselect" />
+
+ <handler name="onclick">
+ <![CDATA[
+ if (this.isCountryCombobox) {
+
+ canvas._countryCombobox.setAttribute("visibility","visible");
+ canvas._countryCombobox.bringToFront();
+ canvas._countryCombobox.setAttribute("x",this.getAttributeRelative("x",canvas));
+ canvas._countryCombobox.setAttribute("y",this.getAttributeRelative("y",canvas));
+ canvas._countryCombobox.setAttribute("width",this.width);
+ canvas._countryCombobox.setAttribute("height",this.height);
+
+ canvas._countryCombobox.refObj = this;
+
+ var item = canvas._countryCombobox.getItem(this.value);
+
+ if (item != null) {
+ canvas._countryCombobox.selectItem(this.value);
+ } else {
+ canvas._countryCombobox.selectItemAt(0);
+ }
+
+ canvas._countryCombobox.setOpen(true,true);
+
+ canvas._countryCombobox.doUpdate = true;
+ }
+ ]]>
+ </handler>
+
+ <!-- to make it backward compatible -->
+ <method name="addAndSelectItem" args="name,id">
+ this.selectItemByTextValue(name,id);
+ </method>
+
+ <method name="selectItemByTextValue" args="text,value">
+ this.setAttribute("text",text);
+ this.setAttribute("value",value);
+ </method>
+
+ <method name="setSelectedValue" args="text,value">
+ this.setAttribute("text",text);
+ this.setAttribute("value",value);
+ lz.Focus.setFocus(this);
+ this.onselect.sendEvent({'text':text,'value':value});
+ </method>
+
+ <method name="getValue">
+ return this.value;
+ </method>
+
+ <view name="lft" resource="lzcombobox_lft_rsc" placement="bkgnd"/>
+ <view name="mid" resource="lzcombobox_mid_rsc" stretches="width" placement="bkgnd"/>
+ <basebutton name="rgt" resource="lzcombobox_rgt_rsc" styleable="true"
+ placement="bkgnd" clickable="false" />
+
+ <text x="2" y="2" name="cbtext" text="${ parent.text }"
+ width="${ parent.width - 20 }" />
+
+ <stableborderlayout axis="x" placement="bkgnd"/>
+
+</class>
+
+</library>
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/dynamicCombobox/library.lzx
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/dynamicCombobox/library.lzx?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/dynamicCombobox/library.lzx (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/dynamicCombobox/library.lzx Sun Dec 18 15:22:12 2011
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<library>
+
+ <include href="dynamicCombobox.lzx" />
+ <include href="countryCombobox.lzx" />
+
+</library>
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/explorer/doc/lzx/ja/explorerbox_doc.xml
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/explorer/doc/lzx/ja/explorerbox_doc.xml?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/explorer/doc/lzx/ja/explorerbox_doc.xml (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/explorer/doc/lzx/ja/explorerbox_doc.xml Sun Dec 18 15:22:12 2011
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rlzxdoc>
+ <class name="explorerbox">
+ <doc>
+ ãããã³ã°ã§ããæ±ç¨ã®view boxãï¼ã ã¨æãã¾ãï¼
+ drag移åãã¦ãéãªãããé©å½ãªééã§æ¥ç¶ã»é
ç½®ããããã®ï¼ãããï¼ã
+ *components/presenter/guipresenter.lzxã¨ã»ã¼åãã³ã¼ãã§ããã
+ attributeã®resizeableã
+ explorer â false
+ guipresenter â true
+ ãããããã©ã«ãã§ãããããæ¯ãèããã¡ãã£ã¨å¤ãã¦ããããã§ãã
+ explorer/quipresenterãã¾ã¨ãããã¨ãã§ãããã
+ </doc>
+ </class>
+</rlzxdoc>
Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/explorer/doc/lzx/ja/labelexplorerbox_doc.xml
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/explorer/doc/lzx/ja/labelexplorerbox_doc.xml?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/explorer/doc/lzx/ja/labelexplorerbox_doc.xml (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/explorer/doc/lzx/ja/labelexplorerbox_doc.xml Sun Dec 18 15:22:12 2011
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rlzxdoc>
+ <class name="labelexplorerbox">
+ <doc>
+ explorerboxãç¶æ¿ãããã©ãã«è¡¨ç¤ºä»ãview boxã
+ 表示æåã®å¤è¨èªã«å¯¾å¿ãã¦ããã
+ </doc>
+ </class>
+</rlzxdoc>