com.extjs.gxt.ui.client.data
クラス ChangeEvent

java.lang.Object
  extended by com.extjs.gxt.ui.client.data.ChangeEvent
直系の既知のサブクラス:
PropertyChangeEvent

public class ChangeEvent
extends java.lang.Object

モデルの変化の結果として、このクラスのインスタンスが送られます。

関連項目:
ChangeEventSource

フィールド 概要
 int index
          挿入位置
 Model item
          追加、もしくは除去される項目
 Model source
          イベントを発生させるモデル
 int type
          変化のタイプ
 
コンストラクタ 概要
ChangeEvent(int type, Model source)
          新規のインスタンスを作成します。
ChangeEvent(int type, Model source, Model item)
          新規のインスタンスを作成します。
 
メソッド 概要
 
java.lang.Objectから継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールド 詳細

type

public int type
変化のタイプ

関連項目:
ChangeEventSource.Add, ChangeEventSource.Remove, ChangeEventSource.Update

source

public Model source
イベントを発生させるモデル


item

public Model item
追加、もしくは除去される項目


index

public int index
挿入位置

コンストラクタ 詳細

ChangeEvent

public ChangeEvent(int type,
                   Model source)
新規のインスタンスを作成します。

パラメータ:
type - 変化のタイプ
source - 変化するオブジェクト

ChangeEvent

public ChangeEvent(int type,
                   Model source,
                   Model item)
新規のインスタンスを作成します。

パラメータ:
type - 変化のタイプ
source - 変化したオブジェクト
item - 追加、もしくは除去された項目