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

Selection model. More...

Inheritance diagram for SelectionModel:
DefaultSelectionModel

Public Member Functions

void addNotifier (SelectionModelNotifier notifier)
 Add notifier. More...
 
int getSelection ()
 Selection or -1 if nothing can be selected. More...
 
bool hasSelection ()
 Something is selected. More...
 
void removeNotifier (SelectionModelNotifier notifier)
 Remove notifier. More...
 
void setSelection (int selection)
 Set selection or -1 if nothing can be selected. More...
 

Detailed Description

Selection model.

Author
Roland Pl├╝ss
Version
1.0
Date
2015

Member Function Documentation

§ addNotifier()

void addNotifier ( SelectionModelNotifier  notifier)

Add notifier.

Implemented in DefaultSelectionModel.

§ getSelection()

int getSelection ( )

Selection or -1 if nothing can be selected.

Implemented in DefaultSelectionModel.

§ hasSelection()

bool hasSelection ( )

Something is selected.

getSelection() returns not -1.

Implemented in DefaultSelectionModel.

§ removeNotifier()

void removeNotifier ( SelectionModelNotifier  notifier)

Remove notifier.

Implemented in DefaultSelectionModel.

§ setSelection()

void setSelection ( int  selection)

Set selection or -1 if nothing can be selected.

Implemented in DefaultSelectionModel.


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