DefaultDisplayObjectBuilder

Kind of class:public class
Package:com.bourre.ioc.assembler.displayobject
Inherits from:none
Implements:
Classpath:com.bourre.ioc.assembler.displayobject.DefaultDisplayObjectBuilder
File last modified:Monday, 24 November 2008, 11:36:56

Summary


Constructor
Constants
Instance methods

Constructor

DefaultDisplayObjectBuilder

public function DefaultDisplayObjectBuilder (
rootTarget:DisplayObjectContainer = null)

Constants

MOVIECLIP

public static const MOVIECLIP:String = ContextTypeList.MOVIECLIP
(read)

SPRITE

public static const SPRITE:String = ContextTypeList.SPRITE
(read)

TEXTFIELD

public static const TEXTFIELD:String = ContextTypeList.TEXTFIELD
(read)

Instance methods

addEventListener

public function addEventListener (
type:String, listener:Object, rest) : Boolean

addListener

public function addListener (
listener:DisplayObjectBuilderListener) : Boolean

Event system

buildDisplayList

public function buildDisplayList (
) : void

buildDisplayLoader

public function buildDisplayLoader (
valueObject:ValueObject) : void

buildDisplayObject

public function buildDisplayObject (
valueObject:ValueObject) : void

buildDLL

public function buildDLL (
valueObject:ValueObject) : void

execute

public function execute (
e:Event = null) : void

Execute the request according to the current command data.

Stateless commands may use the passed-in event object
as data source for its execution. If the execution can't
be performed because of unreachable data the command have
to throw an error.

#
Parameters:
e:
An event that will be used as data source by the command.
#
Throws:
  • {VISDOC_LINK_0}{VISDOC_CODE_BLOCK_2} — Stateless command use the passed-in event
    as data source for its execution, so the event must provide the right data for
    the current {VISDOC_CODE_BLOCK_3} object.
    #
Specified by:

getRootID

public function getRootID (
) : String

getRootTarget

public function getRootTarget (
) : DisplayObjectContainer

isAntiCache

public function isAntiCache (
) : Boolean

loadDisplayObjectQueue

public function loadDisplayObjectQueue (
) : void

loadDLLQueue

public function loadDLLQueue (
) : void

qlOnLoadError

public function qlOnLoadError (
e:LoaderEvent) : void

qlOnLoadInit

public function qlOnLoadInit (
e:LoaderEvent) : void

qlOnLoadProgress

public function qlOnLoadProgress (
e:LoaderEvent) : void

qlOnLoadStart

public function qlOnLoadStart (
e:LoaderEvent) : void

qlOnLoadTimeOut

public function qlOnLoadTimeOut (
e:LoaderEvent) : void

removeEventListener

public function removeEventListener (
type:String, listener:Object) : Boolean

removeListener

public function removeListener (
listener:DisplayObjectBuilderListener) : Boolean

setAntiCache

public function setAntiCache (
b:Boolean) : void

setRootTarget

public function setRootTarget (
target:DisplayObjectContainer) : void

size

public function size (
) : uint

toString

public function toString (
) : String

Returns the string representation of this instance.
Returns:
  • the string representation of this instance

Event handlers

onDisplayLoaderInit

public function onDisplayLoaderInit (
e:GraphicLoaderEvent, displayLoaderInfo:DisplayLoaderInfo) : void

onDisplayObjectLoadInit

public function onDisplayObjectLoadInit (
e:LoaderEvent) : void

onDisplayObjectLoadStart

public function onDisplayObjectLoadStart (
e:LoaderEvent) : void

onDLLLoadInit

public function onDLLLoadInit (
e:LoaderEvent) : void

onDLLLoadStart

public function onDLLLoadStart (
e:LoaderEvent) : void