Packagejp.progression.events
Classpublic class DataProvideEvent
InheritanceDataProvideEvent Inheritance flash.events.Event

DataHolder インスタンスが管理するデータに対して各種操作が行われた場合に DataProvideEvent オブジェクトが送出されます。


Example
  // DataProvideEvent インスタンスを作成する
  var event:DataProvideEvent = new DataProvideEvent();
  



Public Properties
 PropertyDefined by
  newData : *
[read-only] 新しく設定されるデータを取得します。
DataProvideEvent
  oldData : *
[read-only] 以前に設定されていた古いデータを取得します。
DataProvideEvent
Public Methods
 MethodDefined by
  
DataProvideEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, oldData:* = null, newData:* = null)
新しい DataProvideEvent インスタンスを作成します。 Creates a new DataProvideEvent object.
DataProvideEvent
  
clone():Event
DataProvideEvent インスタンスのコピーを作成して、各プロパティの値を元のプロパティの値と一致するように設定します。 Duplicates an instance of an DataProvideEvent subclass.
DataProvideEvent
  
toString():String
指定されたオブジェクトのストリング表現を返します。 Returns the string representation of the specified object.
DataProvideEvent
Public Constants
 ConstantDefined by
  DATA_UPDATE : String = "dataUpdate"
[static] dataUpdate イベントオブジェクトの type プロパティ値を定義します。 The DataProvideEvent.DATA_UPDATE constant defines the value of the type property of an dataUpdate event object.
DataProvideEvent
Property detail
newDataproperty
newData:*  [read-only]

新しく設定されるデータを取得します。

Implementation
    public function get newData():*
oldDataproperty 
oldData:*  [read-only]

以前に設定されていた古いデータを取得します。

Implementation
    public function get oldData():*
Constructor detail
DataProvideEvent()constructor
public function DataProvideEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, oldData:* = null, newData:* = null)

新しい DataProvideEvent インスタンスを作成します。 Creates a new DataProvideEvent object.

Parameters
type:StringDataProvideEvent.type としてアクセス可能なイベントタイプです。 The type of the event, accessible as DataProvideEvent.type.
 
bubbles:Boolean (default = false)DataProvideEvent インスタンスがイベントフローのバブリング段階で処理されるかどうかを判断します。デフォルト値は false です。 Determines whether the DataProvideEvent object participates in the bubbling stage of the event flow. The default value is false.
 
cancelable:Boolean (default = false)DataProvideEvent インスタンスがキャンセル可能かどうかを判断します。デフォルト値は false です。 Determines whether the DataProvideEvent object can be canceled. The default values is false.
 
oldData:* (default = null)以前に設定されていた古いデータです。
 
newData:* (default = null)新しく設定されるデータです。
Method detail
clone()method
public override function clone():Event

DataProvideEvent インスタンスのコピーを作成して、各プロパティの値を元のプロパティの値と一致するように設定します。 Duplicates an instance of an DataProvideEvent subclass.

Returns
Event元のオブジェクトと同じプロパティ値を含む新しい DataProvideEvent インスタンスです。 A new DataProvideEvent object that is identical to the original.
toString()method 
public override function toString():String

指定されたオブジェクトのストリング表現を返します。 Returns the string representation of the specified object.

Returns
Stringオブジェクトのストリング表現です。 A string representation of the object.
Constant detail
DATA_UPDATEconstant
public static const DATA_UPDATE:String = "dataUpdate"

dataUpdate イベントオブジェクトの type プロパティ値を定義します。 The DataProvideEvent.DATA_UPDATE constant defines the value of the type property of an dataUpdate event object.

See also