Drag[en]gine Script Module DragonScript Script API  1.0
DefaultListModelNotifier Class Reference

Default implementation of ListModelNotifier. More...

Inheritance diagram for DefaultListModelNotifier:
ListModelNotifier

Public Member Functions

void contentChanged (ListModel listModel, int fromIndex, int toIndex)
 Content of the model changed. More...
 
void elementsAdded (ListModel listModel, int fromIndex, int toIndex)
 Elements have been added. More...
 
void elementsRemoved (ListModel listModel, int fromIndex, int toIndex)
 Elements have been removed. More...
 
DefaultListModelNotifier new ()
 Create default list model notifier. More...
 

Detailed Description

Default implementation of ListModelNotifier.

Author
Roland Pl├╝ss
Version
1.0
Date
2015

Member Function Documentation

§ contentChanged()

void contentChanged ( ListModel  listModel,
int  fromIndex,
int  toIndex 
)

Content of the model changed.

Parameters
listModelListModel sending the notification
fromIndexIndex of first element that changed
toIndexIndex of last element that changed

Implements ListModelNotifier.

§ elementsAdded()

void elementsAdded ( ListModel  listModel,
int  fromIndex,
int  toIndex 
)

Elements have been added.

Parameters
listModelListModel sending the notification
fromIndexIndex of first added element.
toIndexIndex of last added element.

Implements ListModelNotifier.

§ elementsRemoved()

void elementsRemoved ( ListModel  listModel,
int  fromIndex,
int  toIndex 
)

Elements have been removed.

Parameters
listModelListModel sending the notification
fromIndexIndex of first removed element.
toIndexIndex of last removed element.

Implements ListModelNotifier.

§ new()

Create default list model notifier.


The documentation for this class was generated from the following file: