Available on crate feature
api-12 only.Structs§
- Defines the general input parameter structure of the [
setAttribute] function. - Declares a collection of native node APIs provided by ArkUI.
- Enumerates component adapter events.
- Defines the ArkUI style attributes that can be set on the native side.
- Defines the parameter type of the component callback event.
- Defines the node content event type.
- Defines the custom component event type.
- Defines the dirty area flag passed in the ::markDirty API.
- Enumerates the event types supported by the NativeNode component.
- Enumerates ArkUI component types that can be created on the native side.
- Defines the string type parameter used by the component callback event.
Functions§
- Obtain the UIContext pointer to the page where the node is located.
- Collapse the ListItem in its expanded state.
- Obtains the scrollable container node that uses the specified adapter.
- Obtains the index of the element to be operated for the specified adapter event.
- Obtains the element to be removed for the event to be destroyed.
- Obtains the event type.
- Obtains the custom data passed in during registration of the specified event.
- Sets the component to be added to the specified adapter.
- Sets the component ID to be generated.
- Creates a component adapter.
- Destroys a component adapter.
- Obtains all elements stored in the specified adapter.
- Obtains the total number of elements in the specified adapter.
- Instructs the specified adapter to insert certain elements.
- Instructs the specified adapter to move certain elements.
- Registers an event callback for the adapter.
- Instructs the specified adapter to reload all elements.
- Instructs the specified adapter to reload certain elements.
- Instructs the specified adapter to remove certain elements.
- Sets the total number of elements in the specified adapter.
- Deregisters an event callback for the adapter.
- Obtains the type of a node content event.
- Obtains the node content object that triggers a node content event.
- Add a node to a node content.
- Obtains the custom data saved on the specified node content.
- insert a node into a node content at a given position.
- register a callback functoin to a node content.
- remove a node from a node content.
- Saves custom data on the specified node content.
- Obtains the drawing information of a custom span through a custom component event.
- Obtains the measurement information of a custom span through a custom component event.
- Obtains the drawing context through a custom component event.
- Obtains the ID of a custom component event.
- Obtains the event type through a custom component event.
- Obtains the size constraint for measurement through a custom component event.
- Obtains a component object through a custom component event.
- Obtains the expected position of a component relative to its parent component in the layout phase through a custom component event.
- Obtains custom event parameters through a custom component event.
- Sets the measurement metrics of a custom span through a custom component event.
- Obtains the type of a component event.
- Obtains input event (for example, touch event) data for a component event.
- Obtains the numerical data in a component event.
- Obtains the component object that triggers a component event.
- Obtains the numeric-type parameter of a component event.
- Obtains the string data in a component event.
- Obtains the string-type parameter of a component event. The string data is valid only during an event callback. To use it outside an event callback, you are advised to copy the string data.
- Obtains the custom ID of a component event.
- Obtains the custom data in a component event.
- Sets the return value for a component event.
- Add the custom property of the component. This interface only works on the main thread.
- Obtain the position of the component layout area relative to the parent component. The relative position of the layout area does not include graphic variation attributes, such as translation.
- Obtain the position of the component layout area relative to the screen. The relative position of the layout area does not include graphic variation attributes, such as translation.
- Obtain the position of the component layout area relative to the window. The relative position of the layout area does not include graphic variation attributes, such as translation.
- Get the size of the component layout area. The layout area size does not include graphic variation attributes such as scaling.
- Obtain the position of the component on the screen, including the attributes of graphic translation changes.
- Obtain the position of the component in the window, including the properties of graphic translation changes.
- Remove the custom property of the component.
- The event called when the system color mode changes. Only one system color change callback can be registered for the same component.
- The event called when the system font style changes. Only one system font change callback can be registered for the same component.
- Retrieve the font size value for system font change events.
- Retrieve the font thickness values for system font change events.
- Unregister the event callback when the system color mode changes.
- Unregister the event callback when the system font style changes.
Type Aliases§
- Defines the component adapter, which is used for lazy loading of elements of scrollable components.
- Defines the callback function of a node content event.