RuleDataObject(A preflight rule data object.)のコレクション
Ver. | プロパティ名 | R/O | 値 | 説明 |
---|---|---|---|---|
length | ○ | 数値 | オブジェクト数 |
Ver. | メソッドの書式 | 戻り値 | メソッドの説明 | ||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
パラメータ | 値 | パラメータの説明 | |||||||||||||||||||||||||||||||||||||||
add(name, dataType, dataValue, [withProperties]) | RuleDataObject | 新しいオブジェクトを作成し、それを返す | |||||||||||||||||||||||||||||||||||||||
name | 文字列値 | 名前 | |||||||||||||||||||||||||||||||||||||||
dataType |
RuleDataType
| ||||||||||||||||||||||||||||||||||||||||
dataValue | varies=any | The value of data. Can accept: String, Real, Long Integer, Short Integer, Boolean, Object or Array of Strings, Reals, Long Integers, Short Integers, Booleans, Objects or Arrays of Array of Arrays of Array of Strings, Reals, Long Integers, Short Integers, Booleans or Objects. | |||||||||||||||||||||||||||||||||||||||
[withProperties] | Object | プロパティを設定 | |||||||||||||||||||||||||||||||||||||||
anyItem() | RuleDataObject | どれかのオブジェクトを返す | |||||||||||||||||||||||||||||||||||||||
count() | 数値 | 要素数を返す | |||||||||||||||||||||||||||||||||||||||
everyItem() | Array( RuleDataObject ) | 全てのオブジェクトを返す | |||||||||||||||||||||||||||||||||||||||
firstItem() | RuleDataObject | 最初のオブジェクトを返す | |||||||||||||||||||||||||||||||||||||||
item(index) | RuleDataObject | インデックスまたは名前で指定したオブジェクトを返す | |||||||||||||||||||||||||||||||||||||||
index | 数値, 文字列値 | インデックスまたは名前 | |||||||||||||||||||||||||||||||||||||||
itemByID(id) | RuleDataObject | IDで指定したオブジェクトを返す | |||||||||||||||||||||||||||||||||||||||
id | 数値 | ||||||||||||||||||||||||||||||||||||||||
itemByName(name) | RuleDataObject | 名前で指定したオブジェクトを返す | |||||||||||||||||||||||||||||||||||||||
name | 文字列値 | ||||||||||||||||||||||||||||||||||||||||
itemByRange(from, to) | Array( RuleDataObject ) | 範囲で指定したオブジェクトを返す | |||||||||||||||||||||||||||||||||||||||
from | RuleDataObject, 数値, 文字列値 | 範囲の開始 | |||||||||||||||||||||||||||||||||||||||
to | RuleDataObject, 数値, 文字列値 | 範囲の終了 | |||||||||||||||||||||||||||||||||||||||
lastItem() | RuleDataObject | 最後のオブジェクトを返す | |||||||||||||||||||||||||||||||||||||||
middleItem() | RuleDataObject | 真ん中のオブジェクトを返す | |||||||||||||||||||||||||||||||||||||||
nextItem(obj) | RuleDataObject | 一つ後のオブジェクトを返す | |||||||||||||||||||||||||||||||||||||||
obj | RuleDataObject | 位置の基準になるオブジェクト | |||||||||||||||||||||||||||||||||||||||
previousItem(obj) | RuleDataObject | 一つ前のオブジェクトを返す | |||||||||||||||||||||||||||||||||||||||
obj | RuleDataObject | 位置の基準になるオブジェクト | |||||||||||||||||||||||||||||||||||||||
toSource() | 文字列値 | ソースコードを表す文字列を返す |
A preflight rule data object.
Ver. | プロパティ | R/O | 値 |
---|---|---|---|
parent | ○ | PreflightProfileRule, PreflightRuleInstance | |
eventListeners | ○ | EventListeners | |
events | ○ | Events |
Ver. | プロパティ名 | R/O | 値 | 説明 | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dataType | ○ |
RuleDataType
| データ型 | |||||||||||||||||||||||||||||||||||||
dataValue | varies=any | データの値: String, Real, Long Integer, Short Integer, Boolean, Object or Array of Strings, Reals, Long Integers, Short Integers, Booleans, Objects or Arrays of Array of Arrays of Array of Strings, Reals, Long Integers, Short Integers, Booleans or Objects. | ||||||||||||||||||||||||||||||||||||||
id | ○ | 文字列値 | The ID for this rule data object. | |||||||||||||||||||||||||||||||||||||
index | ○ | 数値 | インデックス | |||||||||||||||||||||||||||||||||||||
isValid | ○ | 真偽値 | オブジェクトが有効かどうか | |||||||||||||||||||||||||||||||||||||
name | ○ | 文字列値 | オブジェクトの名前 | |||||||||||||||||||||||||||||||||||||
properties | Object |
Ver. | メソッドの書式 | 戻り値 | メソッドの説明 | ||
---|---|---|---|---|---|
パラメータ | 値 | パラメータの説明 | |||
addEventListener(eventType, handler, [captures]) | EventListener | EventListenerを作成 | |||
eventType | 文字列値 | ||||
handler | ファイル, JavaScript関数 | ||||
[captures] | 真偽値 | (廃止) | |||
getElements() | Array( RuleDataObject ) | オブジェクト参照を返す | |||
remove() | なし | 削除 | |||
removeEventListener(eventType, handler, [captures]) | 真偽値 | EventListenerを削除 | |||
eventType | 文字列値 | ||||
handler | ファイル, JavaScript関数 | ||||
[captures] | 真偽値 | (廃止) | |||
toSource() | 文字列値 | ソースコードを表す文字列を返す | |||
toSpecifier() | 文字列値 | Retrieves the object specifier. |