Home
last modified time | relevance | path

Searched refs:checkbox (Results 1 – 25 of 91) sorted by relevance

1234

/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/
H A Dinput_tdd_test.cpp57 EXPECT_TRUE((checkbox != nullptr) && (checkbox->GetState() == UICheckBox::UNSELECTED));
67 EXPECT_TRUE((checkbox != nullptr) && (checkbox->GetState() == UICheckBox::SELECTED));
76 EXPECT_TRUE((checkbox != nullptr) && (checkbox->GetState() == UICheckBox::UNSELECTED));
83 EXPECT_TRUE((checkbox != nullptr) && (checkbox->GetState() == UICheckBox::UNSELECTED));
275 EXPECT_TRUE((checkbox != nullptr) && (checkbox->GetState() == UICheckBox::SELECTED));
286 EXPECT_TRUE((checkbox != nullptr) && (checkbox->GetState() == UICheckBox::UNSELECTED));
293 EXPECT_TRUE((checkbox != nullptr) && (checkbox->GetState() == UICheckBox::UNSELECTED));
523 EXPECT_TRUE((checkbox != nullptr) && (checkbox->GetWidth() == widthValue));
531 EXPECT_TRUE((checkbox != nullptr) && (checkbox->GetHeight() == heightValue));
538 EXPECT_TRUE((checkbox != nullptr) && (!strcmp("checkbox1", checkbox->GetViewId())));
[all …]
H A Dinput_event_tdd_test.cpp1012 UICheckBox *checkbox = reinterpret_cast<UICheckBox *>(GetComponent(page, "checkbox")); variable
1013 EXPECT_TRUE((checkbox != nullptr) && (checkbox->GetState() == UICheckBox::UNSELECTED));
1025 …EXPECT_TRUE((checkbox != nullptr) && (checkbox->GetState() == UICheckBox::UICheckBoxState::UNSELEC…
1055 UICheckBox *checkbox = reinterpret_cast<UICheckBox *>(GetComponent(page, "checkbox")); variable
1056 …EXPECT_TRUE((checkbox != nullptr) && (checkbox->GetState() == UICheckBox::UICheckBoxState::SELECTE…
1073 …EXPECT_TRUE((checkbox != nullptr) && (checkbox->GetState() == UICheckBox::UICheckBoxState::SELECTE…
1106 UICheckBox *checkbox = reinterpret_cast<UICheckBox *>(GetComponent(page, "checkbox")); variable
1107 …EXPECT_TRUE((checkbox != nullptr) && (checkbox->GetState() == UICheckBox::UICheckBoxState::SELECTE…
1116 …EXPECT_TRUE((checkbox != nullptr) && (checkbox->GetState() == UICheckBox::UICheckBoxState::UNSELEC…
1245 EXPECT_TRUE((checkbox != nullptr) && (!checkbox->IsVisible()));
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_component/src/
H A DArkCheckbox.ts196 getUINativeModule().checkbox.resetCheckboxShape(node);
214 getUINativeModule().checkbox.resetCheckboxSize(node);
233 getUINativeModule().checkbox.resetCheckboxPadding(node);
255 getUINativeModule().checkbox.resetMark(node);
276 getUINativeModule().checkbox.resetSelect(node);
278 getUINativeModule().checkbox.setSelect(node, this.value);
294 getUINativeModule().checkbox.resetHeight(node);
312 getUINativeModule().checkbox.resetWidth(node);
314 getUINativeModule().checkbox.setWidth(node, this.value);
330 getUINativeModule().checkbox.resetSelectedColor(node);
[all …]
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-js-lite/
H A Djs-lite-components-basic-input.md19 …input组件类型,可选值为button,checkbox,radio。<br/><br/>button,checkbox,radio不支持动态修改。可选值定义如下:<br/>-&nbsp;but…
20 | checked | boolean | false | 否 | 当前组件是否选中,仅type为checkbox和radio生效。 |
31 - 当input类型为checkbox、radio时,支持如下事件:
34 …| change | {&nbsp;checked:true&nbsp;\|&nbsp;false&nbsp;} | checkbox多选框或radio单选框的checked状态发生变化时触发该事…
96 2. type为checkbox
101 <input onchange="checkboxOnChange" checked="true" type="checkbox"></input>
136 ![input-type-checkbox](figures/input-type-checkbox.gif)
/ohos5.0/docs/zh-cn/design/ux-design/
H A Dmultimodal-tick-box.md6 ![checkbox](figures/checkbox.png)
25 …harmony/docs/blob/master/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-checkbox.md)。
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/checkable/
H A Drender_checkbox.cpp39 const auto& checkbox = AceType::DynamicCast<CheckboxComponent>(component); in Update() local
40 if (!checkbox) { in Update()
45 component_ = checkbox; in Update()
60checkbox->SetGroupValueUpdateHandler([weak = AceType::WeakClaim(this)](CheckableStatus checked) { in Update()
66 checkbox->SetItemValueUpdateHandler([weak = AceType::WeakClaim(this)](bool checked) { in Update()
74 checkbox->GetOnGroupChange(), context_); in Update()
94 if (checkbox->GetUpdateType() == UpdateType::ALL) { in Update()
95 checked_ = checkbox->GetValue(); in Update()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-js/
H A Djs-components-basic-input.md24checkbox,radio。<br/>其中text,email,date,time,number,password这六种类型之间支持动态切换修改。<br/>button,checkbox,rad…
25 … | boolean | false | 否 | 当前组件是否选中,仅type为checkbox和radio生效。 |
31 …g | - | 否 | 在文本输入前的图标资源路径,该图标不支持点击事件(button,checkbox和radio不生效),图标格式为jp…
78 - 当input类型为checkbox、radio时,支持如下事件:
82 …| change | {<br>&nbsp;checked:true&nbsp;\|&nbsp;false&nbsp;<br>} | checkbox多选框或radio单选框的checked状态发…
175 3. type为checkbox
179 <input onchange="checkboxOnChange" checked="true" type="checkbox"></input>
H A Djs-components-basic-label.md75 <label class="label" target="checkboxId">checkbox</label>
76 <input class="input" id="checkboxId" type="checkbox"></input>
/ohos5.0/docs/en/design/ux-design/
H A Dmultimodal-tick-box.md6 ![checkbox](figures/checkbox.png)
25 …tick box, see [Checkbox](../../application-dev/reference/arkui-ts/ts-basic-components-checkbox.md).
/ohos5.0/docs/zh-cn/third-party-cases/
H A Ddelete-checkboxgroup-items.md55 ![checkbox-before-improve](figures/checkbox-before-improve.PNG)
116 ![checkbox-after-improve](figures/checkbox-after-improve.PNG)
122 // flexNameList存储checkbox选项的文本内容;使用@State修饰后,flexNameList发生变化,UI会同步刷新
352 - [Checkbox](../application-dev/reference/apis-arkui/arkui-ts/ts-basic-components-checkbox.md)
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_4.1.3.2/
H A Dchangelogs-default-focus.md81 checkbox组件。
91 ![](figures/checkbox.png)
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-js-lite/
H A Djs-lite-components-basic-input.md19 …s are as follows:<br>- **button**: a button that can be clicked.<br>- **checkbox**: a check box.<b…
20 …onent is selected. This attribute is valid only when **type** is set to **checkbox** or **radio**.|
31 - When **type** is set to **checkbox** or **radio**, the following events are supported.
34 …| change | { checked:true \| false } | Triggered when the checked status of the **checkbox** or **…
101 <input onchange="checkboxOnChange" checked="true" type="checkbox"></input>
136 ![input-type-checkbox](figures/input-type-checkbox.gif)
/ohos5.0/docs/en/application-dev/ui/
H A Dui-js-components-input.md4 …ctive way to receive user input of various types, including **date**, **checkbox**, and **button**…
51 <input onchange="checkboxOnChange" checked="true" type="checkbox"></input>
107 > - For wearables, the input type can only be **button**, **radio**, or **checkbox**.
109 > - The settings of **checked** take effect only when the input type is set to **checkbox** or **ra…
269 <input class="flex" type="checkbox" id="checkbox1" style="width: 100px;height: 100px;" />
H A Dui-js-components-form.md141 …omponents-basic-input.md) components, set their **type** attribute to **checkbox** and **radio**, …
154 <input id="checkbox1" type="checkbox" name="checkbox1"></input>
156 <input id="checkbox2" type="checkbox" name="checkbox2"></input>
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-js/
H A Djs-components-basic-input.md25checkbox**, and **radio**.<br>The **text**, **email**, **date**, **time**, **number**, and **passw…
26 …ent is selected. This attribute is valid only when **type** is set to **checkbox** or **radio**. …
32 …icon does not support click events and is unavailable for **button**, **checkbox**, and **radio** …
79 - When **type** is set to **checkbox** or **radio**, the following events are supported.
83 …hecked:true \| false <br>} | Triggered when the checked status of the **checkbox** or **radio** bu…
179 <input onchange="checkboxOnChange" checked="true" type="checkbox"></input>
/ohos5.0/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_manual_test/src/main/js/default/pages/input/CheckboxImage31/
H A Dindex.css21 .checkbox{
29 .checkbox:checked{
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dohos-arkui-advanced-Dialog.md48 …tr](ts-types.md#resourcestr) | 否 | - | checkbox的提示内容。<br/>**原子化服务…
49 … | 否 | \@Prop | value为true时,表示checkbox已选中,value为false时,表…
51 …boolean> | 否 | - | checkbox的选中状态改变事件。<br/>**原…
93 …tr](ts-types.md#resourcestr) | 否 | - | checkbox的提示内容。<br/>**原子化服务…
94 … | 否 | \@Prop | value为true时,表示checkbox已选中,value为false时,表…
95 …boolean> | 否 | - | checkbox的选中状态改变事件。<br/>**原…
253 console.info('Callback when the checkbox is clicked')
395 console.info('Callback when the checkbox is clicked')
H A Dts-basic-components-checkboxgroup.md53 设置是否全选。若同组的[Checkbox](ts-basic-components-checkbox.md)显式设置了select属性,则Checkbox的优先级高。
206 console.info("checkbox group content" + JSON.stringify(itemName))
268 console.info("checkbox group content" + JSON.stringify(itemName))
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_button/
H A Dui_test_button.cpp311 UICheckBox* checkbox = new UICheckBox(); in UIKitCheckBoxTest002() local
312 checkbox->SetPosition(30, 430); // 30: x-coordinate, 430: y-coordinate in UIKitCheckBoxTest002()
313 checkbox->SetWidth(130); // 130: width in UIKitCheckBoxTest002()
314 checkbox->SetHeight(130); // 130: height in UIKitCheckBoxTest002()
315 checkbox->SetViewId(UI_TEST_CHECKBOX_SETIMAGE_1); in UIKitCheckBoxTest002()
316 checkbox->SetImages(BLUE_IMAGE_PATH, YELLOW_IMAGE_PATH); in UIKitCheckBoxTest002()
333 container_->Add(checkbox); in UIKitCheckBoxTest002()
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/examples/showcase/src/main/js/default/pages/component/input/checkbox/event/
H A Devent.css15 .checkbox {
113 .change-checkbox {
/ohos5.0/foundation/arkui/advanced_ui_component/doc/
H A Dts-composite-components-arkdialog.md48 …v4.0/zh-cn/application-dev/reference/arkui-ts/ts-types.md/#resourcestr) | 否 | - | checkbox的提示内容。 |
49 | isChecked | boolean | 否 | \@Prop | value为true时,表示checkbox已选中,value为false时,表示未选中。<br/>默认值:false。 |
93 …v4.0/zh-cn/application-dev/reference/arkui-ts/ts-types.md/#resourcestr) | 否 | - | checkbox的提示内容。 |
94 | isChecked | boolean | 否 | \@Prop | value为true时,表示checkbox已选中,value为false时,表示未选中。<br/>默认值:false。 |
/ohos5.0/docs/zh-cn/application-dev/ui/
H A Dui-js-components-form.md142 创建[Input](../reference/apis-arkui/arkui-js/js-components-basic-input.md)组件,分别设置type属性为checkbox(多选框)…
155 <input id="checkbox1" type="checkbox" name="checkbox1"></input>
157 <input id="checkbox2" type="checkbox" name="checkbox2"></input>
H A Dui-js-components-input.md50 <input onchange="checkboxOnChange" checked="true" type="checkbox"></input>
107 > 仅当input类型为checkbox和radio时,当前组件选中的属性是checked才生效,默认值为false。
266 <input class="flex" type="checkbox" id="checkbox1" style="width: 100px;height: 100px;" />
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dcheckboxgroup_model_impl.cpp84 …auto checkbox = AceType::DynamicCast<CheckboxComponent>(ViewStackProcessor::GetInstance()->GetMain… in SetOnChange() local
85 checkbox->SetOnGroupChange(EventMarker(std::move(onChange))); in SetOnChange()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_input.cpp498 auto checkbox = DynamicCast<CheckboxComponent>(inputChild_); in OnReset() local
499 if (checkbox) { in OnReset()
500 checkbox->SetValue(IsOriginChecked()); in OnReset()
525 auto checkbox = DynamicCast<CheckboxComponent>(inputChild_); in SetFormValueListener() local
526 if (checkbox) { in SetFormValueListener()
527 auto& changeEvent = checkbox->GetChangeEvent(); in SetFormValueListener()

1234