|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.extjs.gxt.ui.client.data.ChangeEvent
public class ChangeEvent
Instances of this class are sent as a result of model changes.
ChangeEventSource| Field Summary | |
|---|---|
int |
index
The location for inserts. |
Model |
item
The item being added or removed. |
Model |
parent
The parent model. |
Model |
source
The model that fired the event. |
int |
type
The change type. |
| Constructor Summary | |
|---|---|
ChangeEvent(int type,
Model source)
Creates a new instance. |
|
ChangeEvent(int type,
Model source,
Model item)
Creates a new instance. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int type
ChangeEventSource.Add,
ChangeEventSource.Remove,
ChangeEventSource.Updatepublic Model source
public Model item
public Model parent
public int index
| Constructor Detail |
|---|
public ChangeEvent(int type,
Model source)
type - the change typesource - the object that was changed
public ChangeEvent(int type,
Model source,
Model item)
type - the change typesource - the object that has changeditem - the item that was added or removed
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||