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: | Monday, 01 December 2008, 11:16:36 |
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 properties inherited from Process
Instance properties inherited from RemovableEventDispatcher
Instance methods
- start : void
- Begins the loading process.
- stop : void
- Cancels the currently loading file from completing.
- destroy : void
Instance methods inherited from RemovableEventDispatcher
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. Instance methods
stop
override public function stop (
) : void
Cancels the currently loading file from completing.
Overrides: