Skip to content
9miao edited this page Sep 18, 2014 · 3 revisions

CABarItem

Class Description

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.

Base Class

CAObejct

Attribute

Access modifier

Attribute name

Description

Protected

Title

barItem title

Protected

Tag

barItem tag

Private

Image

barItem image

Protected

m_bTouchEnabled

touchable or not

Attribute description

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{}.

Clone this wiki locally