UserDictionaries

UserDictionary(ユーザー辞書)のコレクション

プロパティ

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

メソッド

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

UserDictionary

ユーザー辞書

プロパティ(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] addedWords Array( 文字列値 )A list of words added to the user dictionary.
[18][19][20][21] index 数値インデックス
[18][19][20][21] isValid 真偽値オブジェクトが有効かどうか
[18][19][20][21] name 文字列値オブジェクトの名前
[18][19][20][21] properties Object
[18][19][20][21] removedWords Array( 文字列値 )A list of words removed from the user dictionary.

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[18][19][20][21] addEventListener(eventType, handler, [captures]) EventListenerEventListenerを作成
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値(廃止)
[18][19][20][21] 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)
[18][19][20][21] getElements() Array( UserDictionary )オブジェクト参照を返す
[18][19][20][21] removeEventListener(eventType, handler, [captures]) 真偽値EventListenerを削除
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値(廃止)
[18][19][20][21] 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)
[18][19][20][21] toSource() 文字列値ソースコードを表す文字列を返す
[18][19][20][21] toSpecifier() 文字列値Retrieves the object specifier.