RetryEvent
| Kind of class: | public class |
|---|---|
| Package: | org.casalib.events |
| Inherits from: | Event |
| Dispatched by: | |
| Version: | 10/27/08 |
| Author: | Aaron Clinger |
| Classpath: | org.casalib.events.RetryEvent |
| File last modified: | Wednesday, 31 December 2008, 20:18:28 |
An event dispatched when a load request is retried after previously failing.
Summary
Constructor
- RetryEvent (type:String, bubbles:Boolean = false, cancelable:Boolean = false)
- Creates a new LoadEvent.
Constants
- RETRY : String
Instance properties
- attempts : int
- The number of times the file has attempted to load.
Constructor
RetryEvent
public function RetryEvent (
type:String,
bubbles:Boolean = false,
cancelable:Boolean = false)
Creates a new LoadEvent.
Parameters:
type :
The type of event.
bubbles :
Determines whether the Event object participates in the bubbling stage of the event flow.
cancelable:
Determines whether the Event object can be canceled.
Constants
RETRY
public static const RETRY:String = 'retry'
(read)
Instance properties
attempts
public attempts:int
(read,write)
The number of times the file has attempted to load.
Instance methods
clone
override public function clone (
) : Event
Returns:
- Duplicates an instance of the event.
Overrides:
- Event.clone
toString
override public function toString (
) : String
Returns:
- A string containing all the properties of the event.
Overrides:
- Event.toString