BackgroundTasks

BackgroundTask(バックグラウンド処理)のコレクション

プロパティ

Ver.プロパティ名R/O説明
[18][19][20][21] length 数値オブジェクト数

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[18][19][20][21] anyItem() BackgroundTaskどれかのオブジェクトを返す
[18][19][20][21] count() 数値要素数を返す
[18][19][20][21] everyItem() BackgroundTask (Array)全てのオブジェクトを返す
[18][19][20][21] firstItem() BackgroundTask最初のオブジェクトを返す
[18][19][20][21] item(index) BackgroundTaskインデックスまたは名前で指定したオブジェクトを返す
index 数値, 文字列値インデックスまたは名前
[18][19][20][21] itemByID(id) BackgroundTaskIDで指定したオブジェクトを返す
id 数値
[18][19][20][21] itemByName(name) BackgroundTask名前で指定したオブジェクトを返す
name 文字列値
[18][19][20][21] itemByRange(from, to) BackgroundTask (Array)範囲で指定したオブジェクトを返す
from BackgroundTask, 数値, 文字列値範囲の開始
to BackgroundTask, 数値, 文字列値範囲の終了
[18][19][20][21] lastItem() BackgroundTask最後のオブジェクトを返す
[18][19][20][21] middleItem() BackgroundTask真ん中のオブジェクトを返す
[18][19][20][21] nextItem(obj) BackgroundTask一つ後のオブジェクトを返す
obj BackgroundTask位置の基準になるオブジェクト
[18][19][20][21] previousItem(obj) BackgroundTask一つ前のオブジェクトを返す
obj BackgroundTask位置の基準になるオブジェクト
[18][19][20][21] toSource() 文字列値ソースコードを表す文字列を返す

BackgroundTask

バックグラウンド処理

プロパティ(parentとその逆)

Ver.プロパティR/O
[18][19][20][21] parent Application
[18][19][20][21] eventListeners EventListeners
[18][19][20][21] events Events

プロパティ

Ver.プロパティ名R/O説明
[18][19][20][21] alerts [[ , 文字列値 ], ... ]
TaskAlertTypes
Ver.プロパティ値/管理用文字説明
The alerts encountered while running this task object.
[18][19][20][21] documentName 文字列値The document name on which this task operates.
[18][19][20][21] id 数値オブジェクトのID
[18][19][20][21] index 数値インデックス
[18][19][20][21] isValid 真偽値オブジェクトが有効かどうか
[18][19][20][21] name 文字列値オブジェクトの名前
[18][19][20][21] percentDone 数値Progress information for this task.
[18][19][20][21] properties Object
[18][19][20][21] status TaskStateThe current status of this task object.

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[18][19][20][21] addEventListener(eventType, handler, [captures]) EventListenerEventListenerを作成
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値(廃止)
[18][19][20][21] cancelTask() なしバックグラウンドタスクを中止
[18][19][20][21] getElements() Array( BackgroundTask )オブジェクト参照を返す
[18][19][20][21] queryProperty(name) anyQueries for a particular property in the task metadata.
name 文字列値The task property being queried
[18][19][20][21] removeEventListener(eventType, handler, [captures]) 真偽値EventListenerを削除
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値(廃止)
[18][19][20][21] toSource() 文字列値ソースコードを表す文字列を返す
[18][19][20][21] toSpecifier() 文字列値Retrieves the object specifier.
[18][19][20][21] waitForTask() TaskStateWaits for the task to finish.