Class fever.app.context.browser.BrowserContainer

Implemented Interfaces

IContextContainer HistoryListener

Description

Builds a Browser container for application.

Field Index

Inherited from ContextContainer

Method Index

new BrowserContainer()
getArgument(), getLocation(), getSize(), getTitle(), isFullScreen(), onHistoryChange(), setFullScreenMode(), setLocation(), setSize(), setTitle()

Inherited from ContextContainer

Constructor Detail

BrowserContainer

public function BrowserContainer()

Constructor.

Method Detail

setTitle

public function setTitle(newtitle:String):Void

Set the container title.

Specified By

setTitle() in fever.app.context.abstract.IContextContainer

getTitle

public function getTitle():String

Returns the container title.

Specified By

getTitle() in fever.app.context.abstract.IContextContainer

setLocation

public function setLocation(x:Number, y:Number):Void

Set the container position.

Specified By

setLocation() in fever.app.context.abstract.IContextContainer

getLocation

public function getLocation():Point

Returns the container title.

Specified By

getLocation() in fever.app.context.abstract.IContextContainer

setSize

public function setSize(width:Number, height:Number):Void

Set the container size.

Specified By

setSize() in fever.app.context.abstract.IContextContainer

getSize

public function getSize():Rectangle

Returns the container title.

Specified By

getSize() in fever.app.context.abstract.IContextContainer

setFullScreenMode

public function setFullScreenMode(enabled:Boolean):Void

Sets current application in fullscreen mode if passed-in enabled is true, or in normal mode if false.

A fever.events.StageEvent.STAGE_STATE_CHANGED event is broadcasted when mode changed.

Application argument must be passed to flash object to enable fullscreen feature.

 	  var o = new SWFObject( "swfFile.swf", "fswf", "800", "600", "8", "#000000" );
	  o.addParam( "allowFullScreen", "true" );
	  o.write("flashcontent");
 	

Only available with Player version > 9.0.18.

Specified By

setFullScreenMode() in fever.app.context.abstract.IContextContainer

isFullScreen

public function isFullScreen():Boolean

Indicates if current application is on fullscreen mode true or in normal mode false.

Specified By

isFullScreen() in fever.app.context.abstract.IContextContainer

getArgument

public function getArgument(id):String

Returns application argument associated with id ID.

Specified By

getArgument() in fever.app.context.abstract.IContextContainer

onHistoryChange

public function onHistoryChange(event:HistoryEvent):Void

Triggered when browser send an history status to application.

Specified By

onHistoryChange() in fever.app.browser.HistoryListener