#include <mlXMarkerList.h>

Public Member Functions | |
| XMarkerListContainer () | |
| Constructor. | |
Protected Member Functions | |
Handle item property fields | |
| virtual bool | isPropertyField (Field *field) |
| Return true if field points to an item property field. | |
| virtual void | resetPropertyFields () |
| Reset all property fields. | |
| virtual void | updatePropertyFields () |
| Update property fields from the current list item. | |
List modifications | |
| virtual bool | modifyItem (MLssize_t index, Field *field, bool fromCurrentItem) |
| Modify item at position index. | |
| virtual void | copyItemToTemplate (MLssize_t index) |
| Copy values from item at position index to the template fields. | |
| virtual void | copyTemplateToCurrent () |
| Copy the values of the templates fields to _currentItem. | |
| virtual void | initItem (MLssize_t index) |
| Initialize the list item at position index. | |
Container class for XMarkerList objects
Definition at line 211 of file mlXMarkerList.h.
| ml::XMarkerListContainer::XMarkerListContainer | ( | ) |
Constructor.
| virtual void ml::XMarkerListContainer::copyItemToTemplate | ( | MLssize_t | index | ) | [protected, virtual] |
Copy values from item at position index to the template fields.
Reimplemented from ml::ListContainerTemplate< XMarkerList >.
| virtual void ml::XMarkerListContainer::copyTemplateToCurrent | ( | ) | [protected, virtual] |
Copy the values of the templates fields to _currentItem.
Reimplemented from ml::ListContainerTemplate< XMarkerList >.
| virtual void ml::XMarkerListContainer::initItem | ( | MLssize_t | index | ) | [protected, virtual] |
Initialize the list item at position index.
This method is called by insertItem() if the fromCurrentItem argument is false. Moreover it is called when fldInit is touched.
Reimplemented from ml::ListContainerTemplate< XMarkerList >.
| virtual bool ml::XMarkerListContainer::isPropertyField | ( | Field * | field | ) | [protected, virtual] |
| virtual bool ml::XMarkerListContainer::modifyItem | ( | MLssize_t | index, | |
| Field * | field, | |||
| bool | fromCurrentItem | |||
| ) | [protected, virtual] |
Modify item at position index.
If fromCurrentItem is true, the item is copied from _currentItem, otherwise the item property corresponding to the property field field is modified. Return true if item has been modified.
Reimplemented from ml::ListContainerTemplate< XMarkerList >.
| virtual void ml::XMarkerListContainer::resetPropertyFields | ( | ) | [protected, virtual] |
| virtual void ml::XMarkerListContainer::updatePropertyFields | ( | ) | [protected, virtual] |
Update property fields from the current list item.
Reimplemented from ml::ListContainerTemplate< XMarkerList >.
1.5.8