| Package | jp.progression.commands.net |
| Class | public class UploadFileRef |
| Inheritance | UploadFileRef LoadCommand Command flash.events.EventDispatcher |
// UploadFileRef インスタンスを作成する var com:UploadFileRef = new UploadFileRef(); // コマンドを実行する com.execute();
| Property | Defined by | ||
|---|---|---|---|
![]() | bytes : ByteArray
読み込まれたデータを ByteArray 形式で取得します。
| LoadCommand | |
![]() | bytesLoaded : uint
コマンドの読み込み済みのバイト数です。
The number of bytes that are loaded for the command.
| LoadCommand | |
![]() | bytesTotal : uint
コマンド全体の圧縮後のバイト数です。
The number of compressed bytes in the entire command.
| LoadCommand | |
| cacheAsResource : Boolean | UploadFileRef | ||
![]() | catchError : Function
コマンドの実行中に例外が発生した際に実行するエラー処理関数を取得または設定します。
| Command | |
![]() | className : String
インスタンスのクラス名を取得します。
Indicates the instance className of the Command.
| Command | |
| data : * | UploadFileRef | ||
![]() | defaultCacheAsResource : Boolean [static]
cacheAsResource プロパティの初期値を取得または設定します。
すでに生成済みのコマンドに対しては適用されません。
| LoadCommand | |
![]() | defaultInterruptType : int [static]
interruptType プロパティの初期値を取得または設定します。
すでに生成済みのコマンドに対しては適用されません。
| Command | |
![]() | defaultPreventCache : Boolean [static]
preventCache プロパティの初期値を取得または設定します。
すでに生成済みのコマンドに対しては適用されません。
| LoadCommand | |
![]() | defaultTimeout : Number [static]
timeout プロパティの初期値を取得または設定します。
すでに生成済みのコマンドに対しては適用されません。
| Command | |
![]() | delay : Number
コマンドが実際に実行されるまでの遅延時間を取得または設定します。
コマンド実行中に値を変更しても、処理に対して反映されません。
| Command | |
![]() | depth : int
コマンドツリー構造上での自身の深度を取得します。
| Command | |
![]() | extra : Object
コマンドの実行処理、または中断処理の開始時に指定されているリレーオブジェクトを取得または設定します。
このコマンドが親の CommandList インスタンスによって実行されている場合には、親のリレーオブジェクトを順々に引き継ぎます。
| Command | |
![]() | factor : Number
percent プロパティの算出時の自身の重要性を取得または設定します。
| LoadCommand | |
| fileReference : FileReference
ユーザーのコンピュータとサーバーとの通信に使用する FileReference インスタンスを取得または設定します。
コマンド実行中に値を変更しても、処理に対して反映されません。
| UploadFileRef | ||
![]() | group : String
インスタンスのグループ名を取得または設定します。
Indicates the instance group of the Command.
| Command | |
![]() | id : String
インスタンスを表すユニークな識別子を取得または設定します。
| Command | |
![]() | interruptType : int
中断処理時の処理方法を取得または設定します。
コマンド実行中に値を変更しても、処理に対して反映されません。
| Command | |
![]() | latestData : *
自身から見て最後に関連付けられた読み込みデータを取得または設定します。
このコマンドインスタンスが CommandList インスタンス上に存在する場合には、自身より前、または自身の親のデータを取得します。
| LoadCommand | |
![]() | loaded : uint
登録されている ILoadable を実装したインスタンスの内、すでに読み込み処理が完了した数を取得します。
| LoadCommand | |
![]() | name : String
インスタンスの名前を取得または設定します。
Indicates the instance name of the Command.
| Command | |
![]() | next : Command
このコマンドが関連付けられている親の CommandList インスタンス内で、次に位置する Command インスタンスを取得します。
| Command | |
![]() | onComplete : Function
コマンドオブジェクトが ExecuteEvent.EXECUTE_COMPLETE イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。
| Command | |
![]() | onError : Function
コマンドオブジェクトが ExecuteErrorEvent.EXECUTE_ERROR イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。
| Command | |
![]() | onInterrupt : Function
コマンドオブジェクトが ExecuteEvent.EXECUTE_INTERRUPT イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。
| Command | |
![]() | onProgress : Function
コマンドオブジェクトが ProgressEvent.PROGRESS イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。
| LoadCommand | |
![]() | onStart : Function
コマンドオブジェクトが ExecuteEvent.EXECUTE_START イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。
| Command | |
![]() | parent : CommandList
この Command オブジェクトを含む CommandList オブジェクトを示します。
Indicates the CommandList object that contains this Command object.
| Command | |
![]() | percent : Number
loaded プロパティと total プロパティから算出される読み込み状態をパーセントで取得します。
| LoadCommand | |
| preventCache : Boolean | UploadFileRef | ||
![]() | previous : Command
このコマンドが関連付けられている親の CommandList インスタンス内で、一つ前に位置する Command インスタンスを取得します。
| Command | |
![]() | request : URLRequest
リクエストされる URL です。
コマンド実行中に値を変更しても、処理に対して反映されません。
The URL to be requested.
| LoadCommand | |
![]() | resGroup : String
読み込んだデータを Resource として登録する際に使用したいグループ名を取得または設定します。
| LoadCommand | |
![]() | resId : String
読み込んだデータを Resource として登録する際に使用したい識別子を取得または設定します。
cacheAsResource プロパティが true で、かつこの値が設定されていなければ、自動的に URL を識別子として登録します。
| LoadCommand | |
![]() | root : Command
コマンドツリー構造の一番上に位置する Command インスタンスを取得します。
| Command | |
![]() | scope : Object
コマンドの実行処理、または中断処理に指定されている関数内でのスコープ対象を取得または設定します。
| Command | |
![]() | state : int
コマンドの実行状態を取得します。
| Command | |
![]() | target : ILoadable
現在の読み込み対象を取得します。
| LoadCommand | |
| testUpload : Boolean
テストファイルアップロードを要求するための設定です。
コマンド実行中に値を変更しても、処理に対して反映されません。
A setting to request a test file upload.
| UploadFileRef | ||
![]() | thresholdLength : int [static]
同一プロセス上で実行可能な最大コマンド数を取得または設定します。
設定された閾値を超えて実行された場合には、強制的に 1 ミリ秒の遅延を発生させます。
この値が大きすぎる場合、スタックオーバーフローが発生する可能性があります。
| Command | |
![]() | timeout : Number
コマンドの実行中のタイムアウト時間を取得または設定します。
指定された時間中に executeComplete() メソッド、または interrupt() メソッドが実行されなかった場合にはエラーが送出されます。
この値が 0 に設定されている場合、タイムアウト処理は発生しません。
| Command | |
![]() | total : uint
登録されている ILoadable を実装したインスタンスの総数を取得します。
| LoadCommand | |
| typeFilter : Array
ダイアログボックスに表示するファイルをフィルタにかける場合に使用する FileFilter インスタンスの配列です。
コマンド実行中に値を変更しても、処理に対して反映されません。
An array of FileFilter instances used to filter the files that are displayed in the dialog box.
| UploadFileRef | ||
| uploadDataFieldName : String
アップロード POST 操作のファイルデータに先行するフィールド名です。
コマンド実行中に値を変更しても、処理に対して反映されません。
The field name that precedes the file data in the upload POST operation.
| UploadFileRef | ||
![]() | url : String
リクエストされる URL を示すストリングを取得します。
| LoadCommand | |
| Method | Defined by | ||
|---|---|---|---|
|
UploadFileRef(request:URLRequest, fileReference:FileReference = null, initObject:Object = null)
新しい UploadFileRef インスタンスを作成します。
Creates a new UploadFileRef object.
| UploadFileRef | ||
|
UploadFileRef インスタンスのコピーを作成して、各プロパティの値を元のプロパティの値と一致するように設定します。
Duplicates an instance of an UploadFileRef subclass.
| UploadFileRef | ||
|
dispose():void
保持しているデータを解放します。
| UploadFileRef | ||
![]() |
execute(extra:Object = null):void
コマンド処理を実行します。
| Command | |
![]() |
executeComplete():void
実行中のコマンド処理が完了したことを通知します。
このメソッドを実行するためには、事前に execute() メソッドが実行されている必要があります。
| LoadCommand | |
![]() |
interrupt(enforced:Boolean = false):void
コマンド処理を中断します。
このメソッドを実行するためには、事前に execute() メソッドが実行されている必要があります。
| Command | |
![]() |
setProperties(parameters:Object):Command
インスタンスに対して、複数のプロパティを一括設定します。
| Command | |
|
toString():String
指定されたオブジェクトのストリング表現を返します。
Returns the string representation of the specified object.
| UploadFileRef | ||
| cacheAsResource | property |
cacheAsResource:Boolean [read-write]Implementation
public function get cacheAsResource():Boolean
public function set cacheAsResource(value:Boolean):void
| data | property |
data:* [read-write]Implementation
public function get data():*
public function set data(value:*):void
| fileReference | property |
fileReference:FileReference [read-write]ユーザーのコンピュータとサーバーとの通信に使用する FileReference インスタンスを取得または設定します。 コマンド実行中に値を変更しても、処理に対して反映されません。
Implementation public function get fileReference():FileReference
public function set fileReference(value:FileReference):void
| preventCache | property |
preventCache:Boolean [read-write]Implementation
public function get preventCache():Boolean
public function set preventCache(value:Boolean):void
| testUpload | property |
testUpload:Boolean [read-write]テストファイルアップロードを要求するための設定です。 コマンド実行中に値を変更しても、処理に対して反映されません。 A setting to request a test file upload.
Implementation public function get testUpload():Boolean
public function set testUpload(value:Boolean):void
| typeFilter | property |
typeFilter:Array [read-write]ダイアログボックスに表示するファイルをフィルタにかける場合に使用する FileFilter インスタンスの配列です。 コマンド実行中に値を変更しても、処理に対して反映されません。 An array of FileFilter instances used to filter the files that are displayed in the dialog box.
Implementation public function get typeFilter():Array
public function set typeFilter(value:Array):void
| uploadDataFieldName | property |
uploadDataFieldName:String [read-write]アップロード POST 操作のファイルデータに先行するフィールド名です。 コマンド実行中に値を変更しても、処理に対して反映されません。 The field name that precedes the file data in the upload POST operation.
Implementation public function get uploadDataFieldName():String
public function set uploadDataFieldName(value:String):void
| UploadFileRef | () | constructor |
public function UploadFileRef(request:URLRequest, fileReference:FileReference = null, initObject:Object = null)新しい UploadFileRef インスタンスを作成します。 Creates a new UploadFileRef object.
Parametersrequest:URLRequest — URLRequest オブジェクトです。
The URLRequest object.
|
|
fileReference:FileReference (default = null) — ユーザーのコンピュータとサーバーとの通信に使用する FileReference インスタンスです。
|
|
initObject:Object (default = null) — 設定したいプロパティを含んだオブジェクトです。
|
| clone | () | method |
public override function clone():CommandUploadFileRef インスタンスのコピーを作成して、各プロパティの値を元のプロパティの値と一致するように設定します。 Duplicates an instance of an UploadFileRef subclass.
ReturnsCommand —
元のオブジェクトと同じプロパティ値を含む新しい UploadFileRef インスタンスです。
A new UploadFileRef object that is identical to the original.
|
| dispose | () | method |
public override function dispose():void保持しているデータを解放します。
| toString | () | method |
public override function toString():String指定されたオブジェクトのストリング表現を返します。 Returns the string representation of the specified object.
ReturnsString — オブジェクトのストリング表現です。
A string representation of the object.
|