#include <CEGUIInterfaces.h>
Inherits DigitalSpaces::DIObjectBase.
Public Member Functions | |
| unsigned long | getSelectedCount () |
| Returns the number of selected items in this ItemListbox. | |
| DICEGUIItemEntry * | getLastSelectedItem () |
| Returns a pointer to the last selected item. | |
| DICEGUIItemEntry * | getFirstSelectedItem () |
| Returns a pointer to the first selected item. | |
| DICEGUIItemEntry * | getFirstSelectedItem (unsigned long start_index) |
| DICEGUIItemEntry * | getNextSelectedItem () |
| Returns a pointer to the next seleced item relative to a previous call to getFirstSelectedItem or getNextSelectedItem. | |
| DICEGUIItemEntry * | getNextSelectedItemAfter (DICEGUIItemEntry *start_item) |
| Returns a pointer to the next selected item after the item 'start_item' given. | |
| bool | isMultiSelectEnabled () |
| Returns 'true' if multiple selections are allowed. 'false' if not. | |
| bool | isItemSelected (unsigned long index) |
| Returns 'true' if the item at the given index is selectable and currently selected. | |
| void | setMultiSelectEnabled (bool state) |
| Set whether or not multiple selections should be allowed. | |
| void | clearAllSelections () |
| Clears all selections. | |
| void | selectRange (unsigned long a, unsigned long z) |
| Select a range of items. | |
| void | selectAllItems () |
| Select all items. Does nothing if multiselect is disabled. | |
| unsigned long DigitalSpaces::DICEGUIItemListbox::getSelectedCount | ( | ) |
Returns the number of selected items in this ItemListbox.
| DICEGUIItemEntry* DigitalSpaces::DICEGUIItemListbox::getLastSelectedItem | ( | ) |
Returns a pointer to the last selected item.
| DICEGUIItemEntry* DigitalSpaces::DICEGUIItemListbox::getFirstSelectedItem | ( | ) |
Returns a pointer to the first selected item.
| start_index | The index where the search should begin. If omitted the search will begin with the first item. |
| DICEGUIItemEntry* DigitalSpaces::DICEGUIItemListbox::getFirstSelectedItem | ( | unsigned long | start_index | ) |
| DICEGUIItemEntry* DigitalSpaces::DICEGUIItemListbox::getNextSelectedItem | ( | ) |
Returns a pointer to the next seleced item relative to a previous call to getFirstSelectedItem or getNextSelectedItem.
| DICEGUIItemEntry* DigitalSpaces::DICEGUIItemListbox::getNextSelectedItemAfter | ( | DICEGUIItemEntry * | start_item | ) |
Returns a pointer to the next selected item after the item 'start_item' given.
| bool DigitalSpaces::DICEGUIItemListbox::isMultiSelectEnabled | ( | ) |
Returns 'true' if multiple selections are allowed. 'false' if not.
| bool DigitalSpaces::DICEGUIItemListbox::isItemSelected | ( | unsigned long | index | ) |
Returns 'true' if the item at the given index is selectable and currently selected.
| void DigitalSpaces::DICEGUIItemListbox::setMultiSelectEnabled | ( | bool | state | ) |
Set whether or not multiple selections should be allowed.
| void DigitalSpaces::DICEGUIItemListbox::clearAllSelections | ( | ) |
Clears all selections.
| void DigitalSpaces::DICEGUIItemListbox::selectRange | ( | unsigned long | a, | |
| unsigned long | z | |||
| ) |
Select a range of items.
| a | Start item. (inclusive) | |
| z | End item. (inclusive) |
| void DigitalSpaces::DICEGUIItemListbox::selectAllItems | ( | ) |
Select all items. Does nothing if multiselect is disabled.
1.5.6