Sha256: cc576ba79e107584a04ffc354a3d21aa0b15ff4110e00b382d6b6f94f02eb32f

Contents?: true

Size: 1.2 KB

Versions: 3

Compression:

Stored size: 1.2 KB

Contents

<?xml version="1.0" encoding="utf-8"?>
<mx:ControlBar xmlns:mx="http://www.adobe.com/2006/mxml" width="100%">
<mx:Script>
	<![CDATA[
		import org.rsos.openbill.model.OpenbillModelLocator;
		import org.rsos.openbill.event.LogoutEvent;
		import com.adobe.cairngorm.control.CairngormEventDispatcher;
		import mx.core.Application;
		
		[Bindable]
		private var model:OpenbillModelLocator = OpenbillModelLocator.getInstance();
		
	    private function logout():void
        {
        	CairngormEventDispatcher.getInstance().dispatchEvent(new LogoutEvent());
        }
         
		private function opensetting():void
		{
			model.showsetting(Application.application);
		}

	]]>
</mx:Script>
	<mx:DropShadowFilter id="dropShadow" distance="1" angle="45" blurX="0" blurY="0" alpha="1" color="0x111111" />
	<mx:Image source="images/logo.png" filters="{[dropShadow]}" />
	<mx:Label filters="{[dropShadow]}" text="{model.userVO.setting.setting_name}" fontSize="20" fontWeight="bold" color="#EEEEEE"/>
	<mx:Spacer width="100%"/>
	<mx:LinkButton click="opensetting()" filters="{[dropShadow]}" label="Settings" toolTip="Settings"/>
	<mx:LinkButton click="logout()" filters="{[dropShadow]}" label="Logout" toolTip="Logout"/>
</mx:ControlBar>

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
smukherjee-openbill-0.1.5 src/org/rsos/openbill/view/Header.mxml
openbill-0.1.5 src/org/rsos/openbill/view/Header.mxml
openbill-0.1.6 src/org/rsos/openbill/view/Header.mxml