| Package | jp.nium.events |
| Class | public class DocumentEvent |
| Inheritance | DocumentEvent flash.events.Event |
| Property | Defined By | ||
|---|---|---|---|
| root : ExDocument [read-only]
ロードされた SWF ファイル内の表示オブジェクトの場合、root プロパティはその SWF ファイルが表す表示リストのツリー構造部分の一番上にある表示オブジェクトとなります。
For a display object in a loaded SWF file, the root property is the top-most display object in the portion of the display list's tree structure represented by that SWF file.
| DocumentEvent | ||
| stage : Stage [read-only]
表示オブジェクトのステージです。
The Stage of the display object.
| DocumentEvent | ||
| stageHeight : int [read-only]
ステージの現在の高さをピクセル単位で指定します。
The current height, in pixels, of the Stage.
| DocumentEvent | ||
| stageWidth : int [read-only]
ステージの現在の幅をピクセル単位で指定します。
Specifies the current width, in pixels, of the Stage.
| DocumentEvent | ||
| Method | Defined By | ||
|---|---|---|---|
DocumentEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, root:ExDocument = null, stage:Stage = null)
新しい DocumentEvent インスタンスを作成します。
Creates a new DocumentEvent object.
| DocumentEvent | ||
clone():Event [override]
DocumentEvent インスタンスのコピーを作成して、各プロパティの値を元のプロパティの値と一致するように設定します。
Duplicates an instance of an DocumentEvent subclass.
| DocumentEvent | ||
toString():String [override]
指定されたオブジェクトのストリング表現を返します。
Returns the string representation of the specified object.
| DocumentEvent | ||
| Constant | Defined By | ||
|---|---|---|---|
| INIT : String = init [static]
init イベントオブジェクトの type プロパティ値を定義します。
The DocumentEvent.INIT constant defines the value of the type property of an init event object.
| DocumentEvent | ||
| RESIZE_COMPLETE : String = resizeComplete [static]
resizeComplete イベントオブジェクトの type プロパティ値を定義します。
The DocumentEvent.RESIZE_COMPLETE constant defines the value of the type property of an resizeComplete event object.
| DocumentEvent | ||
| RESIZE_PROGRESS : String = resizeProgress [static]
resizeProgress イベントオブジェクトの type プロパティ値を定義します。
The DocumentEvent.RESIZE_PROGRESS constant defines the value of the type property of an resizeProgress event object.
| DocumentEvent | ||
| RESIZE_START : String = resizeStart [static]
resizeStart イベントオブジェクトの type プロパティ値を定義します。
The DocumentEvent.RESIZE_START constant defines the value of the type property of an resizeStart event object.
| DocumentEvent | ||
| root | property |
root:ExDocument [read-only] ロードされた SWF ファイル内の表示オブジェクトの場合、root プロパティはその SWF ファイルが表す表示リストのツリー構造部分の一番上にある表示オブジェクトとなります。 For a display object in a loaded SWF file, the root property is the top-most display object in the portion of the display list's tree structure represented by that SWF file.
public function get root():ExDocument| stage | property |
stage:Stage [read-only] 表示オブジェクトのステージです。 The Stage of the display object.
public function get stage():Stage| stageHeight | property |
stageHeight:int [read-only] ステージの現在の高さをピクセル単位で指定します。 The current height, in pixels, of the Stage.
public function get stageHeight():int| stageWidth | property |
stageWidth:int [read-only] ステージの現在の幅をピクセル単位で指定します。 Specifies the current width, in pixels, of the Stage.
public function get stageWidth():int| DocumentEvent | () | Constructor |
public function DocumentEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, root:ExDocument = null, stage:Stage = null)新しい DocumentEvent インスタンスを作成します。 Creates a new DocumentEvent object.
Parameterstype:String — DocumentEvent.type としてアクセス可能なイベントタイプです。
The type of the event, accessible as DocumentEvent.type.
| |
bubbles:Boolean (default = false) — DocumentEvent インスタンスがイベントフローのバブリング段階で処理されるかどうかを判断します。デフォルト値は false です。
Determines whether the DocumentEvent object participates in the bubbling stage of the event flow. The default value is false.
| |
cancelable:Boolean (default = false) — DocumentEvent インスタンスがキャンセル可能かどうかを判断します。デフォルト値は false です。
Determines whether the DocumentEvent object can be canceled. The default values is false.
| |
root:ExDocument (default = null) — イベントが発生した Document インスタンスです。
The Document instance which the event occur.
| |
stage:Stage (default = null) — 関連付けられる stage インスタンスです。
The stage instance which will be related.
|
| clone | () | method |
override public function clone():EventDocumentEvent インスタンスのコピーを作成して、各プロパティの値を元のプロパティの値と一致するように設定します。 Duplicates an instance of an DocumentEvent subclass.
ReturnsEvent —
元のオブジェクトと同じプロパティ値を含む新しい DocumentEvent インスタンスです。
A new DocumentEvent object that is identical to the original.
|
| toString | () | method |
override public function toString():String指定されたオブジェクトのストリング表現を返します。 Returns the string representation of the specified object.
ReturnsString —
オブジェクトのストリング表現です。
A string representation of the object.
|
| INIT | Constant |
public static const INIT:String = initinit イベントオブジェクトの type プロパティ値を定義します。 The DocumentEvent.INIT constant defines the value of the type property of an init event object.
| RESIZE_COMPLETE | Constant |
public static const RESIZE_COMPLETE:String = resizeCompleteresizeComplete イベントオブジェクトの type プロパティ値を定義します。 The DocumentEvent.RESIZE_COMPLETE constant defines the value of the type property of an resizeComplete event object.
| RESIZE_PROGRESS | Constant |
public static const RESIZE_PROGRESS:String = resizeProgressresizeProgress イベントオブジェクトの type プロパティ値を定義します。 The DocumentEvent.RESIZE_PROGRESS constant defines the value of the type property of an resizeProgress event object.
| RESIZE_START | Constant |
public static const RESIZE_START:String = resizeStartresizeStart イベントオブジェクトの type プロパティ値を定義します。 The DocumentEvent.RESIZE_START constant defines the value of the type property of an resizeStart event object.