com.azalient.api.event
Interface StoreChangeListener


public interface StoreChangeListener

A listener that is notified when a IStore changes in size, or an element is modified


Field Summary
static int ADDED
          An element has been added to the Store
static int DELETED
          An element has been deleted from the Store
static int MODIFIED
          An element has been modified in the Store
static int RENAMED
          An element has been renamed in the Store
 
Method Summary
 void storeChanged(ArrayList list, int index, int change)
          This is called when the store has changed, or an element in the store has changed
 

Field Detail

ADDED

static final int ADDED
An element has been added to the Store

See Also:
Constant Field Values

DELETED

static final int DELETED
An element has been deleted from the Store

See Also:
Constant Field Values

RENAMED

static final int RENAMED
An element has been renamed in the Store

See Also:
Constant Field Values

MODIFIED

static final int MODIFIED
An element has been modified in the Store

See Also:
Constant Field Values
Method Detail

storeChanged

void storeChanged(ArrayList list,
                  int index,
                  int change)
This is called when the store has changed, or an element in the store has changed

Parameters:
list - the list that has been changed
index - the index of the element that has changed
change - the type of change, ADDED, DELETED, RENAMED