UserDictionary(ユーザー辞書)のコレクション
| Ver. | プロパティ名 | R/O | 値 | 説明 |
|---|---|---|---|---|
| length | ○ | 数値 | オブジェクト数 |
| Ver. | メソッドの書式 | 戻り値 | メソッドの説明 | ||
|---|---|---|---|---|---|
| パラメータ | 値 | パラメータの説明 | |||
| anyItem() | UserDictionary | どれかのオブジェクトを返す | |||
| count() | 数値 | 要素数を返す | |||
| everyItem() | UserDictionary (Array) | 全てのオブジェクトを返す | |||
| firstItem() | UserDictionary | 最初のオブジェクトを返す | |||
| item(index) | UserDictionary | インデックスまたは名前で指定したオブジェクトを返す | |||
| index | 数値, 文字列値 | インデックスまたは名前 | |||
| itemByName(name) | UserDictionary | 名前で指定したオブジェクトを返す | |||
| name | 文字列値 | ||||
| itemByRange(from, to) | UserDictionary (Array) | 範囲で指定したオブジェクトを返す | |||
| from | UserDictionary, 数値, 文字列値 | 範囲の開始 | |||
| to | UserDictionary, 数値, 文字列値 | 範囲の終了 | |||
| lastItem() | UserDictionary | 最後のオブジェクトを返す | |||
| middleItem() | UserDictionary | 真ん中のオブジェクトを返す | |||
| nextItem(obj) | UserDictionary | 一つ後のオブジェクトを返す | |||
| obj | UserDictionary | 位置の基準になるオブジェクト | |||
| previousItem(obj) | UserDictionary | 一つ前のオブジェクトを返す | |||
| obj | UserDictionary | 位置の基準になるオブジェクト | |||
| toSource() | 文字列値 | ソースコードを表す文字列を返す | |||
ユーザー辞書
| Ver. | プロパティ | R/O | 値 |
|---|---|---|---|
| parent | ○ | Application | |
| eventListeners | ○ | EventListeners | |
| events | ○ | Events | |
| Ver. | プロパティ名 | R/O | 値 | 説明 |
|---|---|---|---|---|
| addedWords | Array( 文字列値 ) | A list of words added to the user dictionary. | ||
| index | ○ | 数値 | インデックス | |
| isValid | ○ | 真偽値 | オブジェクトが有効かどうか | |
| name | ○ | 文字列値 | オブジェクトの名前 | |
| properties | Object | |||
| removedWords | Array( 文字列値 ) | A list of words removed from the user dictionary. |
| Ver. | メソッドの書式 | 戻り値 | メソッドの説明 | ||
|---|---|---|---|---|---|
| パラメータ | 値 | パラメータの説明 | |||
| addEventListener(eventType, handler, [captures]) | EventListener | EventListenerを作成 | |||
| eventType | 文字列値 | ||||
| handler | ファイル, JavaScript関数 | ||||
| [captures] | 真偽値 | (廃止) | |||
| addWord(addedWords, [removedList]) | なし | 単語を追加 | |||
| addedWords | Array( 文字列値 ) | 単語 | |||
| [removedList] | 真偽値 | If true, adds the words to the removed words list. If false or unspecified, adds the words to the added words list. (既定値=false) | |||
| getElements() | Array( UserDictionary ) | オブジェクト参照を返す | |||
| removeEventListener(eventType, handler, [captures]) | 真偽値 | EventListenerを削除 | |||
| eventType | 文字列値 | ||||
| handler | ファイル, JavaScript関数 | ||||
| [captures] | 真偽値 | (廃止) | |||
| removeWord(removedWords, [removedList]) | なし | ユーザー辞書から単語を削除 | |||
| removedWords | Array( 文字列値 ) | 削除する単語 | |||
| [removedList] | 真偽値 | If true, removes the words from the removed words list. If false or unspecified, removes the words from the added words list. (既定値=false) | |||
| toSource() | 文字列値 | ソースコードを表す文字列を返す | |||
| toSpecifier() | 文字列値 | Retrieves the object specifier. | |||