Lines Matching defs:node

21  * component creation and destruction, tree node operations, attribute setting,
224 /** Whether to prevent propagation of the event to the parent node. */
227 /** Whether to prevent the default event processing behavior of the current node and allow propagation of the event. */
253 ArkUI_NodeHandle node;
272 * @brief Declares a collection of native node APIs provided by ArkUI.
294 * @param node Indicates the pointer.
296 void (*disposeNode)(ArkUI_NodeHandle node);
299 * @brief Adds a component to a parent node.
303 * @param parent Indicates the pointer to the parent node.
304 * @param child Indicates the pointer to the child node.
311 * @brief Removes a component from its parent node.
315 * @param parent Indicates the pointer to the parent node.
316 * @param child Indicates the pointer to the child node.
323 * @brief Inserts a component to a parent node after the specified <b>sibling</b> node.
327 * @param parent Indicates the pointer to the parent node.
328 * @param child Indicates the pointer to the child node.
329 * @param sibling Indicates the pointer to the sibling node after which the target node is to be inserted.
330 * If the value is null, the node is inserted at the start of the parent node.
337 * @brief Inserts a component to a parent node before the specified <b>sibling</b> node.
341 * @param parent Indicates the pointer to the parent node.
342 * @param child Indicates the pointer to the child node.
343 * @param sibling Indicates the pointer to the sibling node before which the target node is to be inserted.
344 * If the value is null, the node is inserted at the end of the parent node.
351 * @brief Inserts a component to the specified position in a parent node.
355 * @param parent Indicates the pointer to the parent node.
356 * @param child Indicates the pointer to the child node.
357 * @param position Indicates the position to which the target child node is to be inserted. If the value is a
358 * negative number or invalid, the node is inserted at the end of the parent node.
365 * @brief Sets the attribute of a node.
369 * @param node Indicates the node whose attribute needs to be set.
376 int32_t (*setAttribute)(ArkUI_NodeHandle node, ArkUI_NodeAttributeType attribute, const ArkUI_AttributeItem* item);
386 * @param node Indicates the node whose attribute needs to be obtained.
390 const ArkUI_AttributeItem* (*getAttribute)(ArkUI_NodeHandle node, ArkUI_NodeAttributeType attribute);
397 * @param node Indicates the node whose attribute needs to be reset.
403 int32_t (*resetAttribute)(ArkUI_NodeHandle node, ArkUI_NodeAttributeType attribute);
406 * @brief Registers an event for the specified node.
410 * @param node Indicates the target node.
419 ArkUI_NodeHandle node, ArkUI_NodeEventType eventType, int32_t eventId);
422 * @brief Unregisters an event for the specified node.
426 * @param node Indicates the target node.
429 void (*unregisterNodeEvent)(ArkUI_NodeHandle node, ArkUI_NodeEventType eventType);
449 * @brief Forcibly marks the current node that needs to be measured, laid out, or rendered again.
455 * @param node Indicates the node for which you want to mark as dirty area.
458 void (*markDirty)(ArkUI_NodeHandle node, ArkUI_NodeDirtyFlag dirtyFlag);