Developers Manual > Cocos Studio > UI Editor > UI Widget > UI Widget UICheckBox

UI Widget UICheckBox

Icon

Description

The UIScrollView subclass implements a check box in the touch screen. The UIScrollView subclass is a subclass of UIWidget.
The widget provides methods to set the different states of the background image and checks the selected tag of the state image and other attributes. By using the set method, you can specify a different appearance for the each checkbox state.

3x3 grids

For more information, see 3x3 grids.

Common properties

For more information, see Common properties.

Feature

Selected/Unselect

Sets the default state, which is selected and activated, as depicted by a checked check box.

Background image

Configures a default state check box background image and controls the default display.

Pressed-down background image

Configures an activated or pressed-down state check box background image and controls the pressed display.

Disabled background image

Configures a disabled state check box background image and controls the disabled display.

Unselect tag image

Temporarily not used.

Select tag image

Configures a selected state check box background image and controls the selected display.

3-3-3-img-01.png (4.9 kB) hanrea@qq.com, 2013-12-03 06:33

3-3-3-img-02.png (12.2 kB) hanrea@qq.com, 2013-12-03 06:33

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.