AbstractLib

Kind of class:class
Inherits from:none
Implements:
Known subclasses:
Version:1.0
Author:Francis Bourre
Classpath:com.bourre.data.libs.AbstractLib
File last modified:Wednesday, 31 October 2007, 07:35:29

Class properties

onErrorEVENT

static onErrorEVENT:EventType = new EventType("onError")
(read,write)

onLoadInitEVENT

static onLoadInitEVENT:EventType = new EventType("onLoadInit")
(read,write)

onLoadProgressEVENT

static onLoadProgressEVENT:EventType = new EventType("onLoadProgress")
(read,write)

onTimeOutEVENT

static onTimeOutEVENT:EventType = new EventType("onTimeOut")
(read,write)

Instance methods

addEventListener

function addEventListener (
e:EventType, f:Function) : Void

addListener

function addListener (
oL:ILibListener) : Void
Specified by:

execute

function execute (
e:IEvent) : Void
A concrete Command object always has execute() method that is called when an action occurs.
#

fireEvent

function fireEvent (
e:LibEvent) : Void

fireEventType

function fireEventType (
e:EventType) : Void

getBytesLoaded

function getBytesLoaded (
) : Number

getBytesTotal

function getBytesTotal (
) : Number

getContent

function getContent (
)

getName

function getName (
) : String
Specified by:

getPerCent

function getPerCent (
) : Number
Specified by:

getTimeOut

function getTimeOut (
) : Number

getURL

function getURL (
) : String
Specified by:

initEventSource

function initEventSource (
) : Void

load

function load (
) : Void
Specified by:

prefixURL

function prefixURL (
sURL:String) : Void
Specified by:

release

function release (
) : Void

removeEventListener

function removeEventListener (
e:EventType) : Void

removeListener

function removeListener (
oL:ILibListener) : Void
Specified by:

setAntiCache

function setAntiCache (
b:Boolean) : Void
Specified by:

setContent

function setContent (
) : Void

setName

function setName (
sName:String) : Void

setTimeOut

function setTimeOut (
n:Number) : Void

setURL

function setURL (
sURL:String) : Void
Specified by:

toString

function toString (
) : String
Returns the string representation of this instance.
Returns:
the string representation of this instance

Event handlers

onLoadInit

function onLoadInit (
) : Void