![]() |
VR-Forces 4.3 Class Documentation
|
This class will manage filtered list views for the basic purpose of allowing a single list view in the manager to only respond to map changes. More...

Public Member Functions | |
| DtMapFocusHandlerManager (makVrv::DtDe &) | |
| virtual | ~DtMapFocusHandlerManager () |
| virtual void | addMapFocusHandler (DtMapFocusHandler *, int index=-1) |
| Adds a new map focus handler into the collection. | |
| virtual void | removeMapFocusHandler (DtMapFocusHandler *) |
| Removes the map focus handler. | |
| virtual void | focusToNext () |
| Called to change focus fromm the map handler that has the current map focus to the next one in the list. | |
| virtual void | removeAndDisconnectAll () |
| Removes all map handlers and sets them to not listen to map changes. | |
| virtual void | resetFocus () |
| Resets focus to the first focus handler. | |
Protected Member Functions | |
| virtual void | onCanTakeMapFocusChanged (DtMapFocusHandler *, bool) |
| virtual void | onSelectionChangedByMapSelection (DtMapFocusHandler *) |
Protected Attributes | |
| std::vector< DtMapFocusHandler * > | myManagedViews |
| makVrv::DtDe & | myDe |
This class will manage filtered list views for the basic purpose of allowing a single list view in the manager to only respond to map changes.
This can occur if there is only a single filtered list view, or multiple views where the map change focus button is pressed. When the map changed focus button is pressed on one view it will be turned off on other views in this collection. When a filtered list view has an item selected within it by mouse selection that list view will take map focus
| makVrf::DtMapFocusHandlerManager::DtMapFocusHandlerManager | ( | makVrv::DtDe & | ) |
|
virtual |
|
virtual |
Adds a new map focus handler into the collection.
If this is the only handler it will always have map focus. Subsequent views added means that buttons will be shown to change map focus. If index is -1 will append to end of chain
|
virtual |
Removes the map focus handler.
If this leaves only one view the map focus change button will be hidden. The removed handler will have the ability to change or be effected by map operations (selection, click, etc.)
|
virtual |
Called to change focus fromm the map handler that has the current map focus to the next one in the list.
|
virtual |
Removes all map handlers and sets them to not listen to map changes.
|
virtual |
Resets focus to the first focus handler.
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
protected |