From 871f1e65880a7eef00e1c0048e492841849bab6a Mon Sep 17 00:00:00 2001 From: wangxiuxiu96 Date: Thu, 28 Aug 2025 19:01:23 +0800 Subject: [PATCH] =?UTF-8?q?=20=E8=BE=93=E5=85=A5=E6=A1=86showCounter?= =?UTF-8?q?=E5=AD=97=E7=AC=A6=E8=AE=A1=E6=95=B0=E6=94=AF=E6=8C=81=E9=A2=9C?= =?UTF-8?q?=E8=89=B2=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wangxiuxiu96 Change-Id: I74be93a3f95801ad23aa5bad7bdec527839f13c0 --- arkui/ace_engine/native/native_node.h | 830 +++++++++++++------------- 1 file changed, 418 insertions(+), 412 deletions(-) diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h index ce5b57eb466..ca5dd24b274 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -176,7 +176,8 @@ typedef struct { * * @since 12 */ -typedef enum { +typedef enum +{ /** * @brief Defines the width attribute, which can be set, reset, and obtained as required through APIs. * @@ -1044,8 +1045,8 @@ typedef enum { * .value[0].u32 fill color, in 0xARGB format. \n * .value[1].u32: stroke color, in 0xARGB format. \n * .value[2].f32: stroke width, in vp. \n - * .value[3].i32: mask type. The parameter type is {@link ArkUI_MaskType}. - * The value is ARKUI_MASK_TYPE_ELLIPSE for the ellipse shape.\n + * .value[3].i32: mask type. The parameter type is {@link ArkUI_MaskType}. + * The value is ARKUI_MASK_TYPE_ELLIPSE for the ellipse shape.\n * .value[4].f32: width of the ellipse.\n * .value[5].f32: height of the ellipse.\n * 4. Path:\n @@ -1385,7 +1386,7 @@ typedef enum { * @brief Defines the focused state. This attribute can be set and obtained as required through APIs. * @note Setting the parameter to 0 shifts focus from the currently focused component on the current level * of the page to the root container. - * + * * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n * .value[0].i32: The parameter type is 1 or 0. * \n @@ -1511,44 +1512,44 @@ typedef enum { NODE_MARGIN_PERCENT, /** - * @brief The implicit shared element transition within the component supports attribute setting, - * attribute reset, and attribute acquisition interfaces. - * - * Attribute setting method parameter {@link ArkUI_AttributeItem} format: \n - * .value[0]?.i32: The parameter type is 1 or 0. 2 components that share element bindings, - * Whether to continue to participate in the shared element animation when the appearance element is not deleted, - * the default is false, and the original position will remain unchanged if not involved. \n - * .string is used to set the binding relationship. Set the id to "" to - * clear the binding relationship to avoid participating in sharing behavior. \n - * The id can be changed and the binding relationship re-established. - * The same ID can only be bound to two components and they are in/out roles of different types. - * Multiple components cannot be bound to the same id. \n - *\n - * Attribute acquisition method return value {@link ArkUI_AttributeItem} format: \n - * .value[0].i32: The parameter type is 1 or 0. 2 components that share element bindings, - * Whether to continue to participate in the shared element animation when the appearance element is not deleted, - * the default is not false, if not involved, the original position will remain unchanged. \n - * .string is used to set the binding relationship. Set the id to "" to - * clear the binding relationship to avoid participating in sharing behavior. \n - * The id can be changed and the binding relationship re-established. - * The same ID can only be bound to two components and they are in/out roles of different types. - * Multiple components cannot be bound to the same id. \n - */ + * @brief The implicit shared element transition within the component supports attribute setting, + * attribute reset, and attribute acquisition interfaces. + * + * Attribute setting method parameter {@link ArkUI_AttributeItem} format: \n + * .value[0]?.i32: The parameter type is 1 or 0. 2 components that share element bindings, + * Whether to continue to participate in the shared element animation when the appearance element is not deleted, + * the default is false, and the original position will remain unchanged if not involved. \n + * .string is used to set the binding relationship. Set the id to "" to + * clear the binding relationship to avoid participating in sharing behavior. \n + * The id can be changed and the binding relationship re-established. + * The same ID can only be bound to two components and they are in/out roles of different types. + * Multiple components cannot be bound to the same id. \n + *\n + * Attribute acquisition method return value {@link ArkUI_AttributeItem} format: \n + * .value[0].i32: The parameter type is 1 or 0. 2 components that share element bindings, + * Whether to continue to participate in the shared element animation when the appearance element is not deleted, + * the default is not false, if not involved, the original position will remain unchanged. \n + * .string is used to set the binding relationship. Set the id to "" to + * clear the binding relationship to avoid participating in sharing behavior. \n + * The id can be changed and the binding relationship re-established. + * The same ID can only be bound to two components and they are in/out roles of different types. + * Multiple components cannot be bound to the same id. \n + */ NODE_GEOMETRY_TRANSITION, /** - * @brief specifies the parameters of the chain formed by this component as the chain head, - * and supports attribute setting, attribute reset and attribute acquisition interfaces. - * - * Only takes effect when the parent container is RelativeContainer - * - * Attribute setting method parameter {@link ArkUI_AttributeItem} format: \n - * .value[0].i32: The direction of the chain. Enum {@link ArkUI_Axis}. \n - * .value[1].i32: Chain style. Enum {@link ArkUI_RelativeLayoutChainStyle}. \n - *\n - * .value[0].i32: The direction of the chain. Enum {@link ArkUI_Axis}. \n - * .value[1].i32: Chain style. Enum {@link ArkUI_RelativeLayoutChainStyle}. \n - */ + * @brief specifies the parameters of the chain formed by this component as the chain head, + * and supports attribute setting, attribute reset and attribute acquisition interfaces. + * + * Only takes effect when the parent container is RelativeContainer + * + * Attribute setting method parameter {@link ArkUI_AttributeItem} format: \n + * .value[0].i32: The direction of the chain. Enum {@link ArkUI_Axis}. \n + * .value[1].i32: Chain style. Enum {@link ArkUI_RelativeLayoutChainStyle}. \n + *\n + * .value[0].i32: The direction of the chain. Enum {@link ArkUI_Axis}. \n + * .value[1].i32: Chain style. Enum {@link ArkUI_RelativeLayoutChainStyle}. \n + */ NODE_RELATIVE_LAYOUT_CHAIN_MODE, /** @@ -1870,7 +1871,7 @@ typedef enum { * @since 14 */ NODE_TAB_STOP = 98, - + /** * @brief Defines the backdrop blur attribute, which can be set, reset, and obtained as required through APIs. * @@ -2017,7 +2018,7 @@ typedef enum { * .value[0].u32: font color, in 0xARGB format. For example, 0xFFFF0000 indicates red.\n * \n * Format of the return value {@link ArkUI_AttributeItem}:\n - * .value[0].u32: font color value, in 0xARGB format.\n + * .value[0].u32: font color value, in 0xARGB format.\n * */ NODE_FONT_COLOR, @@ -3071,8 +3072,8 @@ typedef enum { * The value true means to enable the input method, and false means the opposite.\n \n * \n * Format of the return value {@link ArkUI_AttributeItem}:\n - * .value[0].i32: The value 1 means to enable the input method when the component obtains focus, - * and 0 means the opposite. \n + * .value[0].i32: The value 1 means to enable the input method when the component obtains focus, + * and 0 means the opposite. \n * */ NODE_TEXT_INPUT_ENABLE_KEYBOARD_ON_FOCUS, @@ -3162,139 +3163,139 @@ typedef enum { */ NODE_TEXT_INPUT_TEXT_SELECTION, /** - * @brief Sets the color of the text underline when it is enabled. - * - * The default underline color configured for the theme is '0x33182431'. - * - * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n - * .value[0].u32: color of the underline applied to the text being typed in. - * The value is in 0xARGB format. \n - * .value[1].u32: color of the underline applied to the text in the normal state. - * The value is in 0xARGB format. \n - * .value[2].u32: color of the underline applied to the text when an error is detected. - * The value is in 0xARGB format. \n - * .value[3].u32: color of the underline applied to the text when it is disabled. - * The value is in 0xARGB format. \n - * \n - * Format of the return value {@link ArkUI_AttributeItem}:\n - * .value[0].u32: color of the underline applied to the text being typed in. The value is in 0xARGB format. \n - * .value[1].u32: color of the underline applied to the text in the normal state. The value is in 0xARGB format. \n - * .value[2].u32: color of the underline applied to the text when an error is detected. - * The value is in 0xARGB format. \n - * .value[3].u32: color of the underline applied to the text when it is disabled. The value is in 0xARGB format. \n - * - */ + * @brief Sets the color of the text underline when it is enabled. + * + * The default underline color configured for the theme is '0x33182431'. + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n + * .value[0].u32: color of the underline applied to the text being typed in. + * The value is in 0xARGB format. \n + * .value[1].u32: color of the underline applied to the text in the normal state. + * The value is in 0xARGB format. \n + * .value[2].u32: color of the underline applied to the text when an error is detected. + * The value is in 0xARGB format. \n + * .value[3].u32: color of the underline applied to the text when it is disabled. + * The value is in 0xARGB format. \n + * \n + * Format of the return value {@link ArkUI_AttributeItem}:\n + * .value[0].u32: color of the underline applied to the text being typed in. The value is in 0xARGB format. \n + * .value[1].u32: color of the underline applied to the text in the normal state. The value is in 0xARGB format. \n + * .value[2].u32: color of the underline applied to the text when an error is detected. + * The value is in 0xARGB format. \n + * .value[3].u32: color of the underline applied to the text when it is disabled. The value is in 0xARGB format. \n + * + */ NODE_TEXT_INPUT_UNDERLINE_COLOR, /** - * @brief Sets whether to enable autofill. - * - * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n - * .value[0].i32: whether to enable autofill. The default value is true. \n - * \n - * Format of the return value {@link ArkUI_AttributeItem}:\n - * .value[0].i32: whether to enable autofill. \n - * - */ + * @brief Sets whether to enable autofill. + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n + * .value[0].i32: whether to enable autofill. The default value is true. \n + * \n + * Format of the return value {@link ArkUI_AttributeItem}:\n + * .value[0].i32: whether to enable autofill. \n + * + */ NODE_TEXT_INPUT_ENABLE_AUTO_FILL, /** - * @brief Sets the autofill type. - * - * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n - * .value[0].i32: autofill type. The parameter type is {@link ArkUI_TextInputContentType}. \n - * \n - * Format of the return value {@link ArkUI_AttributeItem}:\n - * .value[0].i32: autofill type. The parameter type is {@link ArkUI_TextInputContentType}. \n - * - */ + * @brief Sets the autofill type. + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n + * .value[0].i32: autofill type. The parameter type is {@link ArkUI_TextInputContentType}. \n + * \n + * Format of the return value {@link ArkUI_AttributeItem}:\n + * .value[0].i32: autofill type. The parameter type is {@link ArkUI_TextInputContentType}. \n + * + */ NODE_TEXT_INPUT_CONTENT_TYPE, /** - * @brief Defines the rules for generating passwords. When autofill is used, these rules are transparently - * transmitted to Password Vault for generating a new password. - * - * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n - * .string: rules for generating passwords. \n - * \n - * Format of the return value {@link ArkUI_AttributeItem}:\n - * .string: rules for generating passwords. \n - * - */ + * @brief Defines the rules for generating passwords. When autofill is used, these rules are transparently + * transmitted to Password Vault for generating a new password. + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n + * .string: rules for generating passwords. \n + * \n + * Format of the return value {@link ArkUI_AttributeItem}:\n + * .string: rules for generating passwords. \n + * + */ NODE_TEXT_INPUT_PASSWORD_RULES, /** - * @brief Sets whether to select all text in the initial state. The inline mode is not supported. - * - * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n - * .value[0].i32: whether to select all text in the initial state. The default value is b>false. \n - * \n - * Format of the return value {@link ArkUI_AttributeItem}:\n - * .value[0].i32: whether to select all text in the initial state. \n - * - */ + * @brief Sets whether to select all text in the initial state. The inline mode is not supported. + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n + * .value[0].i32: whether to select all text in the initial state. The default value is b>false. \n + * \n + * Format of the return value {@link ArkUI_AttributeItem}:\n + * .value[0].i32: whether to select all text in the initial state. \n + * + */ NODE_TEXT_INPUT_SELECT_ALL, /** - * @brief Sets the regular expression for input filtering. - * Only inputs that comply with the regular expression can be displayed. - * Other inputs are filtered out. The specified regular expression can match single characters, - * but not strings. - * - * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n - * .string: regular expression. \n - * \n - * Format of the return value {@link ArkUI_AttributeItem}:\n - * .string: regular expression. \n - * - */ + * @brief Sets the regular expression for input filtering. + * Only inputs that comply with the regular expression can be displayed. + * Other inputs are filtered out. The specified regular expression can match single characters, + * but not strings. + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n + * .string: regular expression. \n + * \n + * Format of the return value {@link ArkUI_AttributeItem}:\n + * .string: regular expression. \n + * + */ NODE_TEXT_INPUT_INPUT_FILTER, /** - * @brief Sets the text box to the default style or inline input style. - * - * For the inline input style, only InputType.Normal is supported. - * - * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n - * .value[0].i32: text input style. The parameter type is {@link ArkUI_TextInputStyle}. \n - * \n - * Format of the return value {@link ArkUI_AttributeItem}:\n - * .value[0].i32: text input style. The parameter type is {@link ArkUI_TextInputStyle}. \n - * - */ + * @brief Sets the text box to the default style or inline input style. + * + * For the inline input style, only InputType.Normal is supported. + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n + * .value[0].i32: text input style. The parameter type is {@link ArkUI_TextInputStyle}. \n + * \n + * Format of the return value {@link ArkUI_AttributeItem}:\n + * .value[0].i32: text input style. The parameter type is {@link ArkUI_TextInputStyle}. \n + * + */ NODE_TEXT_INPUT_STYLE, /** - * @brief Sets or obtains the caret position. - * - * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n - * In the case of setting the caret position: - * .value[0].i32: character count from the beginning of a string to the caret position. \n - * - * Format of the return value {@link ArkUI_AttributeItem}:\n - * In the case of obtaining the caret position: If this API is called when the caret position is updated in the - * current frame, it will not take effect. - * .value[0].i32: index of the caret position. \n - * .value[1].f32: X coordinate of the caret relative to the text box. \n - * .value[2].f32: Y coordinate of the caret relative to the text box. \n - */ + * @brief Sets or obtains the caret position. + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n + * In the case of setting the caret position: + * .value[0].i32: character count from the beginning of a string to the caret position. \n + * + * Format of the return value {@link ArkUI_AttributeItem}:\n + * In the case of obtaining the caret position: If this API is called when the caret position is updated in the + * current frame, it will not take effect. + * .value[0].i32: index of the caret position. \n + * .value[1].f32: X coordinate of the caret relative to the text box. \n + * .value[2].f32: Y coordinate of the caret relative to the text box. \n + */ NODE_TEXT_INPUT_CARET_OFFSET, /** - * @brief Obtains the position of the edited text area relative to the component and its size. - * - * Format of the return value {@link ArkUI_AttributeItem}:\n - * .value[0].f32: horizontal coordinate. \n - * .value[1].f32: vertical coordinate. \n - * .value[2].f32: content width. \n - * .value[3].f32: content height. \n - * - */ + * @brief Obtains the position of the edited text area relative to the component and its size. + * + * Format of the return value {@link ArkUI_AttributeItem}:\n + * .value[0].f32: horizontal coordinate. \n + * .value[1].f32: vertical coordinate. \n + * .value[2].f32: content width. \n + * .value[3].f32: content height. \n + * + */ NODE_TEXT_INPUT_CONTENT_RECT, /** - * @brief Obtains the number of lines of the edited text. - * - * Format of the return value {@link ArkUI_AttributeItem}:\n - * .value[0].i32: number of lines of the edited text. \n - * - */ + * @brief Obtains the number of lines of the edited text. + * + * Format of the return value {@link ArkUI_AttributeItem}:\n + * .value[0].i32: number of lines of the edited text. \n + * + */ NODE_TEXT_INPUT_CONTENT_LINE_COUNT, /** * @brief Sets whether to hide the text selection menu when the text box is long-pressed, double-click, or * right-clicked. This attribute can be set, reset, and obtained as required through APIs. - * + * * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n * .value[0].i32: whether to hide the text selection menu when the text box is long-pressed, double-click, or * right-clicked. The default value is false. \n @@ -3407,16 +3408,16 @@ typedef enum { NODE_TEXT_INPUT_HALF_LEADING = 7034, /** - * @brief Set the keyboard style of textInput - * - * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n - * .value[0].i32:keyboard style,the parameter type is {@link ArkUI_KeyboardAppearanceType}。\n - * \n - * Format of the return value {@link ArkUI_AttributeItem}:\n - * .value[0].i32:keyboard style,the parameter type is {@link ArkUI_KeyboardAppearanceType}。\n - * - * @since 15 - */ + * @brief Set the keyboard style of textInput + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n + * .value[0].i32:keyboard style,the parameter type is {@link ArkUI_KeyboardAppearanceType}。\n + * \n + * Format of the return value {@link ArkUI_AttributeItem}:\n + * .value[0].i32:keyboard style,the parameter type is {@link ArkUI_KeyboardAppearanceType}。\n + * + * @since 15 + */ NODE_TEXT_INPUT_KEYBOARD_APPEARANCE = 7035, /** @@ -3430,8 +3431,8 @@ typedef enum { * * @since 20 */ - NODE_TEXT_INPUT_ENABLE_FILL_ANIMATION = 7036, - + NODE_TEXT_INPUT_ENABLE_FILL_ANIMATION = 7036, + /** * @brief Set the line height of the input node. * This attribute can be set, reset, and obtained as required through APIs. @@ -3559,6 +3560,10 @@ typedef enum { * when the number of characters that have been entered is greater than the maximum number of characters multiplied * by the threshold percentage value. The value range is 1 to 100. If the value is a decimal, it is rounded down. \n * .value[2]?.i32: whether to highlight the border when the number of entered characters reaches the maximum. \n + * * value[3].u32: Set the text color of the character counter.The corresponding color is displayed when the + * color is set and the default value is displayed when the color is not set \n + * .value[4].u32: Sets the text color of the character counter when it overflows.The corresponding color is + * displayed when the color is set and the default value is displayed when the color is not set \n * \n * Format of the return value {@link ArkUI_AttributeItem}:\n * .value[0].i32: whether to show a character counter. \n @@ -3567,7 +3572,8 @@ typedef enum { * by the threshold percentage value. The value range is 1 to 100. \n * .value[2].i32: whether to highlight the border when the number of entered characters reaches the maximum. * The default value is true. \n - * + * .value[3].u32: Set the text color of the character counter. \n + * .value[4].u32: Sets the text color of the character counter when it overflows. \n */ NODE_TEXT_AREA_SHOW_COUNTER, /** @@ -3586,7 +3592,7 @@ typedef enum { NODE_TEXT_AREA_SELECTION_MENU_HIDDEN, /** * @brief Sets whether the multi-line text box loses focus after the Enter key is pressed to submit information. - * + * * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n * .value[0].i32: whether the text box loses focus. \n * \n @@ -3663,7 +3669,7 @@ typedef enum { NODE_TEXT_AREA_CARET_OFFSET, /** * @brief Obtains the position of the edited text area relative to the component and its size. - * + * * Format of the return value {@link ArkUI_AttributeItem}:\n * .value[0].f32: horizontal coordinate. \n * .value[1].f32: vertical coordinate. \n @@ -3674,7 +3680,7 @@ typedef enum { NODE_TEXT_AREA_CONTENT_RECT, /** * @brief Obtains the number of lines of the edited text. - * + * * Format of the return value {@link ArkUI_AttributeItem}:\n * .value[0].i32: number of lines of the edited text. \n * @@ -3782,16 +3788,16 @@ typedef enum { NODE_TEXT_AREA_HALF_LEADING = 8025, /** - * @brief Set the keyboard style of textArea - * - * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n - * .value[0].i32:keyboard style,the parameter type is {@link ArkUI_KeyboardAppearanceType}。\n - * \n - * Format of the return value {@link ArkUI_AttributeItem}:\n - * .value[0].i32:keyboard style,the parameter type is {@link ArkUI_KeyboardAppearanceType}。\n - * - * @since 15 - */ + * @brief Set the keyboard style of textArea + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n + * .value[0].i32:keyboard style,the parameter type is {@link ArkUI_KeyboardAppearanceType}。\n + * \n + * Format of the return value {@link ArkUI_AttributeItem}:\n + * .value[0].i32:keyboard style,the parameter type is {@link ArkUI_KeyboardAppearanceType}。\n + * + * @since 15 + */ NODE_TEXT_AREA_KEYBOARD_APPEARANCE = 8026, /** @@ -3820,20 +3826,20 @@ typedef enum { */ NODE_TEXT_AREA_LINE_SPACING = 8028, - /** - * @brief Set the min lines of the node. This attribute can be set, reset, and obtained as required through APIs. - * - * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n - * .value[0].i32: min lines count. - * \n - * Format of the return value {@link ArkUI_AttributeItem}: \n - * .value[0].i32: min line count.\n - * - * @since 20 - * - */ - NODE_TEXT_AREA_MIN_LINES = 8029, - + /** + * @brief Set the min lines of the node. This attribute can be set, reset, and obtained as required through APIs. + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n + * .value[0].i32: min lines count. + * \n + * Format of the return value {@link ArkUI_AttributeItem}: \n + * .value[0].i32: min line count.\n + * + * @since 20 + * + */ + NODE_TEXT_AREA_MIN_LINES = 8029, + /** * @brief Set the max lines of the node with scroll. * This attribute can be set, reset, and obtained as required through APIs. @@ -3846,7 +3852,7 @@ typedef enum { * * @since 20 */ - NODE_TEXT_AREA_MAX_LINES_WITH_SCROLL = 8030, + NODE_TEXT_AREA_MAX_LINES_WITH_SCROLL = 8030, /** * @brief Set the line height of the node. This attribute can be set, reset, and obtained as required through APIs. @@ -3888,29 +3894,29 @@ typedef enum { NODE_BUTTON_TYPE, /** - * @brief Defines the minimum font scale attribute, which can be set, reset, and obtained as required through APIs. - * - * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n - * .value[0].f32: minimum font scale, in fp. - * \n - * Format of the return value {@link ArkUI_AttributeItem}:\n - * .value[0].f32: minimum font scale, in fp. - * - * @since 18 - */ + * @brief Defines the minimum font scale attribute, which can be set, reset, and obtained as required through APIs. + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n + * .value[0].f32: minimum font scale, in fp. + * \n + * Format of the return value {@link ArkUI_AttributeItem}:\n + * .value[0].f32: minimum font scale, in fp. + * + * @since 18 + */ NODE_BUTTON_MIN_FONT_SCALE, /** - * @brief Defines the maximum font scale attribute, which can be set, reset, and obtained as required through APIs. - * - * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n - * .value[0].f32: maximum font scale, in fp. - * \n - * Format of the return value {@link ArkUI_AttributeItem}:\n - * .value[0].f32: maximum font scale, in fp. - * - * @since 18 - */ + * @brief Defines the maximum font scale attribute, which can be set, reset, and obtained as required through APIs. + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n + * .value[0].f32: maximum font scale, in fp. + * \n + * Format of the return value {@link ArkUI_AttributeItem}:\n + * .value[0].f32: maximum font scale, in fp. + * + * @since 18 + */ NODE_BUTTON_MAX_FONT_SCALE, /** @@ -3987,7 +3993,7 @@ typedef enum { * \n * Format of the return value {@link ArkUI_AttributeItem}:\n * .value[0].i32: The value 1 means that the check box is selected, and 0 means the opposite. \n - * + * */ NODE_CHECKBOX_SELECT = MAX_NODE_SCOPE_NUM * ARKUI_NODE_CHECKBOX, @@ -4013,7 +4019,7 @@ typedef enum { * \n * Format of the return value {@link ArkUI_AttributeItem}:\n * .value[0].u32: border color, in 0xARGB format, for example, 0xFF1122FF. - * + * */ NODE_CHECKBOX_UNSELECT_COLOR, @@ -4305,7 +4311,7 @@ typedef enum { * * @since 20 */ - NODE_DATE_PICKER_CAN_LOOP = 13009, + NODE_DATE_PICKER_CAN_LOOP = 13009, /** * @brief Defines the time of the selected item. in the timer picker. * This attribute can be set, reset, and obtained as required through APIs. @@ -4403,7 +4409,7 @@ typedef enum { * */ NODE_TIME_PICKER_SELECTED_TEXT_STYLE, - /** + /** * @brief Defines the start time of the time picker. * This attribute can be set, reset, and obtained as required through APIs. * @@ -4824,7 +4830,7 @@ typedef enum { * .string?: depending on the shape. Optional. \n * ARKUI_SLIDER_BLOCK_STYLE_IMAGE: image resource of the slider. Example: /pages/common/icon.png. \n * ARKUI_SLIDER_BLOCK_STYLE_SHAPE: custom shape of the slider. \n - * There are five types:\n + * There are five types:\n * 1. Rectangle:\n * .value[1].i32: type of shape. The parameter type is {@link ArkUI_ShapeType}. * The value is ARKUI_SHAPE_TYPE_RECTANGLE for the rectangle shape.\n @@ -4985,8 +4991,8 @@ typedef enum { * * The prefix component will be placed at the start position of the Slider, * typically on the left side in LTR layouts. - * - * @since 20 + * + * @since 20 */ NODE_SLIDER_PREFIX, @@ -4998,8 +5004,8 @@ typedef enum { * * The suffix component will be placed at the end position of the Slider, * typically on the right side in LTR layouts. - * - * @since 20 + * + * @since 20 */ NODE_SLIDER_SUFFIX, @@ -5068,7 +5074,7 @@ typedef enum { * .size: number of the images.\n * .object: array of the images, the type is {@ArkUI_ImageAnimatorFrameInfo} array.\n * - */ + */ NODE_IMAGE_ANIMATOR_IMAGES = ARKUI_NODE_IMAGE_ANIMATOR * MAX_NODE_SCOPE_NUM, /** * @brief Set the playback status of the animation for the image animator. @@ -5081,7 +5087,7 @@ typedef enum { * Attribute obtaining method return value {@Link ArkUI_AttributeItem} format:\n * .value[0].i32: the playback status of the animation, the type is {@link ArkUI_AnimationStatus}.\n * - */ + */ NODE_IMAGE_ANIMATOR_STATE = 19001, /** * @brief Set the playback duration for the image animator. When the duration is 0, no image is played. @@ -5095,7 +5101,7 @@ typedef enum { * Attribute obtaining method return value {@Link ArkUI_AttributeItem} format:\n * .value[0].i32: the playback duration, the unit is ms.\n * - */ + */ NODE_IMAGE_ANIMATOR_DURATION = 19002, /** * @brief Set the playback direction for the image animator. @@ -5109,7 +5115,7 @@ typedef enum { * .value[0].i32: the playback direction. 0 indicates that images are played from the first one to the last one, * and 1 indicates that images are played from the last one to the first one.\n * - */ + */ NODE_IMAGE_ANIMATOR_REVERSE = 19003, /** * @brief Set whether the image size is the same as the component size. @@ -5127,7 +5133,7 @@ typedef enum { * 1 indicates the image size is the same as the component size. * 0 indicates the image size is customized. * - */ + */ NODE_IMAGE_ANIMATOR_FIXED_SIZE = 19004, /** * @brief Set the status before and after execution of the animation in the current playback direction. @@ -5141,7 +5147,7 @@ typedef enum { * .value[0].i32: the status before and after execution of the animation in the current playback direction, * the type is {ArkUI_AnimationFillMode}. * - */ + */ NODE_IMAGE_ANIMATOR_FILL_MODE = 19005, /** * @brief Set the number of times that the animation is played. @@ -5153,7 +5159,7 @@ typedef enum { * Attribute setting method {@Link ArkUI_AttributeItem} Parameter format:\n * .value[0].i32: the number of times that the animation is played.\n * - */ + */ NODE_IMAGE_ANIMATOR_ITERATION = 19006, /** @@ -5165,10 +5171,10 @@ typedef enum { * \n * Format of the return value {@link ArkUI_AttributeItem}:\n * .string: component name. \n - * + * * @since 15 */ - NODE_CHECKBOX_GROUP_NAME = MAX_NODE_SCOPE_NUM * ARKUI_NODE_CHECKBOX_GROUP, + NODE_CHECKBOX_GROUP_NAME = MAX_NODE_SCOPE_NUM * ARKUI_NODE_CHECKBOX_GROUP, /** * @brief Defines whether the checkboxgroup is selected. @@ -5180,7 +5186,7 @@ typedef enum { * \n * Format of the return value {@link ArkUI_AttributeItem}:\n * .value[0].i32: The value 1 means that the checkboxgroup is selected, and 0 means the opposite. \n - * + * * @since 15 */ NODE_CHECKBOX_GROUP_SELECT_ALL, @@ -5208,7 +5214,7 @@ typedef enum { * \n * Format of the return value {@link ArkUI_AttributeItem}:\n * .value[0].u32: border color, in 0xARGB format, for example, 0xFF1122FF. - * + * * @since 15 */ NODE_CHECKBOX_GROUP_UNSELECTED_COLOR, @@ -5461,7 +5467,7 @@ typedef enum { /** * @brief Scroll to the next or previous page. - * + * * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n * .value[0].i32 Indicates whether to scroll to next page. Value 0 indicates scroll to next page and value 1 * indicates scroll to previous page. \n @@ -5472,7 +5478,7 @@ typedef enum { /** * @brief Scroll a specified distance. - * + * * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n * .value[0].f32:Horizontal scrolling distance in vp; \n * .value[1].f32: Vertical scrolling distance in vp; \n @@ -5482,7 +5488,7 @@ typedef enum { /** * @brief Performs inertial scrolling based on the initial velocity passed in. - * + * * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n * .value[0].f32: Initial velocity of inertial scrolling. Unit: vp/s. If the value specified is 0, it is * considered as invalid, and the scrolling for this instance will not take effect. If the value is positive, @@ -5493,20 +5499,20 @@ typedef enum { NODE_SCROLL_FLING, /** - * @brief Sets the fading effect for the edges of scrollable components. - * - * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute: - * .value[0].i32: whether to enable the fading effect on edges. The value 0 means to disable the fading effect, - * and 1 means to enable it. - * .value[1]?.f32: length of the fading effect on edges, in vp. Default value: 32. - * - * Format of the return value {@link ArkUI_AttributeItem}: - * .value[0].i32: whether the fading effect on edges is enabled. The value 0 means that the fading effect is - * disabled, and 1 means that it is enabled. - * .value[1].f32: length of the fading effect on edges, in vp. - * - * @since 14 - */ + * @brief Sets the fading effect for the edges of scrollable components. + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute: + * .value[0].i32: whether to enable the fading effect on edges. The value 0 means to disable the fading effect, + * and 1 means to enable it. + * .value[1]?.f32: length of the fading effect on edges, in vp. Default value: 32. + * + * Format of the return value {@link ArkUI_AttributeItem}: + * .value[0].i32: whether the fading effect on edges is enabled. The value 0 means that the fading effect is + * disabled, and 1 means that it is enabled. + * .value[1].f32: length of the fading effect on edges, in vp. + * + * @since 14 + */ NODE_SCROLL_FADING_EDGE, /** @@ -5706,11 +5712,11 @@ typedef enum { */ NODE_LIST_SPACE, /** - * @brief Defines the list adapter. The attribute can be set, reset, and obtained as required through APIs. - * - * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n - * .object: {@link ArkUI_NodeAdapter} object as the adapter. \n - */ + * @brief Defines the list adapter. The attribute can be set, reset, and obtained as required through APIs. + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n + * .object: {@link ArkUI_NodeAdapter} object as the adapter. \n + */ NODE_LIST_NODE_ADAPTER, /** @@ -5732,7 +5738,7 @@ typedef enum { /** * @brief Scroll to the specified index. - * + * * When activating the smooth animation, all items passed through will be loaded and layout calculated, which can * lead to performance issues when loading a large number of items.\n * \n @@ -5759,7 +5765,7 @@ typedef enum { * Format of the return value {@link ArkUI_AttributeItem}:\n * .value[0].i32: alignment mode of list items along the cross axis. * The parameter type is {@link ArkUI_ListItemAlignment}. \n - */ + */ NODE_LIST_ALIGN_LIST_ITEM, /** @@ -5891,7 +5897,7 @@ typedef enum { * @since 19 */ NODE_LIST_STACK_FROM_END = 1003014, - + /** * @brief Defines the focus wrap mode for the List component. * This attribute can be set, reset, and obtained as required through APIs. @@ -6059,22 +6065,22 @@ typedef enum { NODE_SWIPER_INDEX, /** - * @brief Defines the number of elements to display per page. - * This attribute can be set, reset, and obtained as required through APIs. - * - * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n - * .value[0].i32: number of elements to display per page. \n - * .value[1]?.i32: whether to turn pages by group. The value 0 means to turn pages by child element, - * and 1 means to turn pages by group. This parameter is supported since API version 19. \n - * .string?: this parameter can only be set to 'auto'. When 'auto' is set, the value[] parameters are ignored. - * This parameter is supported since API version 19. \n - * \n - * Format of the return value {@link ArkUI_AttributeItem}:\n - * .value[0].i32: number of elements to display per page. \n - * .value[1].i32: whether to turn pages by group. This parameter is supported since API version 19. \n - * .string: 'auto' or empty string. - * - */ + * @brief Defines the number of elements to display per page. + * This attribute can be set, reset, and obtained as required through APIs. + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n + * .value[0].i32: number of elements to display per page. \n + * .value[1]?.i32: whether to turn pages by group. The value 0 means to turn pages by child element, + * and 1 means to turn pages by group. This parameter is supported since API version 19. \n + * .string?: this parameter can only be set to 'auto'. When 'auto' is set, the value[] parameters are ignored. + * This parameter is supported since API version 19. \n + * \n + * Format of the return value {@link ArkUI_AttributeItem}:\n + * .value[0].i32: number of elements to display per page. \n + * .value[1].i32: whether to turn pages by group. This parameter is supported since API version 19. \n + * .string: 'auto' or empty string. + * + */ NODE_SWIPER_DISPLAY_COUNT, /** @@ -6093,24 +6099,24 @@ typedef enum { NODE_SWIPER_DISABLE_SWIPE, /** - * @brief Defines whether to show the arrow when the mouse pointer hovers over the navigation point indicator. - * This attribute can be set, reset, and obtained as required through APIs. - * - * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n - * .value[0].i32: whether to show the arrow when the mouse pointer hovers over the navigation point indicator. - * The parameter type is {@link ArkUI_SwiperArrow}.\n - * The default value is ARKUI_SWIPER_ARROW_HIDE. \n - * .?object: arrow style. The parameter type is {@link ArkUI_SwiperArrowStyle}. \n - * This parameter is supported since API version 19. \n - * \n - * Format of the return value {@link ArkUI_AttributeItem}:\n - * .value[0].i32: whether to show the arrow when the mouse pointer hovers over the navigation point indicator. - * The parameter type is {@link ArkUI_SwiperArrow}.\n - * The default value is ARKUI_SWIPER_ARROW_HIDE. \n - * .object: arrow style. The parameter type is {@link ArkUI_SwiperArrowStyle}. \n - * This parameter is supported since API version 19. \n - * - */ + * @brief Defines whether to show the arrow when the mouse pointer hovers over the navigation point indicator. + * This attribute can be set, reset, and obtained as required through APIs. + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n + * .value[0].i32: whether to show the arrow when the mouse pointer hovers over the navigation point indicator. + * The parameter type is {@link ArkUI_SwiperArrow}.\n + * The default value is ARKUI_SWIPER_ARROW_HIDE. \n + * .?object: arrow style. The parameter type is {@link ArkUI_SwiperArrowStyle}. \n + * This parameter is supported since API version 19. \n + * \n + * Format of the return value {@link ArkUI_AttributeItem}:\n + * .value[0].i32: whether to show the arrow when the mouse pointer hovers over the navigation point indicator. + * The parameter type is {@link ArkUI_SwiperArrow}.\n + * The default value is ARKUI_SWIPER_ARROW_HIDE. \n + * .object: arrow style. The parameter type is {@link ArkUI_SwiperArrowStyle}. \n + * This parameter is supported since API version 19. \n + * + */ NODE_SWIPER_SHOW_DISPLAY_ARROW, /** @@ -6130,28 +6136,28 @@ typedef enum { NODE_SWIPER_EDGE_EFFECT_MODE, /** - * @brief Defines the swiper adapter. The attribute can be set, reset, and obtained as required through APIs. - * - * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n - * .object: {@link ArkUI_NodeAdapter} object as the adapter. \n - */ + * @brief Defines the swiper adapter. The attribute can be set, reset, and obtained as required through APIs. + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n + * .object: {@link ArkUI_NodeAdapter} object as the adapter. \n + */ NODE_SWIPER_NODE_ADAPTER, /** - * @brief Sets the number of cached items in the swiper adapter. - * This attribute can be set, reset, and obtained as required through APIs. - * - * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n - * .value[0].i32: number of cached items in the swiper adapter. \n - * .value[1]?.i32: whether the cached items will be displayed. \n - * The value 0 indicates that cached items will not be displayed, \n - * and 1 indicates that cached nodes will be displayed. The default value is 0. \n - * This parameter is supported from API version 19. \n - * \n - * Format of the return value {@link ArkUI_AttributeItem}:\n - * .value[0].i32: number of cached items in the swiper adapter. \n - * .value[1].i32: whether the cached items will be displayed. This parameter is supported from API version 19. \n - */ + * @brief Sets the number of cached items in the swiper adapter. + * This attribute can be set, reset, and obtained as required through APIs. + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n + * .value[0].i32: number of cached items in the swiper adapter. \n + * .value[1]?.i32: whether the cached items will be displayed. \n + * The value 0 indicates that cached items will not be displayed, \n + * and 1 indicates that cached nodes will be displayed. The default value is 0. \n + * This parameter is supported from API version 19. \n + * \n + * Format of the return value {@link ArkUI_AttributeItem}:\n + * .value[0].i32: number of cached items in the swiper adapter. \n + * .value[1].i32: whether the cached items will be displayed. This parameter is supported from API version 19. \n + */ NODE_SWIPER_CACHED_COUNT, /** @@ -6185,24 +6191,24 @@ typedef enum { NODE_SWIPER_NEXT_MARGIN, /** - * @brief Defines the navigation indicator type of the swiper. - * The attribute can be set, reset, and obtained as required through APIs. - * - * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n - * .value[0].i32: navigation indicator type, the parameter type is {@link ArkUI_SwiperIndicatorType}.\n - * .object: The parameter type is {@link ArkUI_SwiperIndicator} when the indicator type \n - * is ARKUI_SWIPER_INDICATOR_TYPE_DOT. The parameter type is {@link ArkUI_SwiperDigitIndicator} - * when the indicator type is ARKUI_SWIPER_INDICATOR_TYPE_DIGIT. \n - * {@link ArkUI_SwiperDigitIndicator} is supported since API version 19. \n - * \n - * Format of the return value {@link ArkUI_AttributeItem}:\n - * .value[0].i32: navigation indicator type, the parameter type is {@link ArkUI_SwiperIndicatorType}.\n - * .object: The parameter type is {@link ArkUI_SwiperIndicator} when the indicator type \n - * is ARKUI_SWIPER_INDICATOR_TYPE_DOT. The parameter type is {@link ArkUI_SwiperDigitIndicator} - * when the indicator type is ARKUI_SWIPER_INDICATOR_TYPE_DIGIT. \n - * {@link ArkUI_SwiperDigitIndicator} is supported since API version 19. \n - * - */ + * @brief Defines the navigation indicator type of the swiper. + * The attribute can be set, reset, and obtained as required through APIs. + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n + * .value[0].i32: navigation indicator type, the parameter type is {@link ArkUI_SwiperIndicatorType}.\n + * .object: The parameter type is {@link ArkUI_SwiperIndicator} when the indicator type \n + * is ARKUI_SWIPER_INDICATOR_TYPE_DOT. The parameter type is {@link ArkUI_SwiperDigitIndicator} + * when the indicator type is ARKUI_SWIPER_INDICATOR_TYPE_DIGIT. \n + * {@link ArkUI_SwiperDigitIndicator} is supported since API version 19. \n + * \n + * Format of the return value {@link ArkUI_AttributeItem}:\n + * .value[0].i32: navigation indicator type, the parameter type is {@link ArkUI_SwiperIndicatorType}.\n + * .object: The parameter type is {@link ArkUI_SwiperIndicator} when the indicator type \n + * is ARKUI_SWIPER_INDICATOR_TYPE_DOT. The parameter type is {@link ArkUI_SwiperDigitIndicator} + * when the indicator type is ARKUI_SWIPER_INDICATOR_TYPE_DIGIT. \n + * {@link ArkUI_SwiperDigitIndicator} is supported since API version 19. \n + * + */ NODE_SWIPER_INDICATOR, /** @@ -6230,14 +6236,14 @@ typedef enum { NODE_SWIPER_SWIPE_TO_INDEX, /** - * @brief Set to disable component navigation point interaction function。 - * - * Property setting method parameter {@link ArkUI-AttributeItem} format: \n - * .value[0].i32:Set to disable the interaction function of component navigation points. When set to true, it - * indicates that the navigation points are interactive. The default value is true. \n - * The return value of the attribute acquisition method is in the format of {@ link ArkUI-AttributeItem}: \n - * .value[0].i32:Set to disable component navigation point interaction. \n - */ + * @brief Set to disable component navigation point interaction function。 + * + * Property setting method parameter {@link ArkUI-AttributeItem} format: \n + * .value[0].i32:Set to disable the interaction function of component navigation points. When set to true, it + * indicates that the navigation points are interactive. The default value is true. \n + * The return value of the attribute acquisition method is in the format of {@ link ArkUI-AttributeItem}: \n + * .value[0].i32:Set to disable component navigation point interaction. \n + */ NODE_SWIPER_INDICATOR_INTERACTIVE, /** @@ -6356,17 +6362,17 @@ typedef enum { NODE_LIST_ITEM_GROUP_CHILDREN_MAIN_SIZE = 1005003, /** - * @brief Defines the list item group adapter. - * This attribute can be set, reset, and obtained as required through APIs. - * - * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n - * .object: {@link ArkUI_NodeAdapter} object as the adapter. \n - * \n - * Format of the return value {@link ArkUI_AttributeItem}:\n - * .object: {@link ArkUI_NodeAdapter} object. \n - * - * @since 15 - */ + * @brief Defines the list item group adapter. + * This attribute can be set, reset, and obtained as required through APIs. + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n + * .object: {@link ArkUI_NodeAdapter} object as the adapter. \n + * \n + * Format of the return value {@link ArkUI_AttributeItem}:\n + * .object: {@link ArkUI_NodeAdapter} object. \n + * + * @since 15 + */ NODE_LIST_ITEM_GROUP_NODE_ADAPTER = 1005004, /** @@ -6620,27 +6626,27 @@ typedef enum { NODE_WATER_FLOW_SECTION_OPTION, /** - * @brief Defines the water flow adapter. The attribute can be set, reset, and obtained as required through APIs. - * - * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n - * .object: {@link ArkUI_NodeAdapter} object as the adapter. \n - */ + * @brief Defines the water flow adapter. The attribute can be set, reset, and obtained as required through APIs. + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n + * .object: {@link ArkUI_NodeAdapter} object as the adapter. \n + */ NODE_WATER_FLOW_NODE_ADAPTER, /** - * @brief Sets the number of cached items in the water flow adapter. - * This attribute can be set, reset, and obtained as required through APIs. - * - * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n - * value[0].i32:number of cached items in the water flow adapter. \n - * .value[1]?.i32:whether to the cached items will be displayed, 0: not displayed, 1: displayed, default value: 0. - * This parameter is supported since API version 16. \n - * \n - * Format of the return value {@link ArkUI_AttributeItem}:\n - * .value[0].i32: number of cached items in the water flow adapter. \n - * .value[1].i32: whether to the cached items will be displayed, 0: not displayed, 1: displayed, default value: 0. - * This parameter is supported since API version 16. \n - */ + * @brief Sets the number of cached items in the water flow adapter. + * This attribute can be set, reset, and obtained as required through APIs. + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n + * value[0].i32:number of cached items in the water flow adapter. \n + * .value[1]?.i32:whether to the cached items will be displayed, 0: not displayed, 1: displayed, default value: 0. + * This parameter is supported since API version 16. \n + * \n + * Format of the return value {@link ArkUI_AttributeItem}:\n + * .value[0].i32: number of cached items in the water flow adapter. \n + * .value[1].i32: whether to the cached items will be displayed, 0: not displayed, 1: displayed, default value: 0. + * This parameter is supported since API version 16. \n + */ NODE_WATER_FLOW_CACHED_COUNT, /** @@ -6654,7 +6660,7 @@ typedef enum { /** * @brief Scroll to the specified index. - * + * * When activating the smooth animation, all items passed through will be loaded and layout calculated, which can * lead to performance issues when loading a large number of items.\n * \n @@ -6805,36 +6811,36 @@ typedef enum { NODE_GRID_ROW_GAP, /** - * @brief Defines the grid adapter. The attribute can be set, reset, and obtained as required through APIs. - * - * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n - * .object: {@link ArkUI_NodeAdapter} object as the adapter. \n - */ + * @brief Defines the grid adapter. The attribute can be set, reset, and obtained as required through APIs. + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n + * .object: {@link ArkUI_NodeAdapter} object as the adapter. \n + */ NODE_GRID_NODE_ADAPTER, /** - * @brief Sets the number of cached items in the grid adapter. - * This attribute can be set, reset, and obtained as required through APIs. - * - * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n - * .value[0].i32: number of cached items in the grid adapter. \n - */ + * @brief Sets the number of cached items in the grid adapter. + * This attribute can be set, reset, and obtained as required through APIs. + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n + * .value[0].i32: number of cached items in the grid adapter. \n + */ NODE_GRID_CACHED_COUNT, /** - * @brief Defines the focus wrap mode for the Grid component. - * This attribute can be set, reset, and obtained as required through APIs. - * - * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n - * .value[0].i32: focus wrap mode of the Grid component. - * The parameter type is {@link ArkUI_FocusWrapMode}. \n - * \n - * Format of the return value {@link ArkUI_AttributeItem}:\n - * .value[0].i32: focus wrap mode of the Grid component. - * The parameter type is {@link ArkUI_FocusWrapMode}. \n - * - * @since 20 - */ + * @brief Defines the focus wrap mode for the Grid component. + * This attribute can be set, reset, and obtained as required through APIs. + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n + * .value[0].i32: focus wrap mode of the Grid component. + * The parameter type is {@link ArkUI_FocusWrapMode}. \n + * \n + * Format of the return value {@link ArkUI_AttributeItem}:\n + * .value[0].i32: focus wrap mode of the Grid component. + * The parameter type is {@link ArkUI_FocusWrapMode}. \n + * + * @since 20 + */ NODE_GRID_FOCUS_WRAP_MODE = 1013006, /** @@ -6854,25 +6860,25 @@ typedef enum { NODE_GRID_SYNC_LOAD = 1013007, /** - * @brief Defines the column width of the text picker. - * This attribute can be set, reset, and obtained as required through APIs. - * - * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n - * .value[0].f32: percentage of total width. The default value is that all colulmns are equal width.\n - * .value[1]?.f32: percentage of total width. The default value is that all colulmns are equal width.\n - * .value[2]?.f32: percentage of total width. The default value is that all colulmns are equal width.\n - * ...\n - * .value[n]?.f32: percentage of total width. The default value is that all colulmns are equal width.\n - * \n - * Format of the return value {@link ArkUI_AttributeItem}:\n - * value[0].f32: percentage of total width.\n - * value[1].f32: percentage of total width.\n - * value[2].f32: percentage of total width.\n - * ...\n - * value[n].f32: percentage of total width.\n - * - * @since 18 - */ + * @brief Defines the column width of the text picker. + * This attribute can be set, reset, and obtained as required through APIs. + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n + * .value[0].f32: percentage of total width. The default value is that all colulmns are equal width.\n + * .value[1]?.f32: percentage of total width. The default value is that all colulmns are equal width.\n + * .value[2]?.f32: percentage of total width. The default value is that all colulmns are equal width.\n + * ...\n + * .value[n]?.f32: percentage of total width. The default value is that all colulmns are equal width.\n + * \n + * Format of the return value {@link ArkUI_AttributeItem}:\n + * value[0].f32: percentage of total width.\n + * value[1].f32: percentage of total width.\n + * value[2].f32: percentage of total width.\n + * ...\n + * value[n].f32: percentage of total width.\n + * + * @since 18 + */ NODE_TEXT_PICKER_COLUMN_WIDTHS = 15009, /** * @brief Defines the disabled date range of the calendar picker. -- Gitee