-
Notifications
You must be signed in to change notification settings - Fork 421
CABarItem
9miao edited this page Sep 18, 2014
·
3 revisions
CABarItem refers to a bar added on screen, and it comes with title, image and others properties that is similar to button, but cannot be directly used. Its child class is responsible for its specific implementation mode.
CAObejct
Access modifier |
Attribute name |
Description |
Protected |
Title |
barItem title |
Protected |
Tag |
barItem tag |
Private |
Image |
barItem image |
Protected |
m_bTouchEnabled |
touchable or not |
Title
Type: string
Description: display title, default value is blank, get/set{}.
Image
Type: CAImage*
Description: read-only property, default value is blank, get/set{}.
Tag
Type: int
Description: set tag value, default value is 0, get/set{}.
TouchEnabled
Type: bool
Description: set flag bit of touch status, default value is true, is/set{}.