StoryWindows

StoryWindow(ストーリーエディタウィンドウ)のコレクション

プロパティ

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

メソッド

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

StoryWindow

ストーリーエディタウィンドウ

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

Ver.プロパティR/O
[18][19][20][21] parent Document
[18][19][20][21] eventListeners EventListeners
[18][19][20][21] events Events

プロパティ

Ver.プロパティ名R/O説明
[18][19][20][21] bounds [ top, left, bottom, right ]ウィンドウの表示サイズ。top,left,bottom,rightは数値、単位はpixel
[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] selection Array( Object ), NothingEnum.NOTHING(1851876449/nada)選択状態のオブジェクト
[18][19][20][21] selectionKeyObject PageItem, NothingEnum.NOTHING(1851876449/nada)選択のキーオブジェクト

メソッド

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

クラス

プロパティ名値(文字列)説明
AFTER_ACTIVATEafterActivateDispatched after the StoryWindow becomes active. This event bubbles. This event is not cancelable.
AFTER_ATTRIBUTE_CHANGEDafterAttributeChangedDispatched when the value of a property changes on this StoryWindow. This event bubbles. This event is not cancelable.
AFTER_CLOSEafterCloseDispatched when a StoryWindow 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 StoryWindow 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 StoryWindow is closed. This event bubbles. This event is cancelable.
BEFORE_DEACTIVATEbeforeDeactivateDispatched before the StoryWindow becomes inactive. This event bubbles. This event is not cancelable.