LanguageWithVendors(文字パレットの言語項目値(アプリケーション))のコレクション
| Ver. | プロパティ名 | R/O | 値 | 説明 |
|---|---|---|---|---|
| length | ○ | 数値 | オブジェクト数 |
| Ver. | メソッドの書式 | 戻り値 | メソッドの説明 | ||
|---|---|---|---|---|---|
| パラメータ | 値 | パラメータの説明 | |||
| anyItem() | LanguageWithVendors | どれかのオブジェクトを返す | |||
| count() | 数値 | 要素数を返す | |||
| everyItem() | LanguageWithVendors (Array) | 全てのオブジェクトを返す | |||
| firstItem() | LanguageWithVendors | 最初のオブジェクトを返す | |||
| item(index) | LanguageWithVendors | インデックスまたは名前で指定したオブジェクトを返す | |||
| index | 数値, 文字列値 | インデックスまたは名前 | |||
| itemByID(id) | LanguageWithVendors | IDで指定したオブジェクトを返す | |||
| id | 数値 | ||||
| itemByName(name) | LanguageWithVendors | 名前で指定したオブジェクトを返す | |||
| name | 文字列値 | ||||
| itemByRange(from, to) | LanguageWithVendors (Array) | 範囲で指定したオブジェクトを返す | |||
| from | LanguageWithVendors, 数値, 文字列値 | 範囲の開始 | |||
| to | LanguageWithVendors, 数値, 文字列値 | 範囲の終了 | |||
| lastItem() | LanguageWithVendors | 最後のオブジェクトを返す | |||
| middleItem() | LanguageWithVendors | 真ん中のオブジェクトを返す | |||
| nextItem(obj) | LanguageWithVendors | 一つ後のオブジェクトを返す | |||
| obj | LanguageWithVendors | 位置の基準になるオブジェクト | |||
| previousItem(obj) | LanguageWithVendors | 一つ前のオブジェクトを返す | |||
| obj | LanguageWithVendors | 位置の基準になるオブジェクト | |||
| toSource() | 文字列値 | ソースコードを表す文字列を返す | |||
文字パレットの言語項目値(アプリケーション)
| Ver. | プロパティ | R/O | 値 |
|---|---|---|---|
| parent | ○ | Application | |
| eventListeners | ○ | EventListeners | |
| events | ○ | Events | |
| Ver. | プロパティ名 | R/O | 値 | 説明 |
|---|---|---|---|---|
| dictionaryPaths | Array( 文字列値 ) | The user dictionaries for the language. | ||
| doubleQuotes | 文字列値 | The double quotes pair for the language. | ||
| hyphenationVendor | 文字列値 | The hyphenation rules source. | ||
| hyphenationVendorList | ○ | Array( 文字列値 ) | A list of hyphenation vendors. | |
| icuLocaleName | ○ | 文字列値 | The full name of the Language object's ICU locale. | |
| id | ○ | 数値 | オブジェクトのID | |
| index | ○ | 数値 | インデックス | |
| isValid | ○ | 真偽値 | オブジェクトが有効かどうか | |
| label | 文字列値 | スクリプトラベル | ||
| name | ○ | 文字列値 | オブジェクトの名前 | |
| properties | Object | |||
| singleQuotes | 文字列値 | The single quotes pair for the language. | ||
| spellingVendor | 文字列値 | The spell-checking source. | ||
| spellingVendorList | ○ | Array( 文字列値 ) | A list of spelling vendors. | |
| thesaurusVendor | 文字列値 | The thesaurus source. | ||
| untranslatedName | ○ | 文字列値 | The untranslated name of the language. |
| Ver. | メソッドの書式 | 戻り値 | メソッドの説明 | ||
|---|---|---|---|---|---|
| パラメータ | 値 | パラメータの説明 | |||
| addDictionaryPath(filePath) | 文字列値 | ユーザー辞書を追加。辞書ファイル名を返す | |||
| filePath | 文字列値 | フルパス名 | |||
| addEventListener(eventType, handler, [captures]) | EventListener | EventListenerを作成 | |||
| eventType | 文字列値 | ||||
| handler | ファイル, JavaScript関数 | ||||
| [captures] | 真偽値 | (廃止) | |||
| extractLabel(key) | 文字列値 | キーに関連づけられた値を取得 | |||
| key | 文字列値 | キー | |||
| getElements() | Array( LanguageWithVendors ) | オブジェクト参照を返す | |||
| insertLabel(key, value) | なし | キーに関連づけられた値を設定 | |||
| key | 文字列値 | キー | |||
| value | 文字列値 | 値 | |||
| removeDictionaryPath(filePath) | 文字列値 | ユーザー辞書を削除 | |||
| filePath | 文字列値 | フルパス名 | |||
| removeEventListener(eventType, handler, [captures]) | 真偽値 | EventListenerを削除 | |||
| eventType | 文字列値 | ||||
| handler | ファイル, JavaScript関数 | ||||
| [captures] | 真偽値 | (廃止) | |||
| toSource() | 文字列値 | ソースコードを表す文字列を返す | |||
| toSpecifier() | 文字列値 | Retrieves the object specifier. | |||