Merged SelectParticipantView into a single file.

This commit is contained in:
Ghaz Triki 2016-04-04 20:06:07 +01:00
parent 735035e026
commit 0cd21b9980
3 changed files with 28 additions and 45 deletions

View File

@ -1,29 +0,0 @@
package org.bigbluebutton.air.chat.views.selectparticipant {
public class SelectParticipantView extends SelectParticipantViewBase implements ISelectParticipantView {
//private var _buttonTestSignal: Signal = new Signal();
//public function get buttonTestSignal(): ISignal
//{
// return _buttonTestSignal;
//}
override protected function childrenCreated():void {
super.childrenCreated();
//this.addEventListener(MouseEvent.CLICK, onClick);
}
import spark.components.List;
public function get list():List {
return participantslist;
}
/*
public function onClick(e:MouseEvent):void
{
//buttonTestSignal.dispatch();
}
*/
public function dispose():void {
}
}
}

View File

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<common:NoTabView xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
implements="org.bigbluebutton.air.chat.views.selectparticipant.ISelectParticipantView"
xmlns:common="org.bigbluebutton.air.common.views.*">
<fx:Script>
<![CDATA[
public function get list():List {
return participantslist;
}
public function dispose():void {
}
]]>
</fx:Script>
<s:Group width="100%"
height="100%">
<s:layout>
<s:VerticalLayout />
</s:layout>
<s:List id="participantslist"
width="100%"
height="100%"
itemRenderer="org.bigbluebutton.air.chat.views.selectparticipant.SelectParticipantItemRenderer" />
</s:Group>
</common:NoTabView>

View File

@ -1,16 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<common:NoTabView xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:common="org.bigbluebutton.air.common.views.*">
<s:Group width="100%"
height="100%">
<s:layout>
<s:VerticalLayout />
</s:layout>
<s:List id="participantslist"
width="100%"
height="100%"
itemRenderer="org.bigbluebutton.air.chat.views.selectparticipant.SelectParticipantItemRenderer"/>
</s:Group>
</common:NoTabView>