Windows

Window(ウィンドウ)のコレクション

プロパティ

Ver.プロパティ名R/O説明
[7][7.5][8][9]
[10][11][12][13]
length 数値オブジェクト数

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[7][7.5][8][9]
[10][11][12][13]
add([withProperties]) Window新しいオブジェクトを作成し、それを返す
[withProperties] Objectプロパティを設定
[7][7.5][8][9]
[10][11][12][13]
anyItem() Windowどれかのオブジェクトを返す
[7][7.5][8][9]
[10][11][12][13]
count() 数値要素数を返す
[7][7.5][8][9]
[10][11][12][13]
everyItem() Array( Window )全てのオブジェクトを返す
[7][7.5][8][9]
[10][11][12][13]
firstItem() Window最初のオブジェクトを返す
[7][7.5][8][9]
[10][11][12][13]
item(index) Windowインデックスまたは名前で指定したオブジェクトを返す
index 数値, 文字列値インデックスまたは名前
[7][7.5][8][9]
[10][11][12][13]
itemByName(name) Window名前で指定したオブジェクトを返す
name 文字列値
[7][7.5][8][9]
[10][11][12][13]
itemByRange(from, to) Array( Window )範囲で指定したオブジェクトを返す
from Window, 数値, 文字列値範囲の開始
to Window, 数値, 文字列値範囲の終了
[7][7.5][8][9]
[10][11][12][13]
lastItem() Window最後のオブジェクトを返す
[7][7.5][8][9]
[10][11][12][13]
middleItem() Window真ん中のオブジェクトを返す
[7][7.5][8][9]
[10][11][12][13]
nextItem(obj) Window一つ後のオブジェクトを返す
obj Window位置の基準になるオブジェクト
[7][7.5][8][9]
[10][11][12][13]
previousItem(obj) Window一つ前のオブジェクトを返す
obj Window位置の基準になるオブジェクト
[7][7.5][8][9]
[10][11][12][13]
toSource() 文字列値ソースコードを表す文字列を返す

Window

ウィンドウ

プロパティ(parentとその逆)

Ver.プロパティR/O
[7][7.5][8][9]
[10][11][12][13]
parent Document
[7][7.5][8][9]
[10][11][12][13]
eventListeners EventListeners
[7][7.5][8][9]
[10][11][12][13]
events Events

プロパティ

Ver.プロパティ名R/O説明
[7][7.5][8][9]
[10][11][12][13]
bounds [ top, left, bottom, right ]ウィンドウの表示サイズ。top,left,bottom,rightは数値、単位はpixel
[7][7.5][8][9]
[10][11][12][13]
index 数値インデックス
[7][7.5][8][9]
[10][11][12][13]
isValid 真偽値オブジェクトが有効かどうか
[7][7.5][8][9]
[10][11][12][13]
name 文字列値オブジェクトの名前
[7][7.5][8][9]
[10][11][12][13]
properties Object
[7][7.5][8][9]
[10][11][12][13]
selection Array( Object ), NothingEnum.NOTHING(1851876449/nada)選択状態のオブジェクト
[8][9]
[10][11][12][13]
selectionKeyObject PageItem, NothingEnum.NOTHING(1851876449/nada)選択のキーオブジェクト

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[7][7.5][8][9]
[10][11][12][13]
addEventListener(eventType, handler, [captures]) EventListenerEventListenerを作成
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値(廃止)
[7][7.5][8][9]
[10][11][12][13]
bringToFront() なし最前面へ
[7][7.5][8][9]
[10][11][12][13]
close() なし閉じる
[7][7.5][8][9]
[10][11][12][13]
getElements() Array( Window )オブジェクト参照を返す
[7][7.5][8][9]
[10][11][12][13]
maximize() なしウィンドウの最大化
[7][7.5][8][9]
[10][11][12][13]
minimize() なしウィンドウの最小化
[7][7.5][8][9]
[10][11][12][13]
removeEventListener(eventType, handler, [captures]) 真偽値EventListenerを削除
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値(廃止)
[7][7.5][8][9]
[10][11][12][13]
restore() なし元のサイズに戻す
[7][7.5][8][9]
[10][11][12][13]
select(selectableItems, [existingSelection]) なしオブジェクトを選択状態にする
selectableItems Object, Array( Object ), NothingEnum.NOTHING(1851876449/nada), SelectAll.ALL(1634495520/all )選択するオブジェクト
[existingSelection] SelectionOptions
SelectionOptions
Ver.10進数/文字列説明
[7][7.5][8][9]
[10][11][12][13]
ADD_TO1633969202
add2
追加選択する
[7][7.5][8][9]
[10][11][12][13]
REMOVE_FROM1919249734
remF
選択から削除する
[7][7.5][8][9]
[10][11][12][13]
REPLACE_WITH1919250519
repW
置き換える
[8][9]
[10][11][12][13]
SET_KEY1936028779
setk
整列のキーオブジェクトにする
既に選択されているものがあった場合 (既定値=SelectionOptions.REPLACE_WITH)
[7][7.5][8][9]
[10][11][12][13]
toSource() 文字列値ソースコードを表す文字列を返す
[7][7.5][8][9]
[10][11][12][13]
toSpecifier() 文字列値Retrieves the object specifier.

クラス

プロパティ名値(文字列)説明
AFTER_ACTIVATEafterActivateDispatched after the Window becomes active. This event bubbles. This event is not cancelable.
AFTER_ATTRIBUTE_CHANGEDafterAttributeChangedDispatched when the value of a property changes on this Window. This event bubbles. This event is not cancelable.
AFTER_CLOSEafterCloseDispatched when a Window is closing. Since the close has been committed, it can no longer be canceled. This event bubbles. This event is not cancelable.
AFTER_OPENafterOpenDispatched after a Window is opened. This event bubbles. This event is not cancelable.
AFTER_SELECTION_ATTRIBUTE_CHANGEDafterSelectionAttributeChangedDispatched after an attribute on the active selection changes. This event bubbles. This event is not cancelable.
AFTER_SELECTION_CHANGEDafterSelectionChangedDispatched after the active selection changes. This event bubbles. This event is not cancelable.
BEFORE_CLOSEbeforeCloseDispatched before a Window is closed. This event bubbles. This event is cancelable.
BEFORE_DEACTIVATEbeforeDeactivateDispatched before the Window becomes inactive. This event bubbles. This event is not cancelable.