MyGUI 3.0.1
|
#include <MyGUI_TabItem.h>
Public Types | |
typedef RTTIBase | Base |
typedef TabItem | RTTIBase |
Public Member Functions | |
virtual const std::string & | getTypeName () const |
virtual bool | isType (const std::type_info &_type) const |
template<typename Type > | |
bool | isType () const |
TabItem () | |
virtual void | setCaption (const UString &_value) |
virtual const UString & | getCaption () |
void | setButtonWidth (int _value=DEFAULT) |
Set button width. | |
int | getButtonWidth () |
Get button width. | |
void | setItemName (const UString &_value) |
Replace an item name. | |
const UString & | getItemName () |
Get item name. | |
void | setItemData (Any _value) |
Replace an item name. | |
template<typename ValueType > | |
ValueType * | getItemData (bool _throw=true) |
Get item data. | |
void | setItemSelected () |
Select sheet. | |
void | removeItem () |
Remove item. | |
virtual void | setProperty (const std::string &_key, const std::string &_value) |
virtual void | _initialise (WidgetStyle _style, const IntCoord &_coord, Align _align, ResourceSkin *_info, Widget *_parent, ICroppedRectangle *_croppedParent, IWidgetCreator *_creator, const std::string &_name) |
Static Public Member Functions | |
static const std::string & | getClassTypeName () |
Protected Member Functions | |
virtual | ~TabItem () |
void | setSelected (bool _value) |
Definition at line 33 of file MyGUI_TabItem.h.
typedef RTTIBase MyGUI::TabItem::Base |
Definition at line 36 of file MyGUI_TabItem.h.
typedef TabItem MyGUI::TabItem::RTTIBase |
Reimplemented from MyGUI::Widget.
Definition at line 36 of file MyGUI_TabItem.h.
MyGUI::TabItem::TabItem | ( | ) |
Definition at line 29 of file MyGUI_TabItem.cpp.
MyGUI::TabItem::~TabItem | ( | ) | [protected, virtual] |
Definition at line 41 of file MyGUI_TabItem.cpp.
void MyGUI::TabItem::_initialise | ( | WidgetStyle | _style, |
const IntCoord & | _coord, | ||
Align | _align, | ||
ResourceSkin * | _info, | ||
Widget * | _parent, | ||
ICroppedRectangle * | _croppedParent, | ||
IWidgetCreator * | _creator, | ||
const std::string & | _name | ||
) | [virtual] |
Reimplemented from MyGUI::Widget.
Definition at line 34 of file MyGUI_TabItem.cpp.
int MyGUI::TabItem::getButtonWidth | ( | ) |
Get button width.
Definition at line 66 of file MyGUI_TabItem.cpp.
const UString & MyGUI::TabItem::getCaption | ( | ) | [virtual] |
static const std::string& MyGUI::TabItem::getClassTypeName | ( | ) | [inline, static] |
Reimplemented from MyGUI::Widget.
Definition at line 36 of file MyGUI_TabItem.h.
ValueType* MyGUI::TabItem::getItemData | ( | bool | _throw = true | ) | [inline] |
Get item data.
Definition at line 61 of file MyGUI_TabItem.h.
const UString & MyGUI::TabItem::getItemName | ( | ) |
Get item name.
Definition at line 71 of file MyGUI_TabItem.cpp.
virtual const std::string& MyGUI::TabItem::getTypeName | ( | ) | const [inline, virtual] |
Get type name as string
Reimplemented from MyGUI::Widget.
Definition at line 36 of file MyGUI_TabItem.h.
bool MyGUI::TabItem::isType | ( | ) | const [inline] |
Compare with selected type
Reimplemented from MyGUI::Widget.
Definition at line 36 of file MyGUI_TabItem.h.
virtual bool MyGUI::TabItem::isType | ( | const std::type_info & | _type | ) | const [inline, virtual] |
Compare with selected type
Reimplemented from MyGUI::Widget.
Definition at line 36 of file MyGUI_TabItem.h.
void MyGUI::TabItem::removeItem | ( | ) |
Remove item.
Definition at line 91 of file MyGUI_TabItem.cpp.
void MyGUI::TabItem::setButtonWidth | ( | int | _value = DEFAULT | ) |
Set button width.
Definition at line 61 of file MyGUI_TabItem.cpp.
void MyGUI::TabItem::setCaption | ( | const UString & | _value | ) | [virtual] |
void MyGUI::TabItem::setItemData | ( | Any | _value | ) |
Replace an item name.
Definition at line 81 of file MyGUI_TabItem.cpp.
void MyGUI::TabItem::setItemName | ( | const UString & | _value | ) |
Replace an item name.
Definition at line 76 of file MyGUI_TabItem.cpp.
void MyGUI::TabItem::setItemSelected | ( | ) |
Select sheet.
Definition at line 86 of file MyGUI_TabItem.cpp.
void MyGUI::TabItem::setProperty | ( | const std::string & | _key, |
const std::string & | _value | ||
) | [virtual] |
Set any widget property
_key | Property name (for example Widget_Alpha or Edit_MultiLine) |
_value | Value converted to string |
Reimplemented from MyGUI::Widget.
Definition at line 96 of file MyGUI_TabItem.cpp.
void MyGUI::TabItem::setSelected | ( | bool | _value | ) | [protected] |
Definition at line 46 of file MyGUI_TabItem.cpp.