StaticText(ダイアログの静的テキスト)のコレクション
| Ver. | プロパティ名 | R/O | 値 | 説明 |
|---|---|---|---|---|
| length | ○ | 数値 | オブジェクト数 |
| Ver. | メソッドの書式 | 戻り値 | メソッドの説明 | ||
|---|---|---|---|---|---|
| パラメータ | 値 | パラメータの説明 | |||
| add([withProperties]) | StaticText | 新しいオブジェクトを作成し、それを返す | |||
| [withProperties] | Object | プロパティを設定 | |||
| anyItem() | StaticText | どれかのオブジェクトを返す | |||
| count() | 数値 | 要素数を返す | |||
| everyItem() | StaticText (Array) | 全てのオブジェクトを返す | |||
| firstItem() | StaticText | 最初のオブジェクトを返す | |||
| item(index) | StaticText | インデックスまたは名前で指定したオブジェクトを返す | |||
| index | 数値, 文字列値 | インデックスまたは名前 | |||
| itemByID(id) | StaticText | IDで指定したオブジェクトを返す | |||
| id | 数値 | ||||
| itemByRange(from, to) | StaticText (Array) | 範囲で指定したオブジェクトを返す | |||
| from | StaticText, 数値, 文字列値 | 範囲の開始 | |||
| to | StaticText, 数値, 文字列値 | 範囲の終了 | |||
| lastItem() | StaticText | 最後のオブジェクトを返す | |||
| middleItem() | StaticText | 真ん中のオブジェクトを返す | |||
| nextItem(obj) | StaticText | 一つ後のオブジェクトを返す | |||
| obj | StaticText | 位置の基準になるオブジェクト | |||
| previousItem(obj) | StaticText | 一つ前のオブジェクトを返す | |||
| obj | StaticText | 位置の基準になるオブジェクト | |||
| toSource() | 文字列値 | ソースコードを表す文字列を返す | |||
ダイアログの静的テキスト
| Ver. | プロパティ | R/O | 値 |
|---|---|---|---|
| parent | ○ | DialogColumn, DialogRow, EnablingGroup, BorderPanel | |
| eventListeners | ○ | EventListeners | |
| events | ○ | Events | |
| Ver. | プロパティ名 | R/O | 値 | 説明 | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| id | ○ | 数値 | オブジェクトのID | |||||||||||||||||||||
| index | ○ | 数値 | インデックス。先に作成したものから順につけられる | |||||||||||||||||||||
| isValid | ○ | 真偽値 | オブジェクトが有効かどうか | |||||||||||||||||||||
| minWidth | 数値 | 最小幅 | ||||||||||||||||||||||
| properties | Object | |||||||||||||||||||||||
| staticAlignment |
StaticAlignmentOptions
| Text alignment for the StaticText. | ||||||||||||||||||||||
| staticLabel | 文字列値 | 表示する文字 | ||||||||||||||||||||||
| Ver. | メソッドの書式 | 戻り値 | メソッドの説明 | ||
|---|---|---|---|---|---|
| パラメータ | 値 | パラメータの説明 | |||
| addEventListener(eventType, handler, [captures]) | EventListener | EventListenerを作成 | |||
| eventType | 文字列値 | ||||
| handler | ファイル, JavaScript関数 | ||||
| [captures] | 真偽値 | (廃止) | |||
| getElements() | Array( StaticText ) | オブジェクト参照を返す | |||
| removeEventListener(eventType, handler, [captures]) | 真偽値 | EventListenerを削除 | |||
| eventType | 文字列値 | ||||
| handler | ファイル, JavaScript関数 | ||||
| [captures] | 真偽値 | (廃止) | |||
| toSource() | 文字列値 | ソースコードを表す文字列を返す | |||
| toSpecifier() | 文字列値 | Retrieves the object specifier. | |||