BaseLoadItem

Kind of class:public class
Package:org.casalib.load
Inherits from:Process < RemovableEventDispatcher < EventDispatcher
Known subclasses:
Version:10/29/08
Author:Aaron Clinger
Classpath:org.casalib.load.BaseLoadItem
File last modified:Wednesday, 31 December 2008, 20:18:28
Base class used by load classes. BaseLoadItem is not designed to be used on its own and needs to be extended to function.

Summary


Constructor
Class properties
Class properties inherited from Process
Instance properties
  • Bps : int
    • The current download speed of the requested file in bytes per second.
  • loaded : Boolean
    • Determines if the requested file has loaded true, or hasn't finished loading false.
  • loading : Boolean
    • Determines if the requested file is loading true, or if it isn't currently loading false.
  • preventCache : Boolean
    • Specifies if a random value name/value pair should be appended to the query string to help prevent caching true, or not append false; defaults to false.
  • progress : Percent
    • The percent that the requested file has loaded.
Instance methods
  • start : void
    • Begins the loading process.
  • stop : void
    • Cancels the currently loading file from completing.
  • destroy : void

Constructor

BaseLoadItem

public function BaseLoadItem (
)

Creates a new BaseLoadItem.

Instance properties

Bps

public Bps:int
(read)

The current download speed of the requested file in bytes per second.

loaded

public loaded:Boolean
(read)

Determines if the requested file has loaded true, or hasn't finished loading false.

loading

public loading:Boolean
(read)

Determines if the requested file is loading true, or if it isn't currently loading false.

preventCache

public preventCache:Boolean
(read,write)

Specifies if a random value name/value pair should be appended to the query string to help prevent caching true, or not append false; defaults to false.

progress

public progress:Percent
(read)

The percent that the requested file has loaded.

Instance methods

destroy

override public function destroy (
) : void

Overrides:

start

override public function start (
) : void

Begins the loading process.
Overrides:

stop

override public function stop (
) : void

Cancels the currently loading file from completing.
Overrides: