| Package | org.springextensions.actionscript.core.io.support |
| SVN browsing | LoadPropertiesOperation.as |
| Fisheye | LoadPropertiesOperation.as |
| Class | public class LoadPropertiesOperation |
| Inheritance | LoadPropertiesOperation AbstractOperation flash.events.EventDispatcher |
Properties object.
See also
Documentation reference: operations
| Property | Defined by | ||
|---|---|---|---|
![]() | error : *
The error of this operation or
null if no error occurred during this operation. | AbstractOperation | |
| location : String [read-only]
Returns the location/url of the external properties file.
| LoadPropertiesOperation | ||
![]() | result : *
The result of this operation or
null if the operation does not have a result. | AbstractOperation | |
![]() | timeout : int
The timeout in milliseconds.
| AbstractOperation | |
| Method | Defined by | ||
|---|---|---|---|
|
LoadPropertiesOperation(location:String, preventCache:Boolean = true)
Creates a new LoadPropertiesOperation and immediately loads the properties.
| LoadPropertiesOperation | ||
![]() |
addCompleteListener(listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Convenience method for adding a listener to the OperationEvent.COMPLETE event.
| AbstractOperation | |
![]() |
addErrorListener(listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Convenience method for adding a listener to the OperationEvent.ERROR event.
| AbstractOperation | |
![]() |
addTimeoutListener(listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Convenience method for adding a listener to the OperationEvent.TIMEOUT event.
| AbstractOperation | |
![]() |
dispatchCompleteEvent(result:* = null):Boolean
Convenience method for dispatching a
OperationEvent.COMPLETE event. | AbstractOperation | |
![]() |
dispatchErrorEvent(error:* = null):Boolean
Convenience method for dispatching a
OperationEvent.ERROR event. | AbstractOperation | |
![]() |
dispatchTimeoutEvent():Boolean
Convenience method for dispatching a
OperationEvent.TIMEOUT event. | AbstractOperation | |
![]() |
removeCompleteListener(listener:Function, useCapture:Boolean = false):void
Convenience method for removing a listener from the OperationEvent.COMPLETE event.
| AbstractOperation | |
![]() |
removeErrorListener(listener:Function, useCapture:Boolean = false):void
Convenience method for removing a listener from the OperationEvent.ERROR event.
| AbstractOperation | |
![]() |
removeTimeoutListener(listener:Function, useCapture:Boolean = false):void
Convenience method for removing a listener from the OperationEvent.TIMEOUT event.
| AbstractOperation | |
| Method | Defined by | ||
|---|---|---|---|
|
disconnectListeners(properties:Properties):void
| LoadPropertiesOperation | ||
|
init(location:String, preventCache:Boolean):void
Creates a new
Properties instance, adds the appropriate event handlers
and starts the loading process. | LoadPropertiesOperation | ||
![]() |
startTimeout():void
| AbstractOperation | |
| location | property |
location:String [read-only]Returns the location/url of the external properties file.
Implementation public function get location():String
| LoadPropertiesOperation | () | constructor |
public function LoadPropertiesOperation(location:String, preventCache:Boolean = true)Creates a new LoadPropertiesOperation and immediately loads the properties.
Parameterslocation:String — the location of the external properties file
|
|
preventCache:Boolean (default = true) |
| disconnectListeners | () | method |
| init | () | method |
protected function init(location:String, preventCache:Boolean):void
Creates a new Properties instance, adds the appropriate event handlers
and starts the loading process.
location:String — the location of the external properties file
|
|
preventCache:Boolean |