MyGUI 3.4.2
|
widget description should be here. More...
#include <MyGUI_MultiListBox.h>
Public Types | |
typedef RTTIBase | Base |
typedef MultiListBox | RTTIBase |
![]() | |
typedef RTTIBase | Base |
typedef Widget | RTTIBase |
![]() | |
typedef IObject | RTTIBase |
Static Public Member Functions | |
static const std::string & | getClassTypeName () |
![]() | |
static const std::string & | getClassTypeName () |
![]() | |
static const std::string & | getClassTypeName () |
Additional Inherited Members | |
![]() | |
IntRect | mMargin |
IntCoord | mCoord |
IntPoint | mAbsolutePosition |
bool | mIsMargin |
ICroppedRectangle * | mCroppedParent |
widget description should be here.
Definition at line 34 of file MyGUI_MultiListBox.h.
Definition at line 40 of file MyGUI_MultiListBox.h.
Definition at line 40 of file MyGUI_MultiListBox.h.
MyGUI::MultiListBox::MultiListBox | ( | ) |
Definition at line 20 of file MyGUI_MultiListBox.cpp.
|
overridevirtual |
Reimplemented from MyGUI::IItemContainer.
Definition at line 581 of file MyGUI_MultiListBox.cpp.
Reimplemented from MyGUI::IItemContainer.
Definition at line 766 of file MyGUI_MultiListBox.cpp.
|
overridevirtual |
Reimplemented from MyGUI::IItemContainer.
Definition at line 576 of file MyGUI_MultiListBox.cpp.
Reimplemented from MyGUI::IItemContainer.
Definition at line 597 of file MyGUI_MultiListBox.cpp.
Reimplemented from MyGUI::IItemContainer.
Definition at line 587 of file MyGUI_MultiListBox.cpp.
Reimplemented from MyGUI::IItemContainer.
Definition at line 592 of file MyGUI_MultiListBox.cpp.
void MyGUI::MultiListBox::addColumn | ( | const UString & | _name, |
int | _width = 0 , |
||
Any | _data = Any::Null |
||
) |
Add new column at last position
_width | Width of new column |
_name | Name of new column |
_data | Any data associated with new column |
Definition at line 520 of file MyGUI_MultiListBox.cpp.
Add new item at the end
Definition at line 530 of file MyGUI_MultiListBox.cpp.
Clear an item data at a specified position.
Definition at line 525 of file MyGUI_MultiListBox.cpp.
void MyGUI::MultiListBox::clearIndexSelected | ( | ) |
Clear item selection
Definition at line 550 of file MyGUI_MultiListBox.cpp.
Clear an item data at a specified position.
Definition at line 560 of file MyGUI_MultiListBox.cpp.
Clear an item data at a specified position.
Definition at line 565 of file MyGUI_MultiListBox.cpp.
Search item in specified _column, returns index of the first occurrence in column or ITEM_NONE if item not found
Definition at line 205 of file MyGUI_MultiListBox.cpp.
Definition at line 40 of file MyGUI_MultiListBox.h.
size_t MyGUI::MultiListBox::getColumnCount | ( | ) | const |
Get number of columns.
Definition at line 515 of file MyGUI_MultiListBox.cpp.
Get item data from specified position.
Definition at line 152 of file MyGUI_MultiListBox.h.
size_t MyGUI::MultiListBox::getColumnIndex | ( | const MultiListItem * | _item | ) | const |
Get column index.
Definition at line 782 of file MyGUI_MultiListBox.cpp.
const UString & MyGUI::MultiListBox::getColumnName | ( | const MultiListItem * | _item | ) | const |
Get _column name
Definition at line 777 of file MyGUI_MultiListBox.cpp.
Get _column name
Definition at line 98 of file MyGUI_MultiListBox.cpp.
Get _column width
Definition at line 104 of file MyGUI_MultiListBox.cpp.
size_t MyGUI::MultiListBox::getIndexSelected | ( | ) | const |
Get index of selected item (ITEM_NONE if none selected)
Definition at line 545 of file MyGUI_MultiListBox.cpp.
size_t MyGUI::MultiListBox::getItemCount | ( | ) | const |
Definition at line 137 of file MyGUI_MultiListBox.cpp.
Get item data from specified position.
Definition at line 221 of file MyGUI_MultiListBox.h.
Get item name from specified position.
Definition at line 540 of file MyGUI_MultiListBox.cpp.
|
inline |
Get item data from specified position.
Definition at line 256 of file MyGUI_MultiListBox.h.
Get sub item name
Definition at line 197 of file MyGUI_MultiListBox.cpp.
Get type name as string
Reimplemented from MyGUI::Widget.
Definition at line 40 of file MyGUI_MultiListBox.h.
|
overrideprotectedvirtual |
Reimplemented from MyGUI::Widget.
Definition at line 34 of file MyGUI_MultiListBox.cpp.
void MyGUI::MultiListBox::insertColumnAt | ( | size_t | _column, |
const UString & | _name, | ||
int | _width = 0 , |
||
Any | _data = Any::Null |
||
) |
Insert new column
_column | New column will be inserted before _column |
_name | Name of new column |
_width | Width of new column |
_data | Any data associated with new column |
Definition at line 602 of file MyGUI_MultiListBox.cpp.
void MyGUI::MultiListBox::insertItemAt | ( | size_t | _index, |
const UString & | _name, | ||
Any | _data = Any::Null |
||
) |
Insert new item before _index line
Definition at line 437 of file MyGUI_MultiListBox.cpp.
Compare with selected type
Definition at line 40 of file MyGUI_MultiListBox.h.
|
inlineoverridevirtual |
Compare with selected type
Reimplemented from MyGUI::Widget.
Definition at line 40 of file MyGUI_MultiListBox.h.
Reimplemented from MyGUI::Widget.
Definition at line 660 of file MyGUI_MultiListBox.cpp.
Reimplemented from MyGUI::Widget.
Definition at line 671 of file MyGUI_MultiListBox.cpp.
void MyGUI::MultiListBox::removeAllColumns | ( | ) |
Delete all columns
Definition at line 110 of file MyGUI_MultiListBox.cpp.
void MyGUI::MultiListBox::removeAllItems | ( | ) |
Delete all items
Definition at line 144 of file MyGUI_MultiListBox.cpp.
Delete column
Definition at line 628 of file MyGUI_MultiListBox.cpp.
Remove item at a specified position.
Definition at line 462 of file MyGUI_MultiListBox.cpp.
Replace an item data at a specified position.
Definition at line 501 of file MyGUI_MultiListBox.cpp.
void MyGUI::MultiListBox::setColumnName | ( | MultiListItem * | _item, |
const UString & | _name | ||
) |
Set column name
_item | column |
_name | New name of column |
Definition at line 772 of file MyGUI_MultiListBox.cpp.
Set column name
_column | Index of column |
_name | New name of column |
Definition at line 82 of file MyGUI_MultiListBox.cpp.
void MyGUI::MultiListBox::setColumnResizingPolicy | ( | MultiListItem * | _item, |
ResizingPolicy | _value | ||
) |
Set resizing policy of column.
_item | Pointer to column |
_value | New resizing policy for column |
Definition at line 793 of file MyGUI_MultiListBox.cpp.
void MyGUI::MultiListBox::setColumnResizingPolicyAt | ( | size_t | _index, |
ResizingPolicy | _value | ||
) |
Set resizing policy of column.
_index | Index of column |
_value | New resizing policy for column |
Definition at line 798 of file MyGUI_MultiListBox.cpp.
void MyGUI::MultiListBox::setColumnWidth | ( | MultiListItem * | _item, |
int | _width | ||
) |
Set column width
_item | column |
_width | New width of column |
Definition at line 805 of file MyGUI_MultiListBox.cpp.
Set column width
_column | Index of column |
_width | New width of column |
Definition at line 91 of file MyGUI_MultiListBox.cpp.
Set widget position and size
Reimplemented from MyGUI::ICroppedRectangle.
Definition at line 823 of file MyGUI_MultiListBox.cpp.
Set widget position and size
Reimplemented from MyGUI::ICroppedRectangle.
Definition at line 116 of file MyGUI_Widget.cpp.
See Widget::setCoord(const IntCoord& _coord)
Definition at line 123 of file MyGUI_Widget.cpp.
Select specified _index
Definition at line 173 of file MyGUI_MultiListBox.cpp.
Replace an item data at a specified position.
Definition at line 555 of file MyGUI_MultiListBox.cpp.
Replace an item name.
Definition at line 535 of file MyGUI_MultiListBox.cpp.
Set widget position (position of left top corner)
Reimplemented from MyGUI::ICroppedRectangle.
Definition at line 810 of file MyGUI_MultiListBox.cpp.
Set widget position (position of left top corner)
Reimplemented from MyGUI::ICroppedRectangle.
Definition at line 112 of file MyGUI_Widget.cpp.
See Widget::setPosition(const IntPoint& _pos)
Definition at line 119 of file MyGUI_Widget.cpp.
Set widget size
Reimplemented from MyGUI::ICroppedRectangle.
Definition at line 815 of file MyGUI_MultiListBox.cpp.
Set widget size
Reimplemented from MyGUI::ICroppedRectangle.
Definition at line 114 of file MyGUI_Widget.cpp.
See Widget::setSize(const IntSize& _size)
Definition at line 121 of file MyGUI_Widget.cpp.
Replace an item data at a specified position.
Definition at line 507 of file MyGUI_MultiListBox.cpp.
Set sub item
_column | Index of column |
_index | Index of line |
_name | New sub item value |
Definition at line 185 of file MyGUI_MultiListBox.cpp.
|
overrideprotectedvirtual |
Reimplemented from MyGUI::Widget.
Definition at line 77 of file MyGUI_MultiListBox.cpp.
Sort multilist by column
Definition at line 116 of file MyGUI_MultiListBox.cpp.
Swap columns at a specified positions.
Definition at line 637 of file MyGUI_MultiListBox.cpp.
Swap items at a specified positions.
Definition at line 488 of file MyGUI_MultiListBox.cpp.
EventPair<EventHandle_WidgetSizeT, EventHandle_MultiListPtrSizeT> MyGUI::MultiListBox::eventListChangePosition |
Event : Selected item position changed.
signature : void method(MyGUI::MultiListBox* _sender, size_t _index)
_sender | widget that called this event |
_index | of new item |
Definition at line 277 of file MyGUI_MultiListBox.h.
EventPair<EventHandle_WidgetSizeT, EventHandle_MultiListPtrSizeT> MyGUI::MultiListBox::eventListSelectAccept |
Event : Enter pressed or double click.
signature : void method(MyGUI::MultiListBox* _sender, size_t _index)
_sender | widget that called this event |
_index | of selected item |
Definition at line 270 of file MyGUI_MultiListBox.h.
EventHandle_MultiListPtrCIBNotifyCellDataRef MyGUI::MultiListBox::eventNotifyItem |
Event : Notify about event in item widget.
signature : void method(MyGUI::MultiList* _sender, const MyGUI::IBNotifyItemData& _info)
_sender | widget that called this event |
_info | info about item notify |
Definition at line 294 of file MyGUI_MultiListBox.h.
EventPair<EventHandle_MultiListPtrSizeTCUTFStringRefCUTFStringRefBoolRef, EventHandle_MultiListPtrSizeTSizeTSizeTBoolRef> MyGUI::MultiListBox::requestOperatorLess |
Event : Less than operator for sort multilist by columns.
signature : void method(MyGUI::MultiListBox* _sender, size_t _column, size_t _index1, size_t _index2, bool& _less)
_sender | widget that called this event |
_column | Index of column |
_index1 | Index of row for compare |
_index2 | Index of row for compare |
_less | Comparsion result (write your value here) |
Definition at line 287 of file MyGUI_MultiListBox.h.