Namespaces | |
| cocos2d | |
| cocos2d::ui | |
| cocos2d::experimental | |
| cocos2d::experimental::ui | |
| cocos2d::extension | |
Classes | |
| class | TextFieldDelegate |
| A input protocol for TextField. More... | |
| class | TextFieldTTF |
| A simple text input field with TTF font. More... | |
| class | Button |
| Represents a push-button widget. More... | |
| class | CheckBox |
| Checkbox is a specific type of two-states button that can be either checked or unchecked. More... | |
| class | EditBoxDelegate |
| Editbox delgate class. More... | |
| class | EditBox |
| Class for edit box. More... | |
| class | HBox |
| HBox is just a convenient wrapper class for horizontal layout type. More... | |
| class | Helper |
| class | ImageView |
| A widget to display images. More... | |
| class | LayoutProtocol |
| Layout interface for creating LayoutManger and do actual layout. More... | |
| class | Layout |
| A container for holding a few child widgets. More... | |
| class | LayoutComponent |
| A component class used for layout. More... | |
| class | LayoutManager |
| Base class for managing layout. More... | |
| class | LinearVerticalLayoutManager |
| Linear vertical layouting class. More... | |
| class | LinearHorizontalLayoutManager |
| Linear horizontal layouting class. More... | |
| class | RelativeLayoutManager |
| Relative layouting class. More... | |
| class | Margin |
| Margin of widget's in point. More... | |
| class | LayoutParameter |
| Base class for various LayoutParameter. More... | |
| class | LayoutParameterProtocol |
| Protocol for getting a LayoutParameter. More... | |
| class | LinearLayoutParameter |
| Linear layout parameter. More... | |
| class | RelativeLayoutParameter |
| Relative layout parameter. More... | |
| class | ListView |
| ListView is a view group that displays a list of scrollable items. More... | |
| class | LoadingBar |
| Visual indicator of progress in some operation. More... | |
| class | PageView |
| Layout manager that allows the user to flip left and right through pages of data. More... | |
| class | RelativeBox |
| RelativeBox is just a convenient wrapper class for relative layout type. More... | |
| class | RichElement |
| Rich text element base class. More... | |
| class | RichElementText |
| Rich element for displaying text. More... | |
| class | RichElementImage |
| Rich element for displaying images. More... | |
| class | RichElementCustomNode |
| Rich element for displaying custom node type. More... | |
| class | RichText |
| A container for displaying various RichElements. More... | |
| class | Scale9Sprite |
| A 9-slice sprite for cocos2d-x. More... | |
| class | ScrollView |
| Layout container for a view hierarchy that can be scrolled by the user, allowing it to be larger than the physical display. More... | |
| class | Slider |
| UI Slider widget. More... | |
| class | Text |
| For creating a system font or a TTF font Text. More... | |
| class | TextAtlas |
| UI TextAtlas widget. More... | |
| class | TextBMFont |
| A widget for displaying BMFont label. More... | |
| class | UICCTextField |
| A helper class which inherit from. More... | |
| class | TextField |
| A widget which allows users to input text. More... | |
| class | VBox |
| VBox is just a convenient wrapper class for vertical layout type. More... | |
| class | VideoPlayer |
| Displays a video file. More... | |
| class | WebView |
| A View that displays web pages. More... | |
| class | Widget |
| Base class for all ui widgets. More... | |
| class | ScrollViewDelegate |
| class | TableViewDelegate |
| Sole purpose of this delegate is to single touch event in this version. More... | |
| class | TableViewDataSource |
| Data source that governs table backend data. More... | |
| class | TableView |
| UITableView support for cocos2d-x. More... | |
| class | TableViewCell |
| Abstract class for SWTableView cell node. More... | |
|
strong |
|
strong |
|
strong |
|
strong |
Widget bright style.
| Enumerator | |
|---|---|
| NONE | |
| NORMAL | |
| HIGHLIGHT | |
|
strong |
Widget bright style.
| Enumerator | |
|---|---|
| NONE | |
| NORMAL | |
| HIGHLIGHT | |
|
strong |
Widget bright style.
| Enumerator | |
|---|---|
| NONE | |
| NORMAL | |
| HIGHLIGHT | |
| enum CheckBoxEventType |
Checkbox event type, there are two type here:
CheckBox::EventType instead | Enumerator | |
|---|---|
| CHECKBOX_STATE_EVENT_SELECTED | |
| CHECKBOX_STATE_EVENT_UNSELECTED | |
| var CheckBoxEventType |
Checkbox event type, there are two type here:
CheckBox::EventType instead | Enumerator | |
|---|---|
| CHECKBOX_STATE_EVENT_SELECTED | |
| CHECKBOX_STATE_EVENT_UNSELECTED | |
| local CheckBoxEventType |
Checkbox event type, there are two type here:
CheckBox::EventType instead | Enumerator | |
|---|---|
| CHECKBOX_STATE_EVENT_SELECTED | |
| CHECKBOX_STATE_EVENT_UNSELECTED | |
|
strong |
ScrollView scroll direction type.
| Enumerator | |
|---|---|
| NONE | |
| VERTICAL | |
| HORIZONTAL | |
| BOTH | |
|
strong |
ScrollView scroll direction type.
| Enumerator | |
|---|---|
| NONE | |
| VERTICAL | |
| HORIZONTAL | |
| BOTH | |
|
strong |
ScrollView scroll direction type.
| Enumerator | |
|---|---|
| NONE | |
| VERTICAL | |
| HORIZONTAL | |
| BOTH | |
|
strong |
EventType Slider event type.
| Enumerator | |
|---|---|
| ON_PERCENTAGE_CHANGED | |
|
strong |
EventType Slider event type.
| Enumerator | |
|---|---|
| ON_PERCENTAGE_CHANGED | |
|
strong |
EventType Slider event type.
| Enumerator | |
|---|---|
| ON_PERCENTAGE_CHANGED | |
|
strong |
CheckBox event type, currently only "selected" and "unselected" event are cared.
| Enumerator | |
|---|---|
| SELECTED | |
| UNSELECTED | |
|
strong |
CheckBox event type, currently only "selected" and "unselected" event are cared.
| Enumerator | |
|---|---|
| SELECTED | |
| UNSELECTED | |
|
strong |
CheckBox event type, currently only "selected" and "unselected" event are cared.
| Enumerator | |
|---|---|
| SELECTED | |
| UNSELECTED | |
|
strong |
ListView element item click event.
| Enumerator | |
|---|---|
| ON_SELECTED_ITEM_START | |
| ON_SELECTED_ITEM_END | |
|
strong |
ListView element item click event.
| Enumerator | |
|---|---|
| ON_SELECTED_ITEM_START | |
| ON_SELECTED_ITEM_END | |
|
strong |
ListView element item click event.
| Enumerator | |
|---|---|
| ON_SELECTED_ITEM_START | |
| ON_SELECTED_ITEM_END | |
|
strong |
|
strong |
|
strong |
|
strong |
TextField event type.
| Enumerator | |
|---|---|
| ATTACH_WITH_IME | |
| DETACH_WITH_IME | |
| INSERT_TEXT | |
| DELETE_BACKWARD | |
|
strong |
TextField event type.
| Enumerator | |
|---|---|
| ATTACH_WITH_IME | |
| DETACH_WITH_IME | |
| INSERT_TEXT | |
| DELETE_BACKWARD | |
|
strong |
TextField event type.
| Enumerator | |
|---|---|
| ATTACH_WITH_IME | |
| DETACH_WITH_IME | |
| INSERT_TEXT | |
| DELETE_BACKWARD | |
|
strong |
Widget focus direction.
| Enumerator | |
|---|---|
| LEFT | |
| RIGHT | |
| UP | |
| DOWN | |
|
strong |
Widget focus direction.
| Enumerator | |
|---|---|
| LEFT | |
| RIGHT | |
| UP | |
| DOWN | |
|
strong |
Widget focus direction.
| Enumerator | |
|---|---|
| LEFT | |
| RIGHT | |
| UP | |
| DOWN | |
|
strong |
Gravity for docking elements in ListView.
| Enumerator | |
|---|---|
| LEFT | |
| RIGHT | |
| CENTER_HORIZONTAL | |
| TOP | |
| BOTTOM | |
| CENTER_VERTICAL | |
|
strong |
Gravity for docking elements in ListView.
| Enumerator | |
|---|---|
| LEFT | |
| RIGHT | |
| CENTER_HORIZONTAL | |
| TOP | |
| BOTTOM | |
| CENTER_VERTICAL | |
|
strong |
Gravity for docking elements in ListView.
| Enumerator | |
|---|---|
| LEFT | |
| RIGHT | |
| CENTER_HORIZONTAL | |
| TOP | |
| BOTTOM | |
| CENTER_VERTICAL | |
|
strong |
The EditBox::InputFlag defines how the input text is displayed/formatted.
|
strong |
The EditBox::InputFlag defines how the input text is displayed/formatted.
|
strong |
The EditBox::InputFlag defines how the input text is displayed/formatted.
|
strong |
The EditBox::InputMode defines the type of text that the user is allowed to enter.
|
strong |
The EditBox::InputMode defines the type of text that the user is allowed to enter.
|
strong |
The EditBox::InputMode defines the type of text that the user is allowed to enter.
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
| enum ListViewEventType |
ListView click item event type.
| Enumerator | |
|---|---|
| LISTVIEW_ONSELECTEDITEM_START | |
| LISTVIEW_ONSELECTEDITEM_END | |
| var ListViewEventType |
ListView click item event type.
| Enumerator | |
|---|---|
| LISTVIEW_ONSELECTEDITEM_START | |
| LISTVIEW_ONSELECTEDITEM_END | |
| local ListViewEventType |
ListView click item event type.
| Enumerator | |
|---|---|
| LISTVIEW_ONSELECTEDITEM_START | |
| LISTVIEW_ONSELECTEDITEM_END | |
| enum PageViewEventType |
PageView page turn event type.
PageView::EventType instead. | Enumerator | |
|---|---|
| PAGEVIEW_EVENT_TURNING | |
| var PageViewEventType |
PageView page turn event type.
PageView::EventType instead. | Enumerator | |
|---|---|
| PAGEVIEW_EVENT_TURNING | |
| local PageViewEventType |
PageView page turn event type.
PageView::EventType instead. | Enumerator | |
|---|---|
| PAGEVIEW_EVENT_TURNING | |
|
strong |
Widget position type for layout.
| Enumerator | |
|---|---|
| ABSOLUTE | |
| PERCENT | |
|
strong |
Widget position type for layout.
| Enumerator | |
|---|---|
| ABSOLUTE | |
| PERCENT | |
|
strong |
Widget position type for layout.
| Enumerator | |
|---|---|
| ABSOLUTE | |
| PERCENT | |
|
strong |
Relative Alignment type.
|
strong |
Relative Alignment type.
|
strong |
Relative Alignment type.
| enum ScrollviewEventType |
Scrollview scroll event type.
ScrollView::EventType instead. | var ScrollviewEventType |
Scrollview scroll event type.
ScrollView::EventType instead. | local ScrollviewEventType |
Scrollview scroll event type.
ScrollView::EventType instead.
|
strong |
Widget size type for layout.
| Enumerator | |
|---|---|
| ABSOLUTE | |
| PERCENT | |
|
strong |
Widget size type for layout.
| Enumerator | |
|---|---|
| ABSOLUTE | |
| PERCENT | |
|
strong |
Widget size type for layout.
| Enumerator | |
|---|---|
| ABSOLUTE | |
| PERCENT | |
|
strong |
|
strong |
|
strong |
| enum TextFiledEventType |
TextField event type.
TextField::EventType instead. | Enumerator | |
|---|---|
| TEXTFIELD_EVENT_ATTACH_WITH_IME | |
| TEXTFIELD_EVENT_DETACH_WITH_IME | |
| TEXTFIELD_EVENT_INSERT_TEXT | |
| TEXTFIELD_EVENT_DELETE_BACKWARD | |
| var TextFiledEventType |
TextField event type.
TextField::EventType instead. | Enumerator | |
|---|---|
| TEXTFIELD_EVENT_ATTACH_WITH_IME | |
| TEXTFIELD_EVENT_DETACH_WITH_IME | |
| TEXTFIELD_EVENT_INSERT_TEXT | |
| TEXTFIELD_EVENT_DELETE_BACKWARD | |
| local TextFiledEventType |
TextField event type.
TextField::EventType instead. | Enumerator | |
|---|---|
| TEXTFIELD_EVENT_ATTACH_WITH_IME | |
| TEXTFIELD_EVENT_DETACH_WITH_IME | |
| TEXTFIELD_EVENT_INSERT_TEXT | |
| TEXTFIELD_EVENT_DELETE_BACKWARD | |
|
strong |
|
strong |
|
strong |
|
strong |
Touch direction type.
| Enumerator | |
|---|---|
| LEFT | |
| RIGHT | |
|
strong |
Touch direction type.
| Enumerator | |
|---|---|
| LEFT | |
| RIGHT | |
|
strong |
Touch direction type.
| Enumerator | |
|---|---|
| LEFT | |
| RIGHT | |
| enum TouchEventType |
Touch event type.
Widget::TouchEventType instead | Enumerator | |
|---|---|
| TOUCH_EVENT_BEGAN | |
| TOUCH_EVENT_MOVED | |
| TOUCH_EVENT_ENDED | |
| TOUCH_EVENT_CANCELED | |
| var TouchEventType |
Touch event type.
Widget::TouchEventType instead | Enumerator | |
|---|---|
| TOUCH_EVENT_BEGAN | |
| TOUCH_EVENT_MOVED | |
| TOUCH_EVENT_ENDED | |
| TOUCH_EVENT_CANCELED | |
| local TouchEventType |
Touch event type.
Widget::TouchEventType instead | Enumerator | |
|---|---|
| TOUCH_EVENT_BEGAN | |
| TOUCH_EVENT_MOVED | |
| TOUCH_EVENT_ENDED | |
| TOUCH_EVENT_CANCELED | |
|
strong |
Touch event type.
| Enumerator | |
|---|---|
| BEGAN | |
| MOVED | |
| ENDED | |
| CANCELED | |
|
strong |
Touch event type.
| Enumerator | |
|---|---|
| BEGAN | |
| MOVED | |
| ENDED | |
| CANCELED | |
|
strong |
Touch event type.
| Enumerator | |
|---|---|
| BEGAN | |
| MOVED | |
| ENDED | |
| CANCELED | |
|
strong |
Type Text type.
| Enumerator | |
|---|---|
| SYSTEM | |
| TTF | |
|
strong |
Type Text type.
| Enumerator | |
|---|---|
| SYSTEM | |
| TTF | |
|
strong |
Type Text type.
| Enumerator | |
|---|---|
| SYSTEM | |
| TTF | |
|
strong |
Layout type, default is ABSOLUTE.
| Enumerator | |
|---|---|
| ABSOLUTE | |
| VERTICAL | |
| HORIZONTAL | |
| RELATIVE | |
|
strong |
Layout type, default is ABSOLUTE.
| Enumerator | |
|---|---|
| ABSOLUTE | |
| VERTICAL | |
| HORIZONTAL | |
| RELATIVE | |
|
strong |
Layout type, default is ABSOLUTE.
| Enumerator | |
|---|---|
| ABSOLUTE | |
| VERTICAL | |
| HORIZONTAL | |
| RELATIVE | |
|
strong |
Layout parameter type.
There are mainly two types:
| Enumerator | |
|---|---|
| NONE | |
| LINEAR | |
| RELATIVE | |
|
strong |
Layout parameter type.
There are mainly two types:
| Enumerator | |
|---|---|
| NONE | |
| LINEAR | |
| RELATIVE | |
|
strong |
Layout parameter type.
There are mainly two types:
| Enumerator | |
|---|---|
| NONE | |
| LINEAR | |
| RELATIVE | |