Drag[en]gine Script Module DragonScript Script API  1.0
ListModel Interface Reference

Model for content of list oriented widgets. More...

Inheritance diagram for ListModel:
DefaultListModel

Public Member Functions

void addNotifier (ListModelNotifier notifier)
 Add modifier. More...
 
Object getAt (int index)
 Element at index. More...
 
int getCount ()
 Number of elements. More...
 
void notifyContentChanged (int fromIndex, int toIndex)
 Notify all that the content of the model in the given range changed. More...
 
void removeNotifier (ListModelNotifier notifier)
 Remove notifier. More...
 

Detailed Description

Model for content of list oriented widgets.

Author
Roland Pl├╝ss
Version
1.0
Date
2015

Member Function Documentation

§ addNotifier()

void addNotifier ( ListModelNotifier  notifier)

Add modifier.

Implemented in DefaultListModel.

§ getAt()

Object getAt ( int  index)

Element at index.

Exceptions
EOutOfBoundsindex is less than 0 or larger than or equal to getCount().

Implemented in DefaultListModel.

§ getCount()

int getCount ( )

Number of elements.

Implemented in DefaultListModel.

§ notifyContentChanged()

void notifyContentChanged ( int  fromIndex,
int  toIndex 
)

Notify all that the content of the model in the given range changed.

Parameters
fromIndexIndex of first element that changed
toIndexIndex of last element that changed

Implemented in DefaultListModel.

§ removeNotifier()

void removeNotifier ( ListModelNotifier  notifier)

Remove notifier.

Implemented in DefaultListModel.


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