Lines Matching refs:node

21  * tree node operations, attribute setting, and event listening.
73 * @brief Obtain the ID of the Navigation component where the node is located.
75 * @param node The node.
85 * {@link ARKUI_ERROR_CODE_PARAM_INVALID} if the node, buffer or writeLength is null.
87 * this may be because the node is not in Navigation.
92 ArkUI_NodeHandle node, char* buffer, int32_t bufferSize, int32_t* writeLength);
95 * @brief Obtain the name of the NavDestination component where the node is located.
97 * @param node The node.
107 * {@link ARKUI_ERROR_CODE_PARAM_INVALID} if the node, buffer or writeLength is null.
109 * this may be because the node is not in Navigation.
114 ArkUI_NodeHandle node, char* buffer, int32_t bufferSize, int32_t* writeLength);
117 * @brief Based on the given index value, obtain the length of the Navigation stack where the node is located.
119 * @param node The node.
123 * {@link ARKUI_ERROR_CODE_PARAM_INVALID} if the node or length is null.
125 * this may be because the node is not in Navigation.
128 ArkUI_ErrorCode OH_ArkUI_GetNavStackLength(ArkUI_NodeHandle node, int32_t* length);
132 * in the navigation stack where the node is located.
135 * @param node The node.
146 * {@link ARKUI_ERROR_CODE_PARAM_INVALID} if the node, buffer or writeLength is null.
149 * this may be because the node is not in Navigation.
154 ArkUI_NodeHandle node, int32_t index, char* buffer, int32_t bufferSize, int32_t* writeLength);
157 * @brief Obtain the ID of the NavDestination component where the node is located.
159 * @param node The node.
169 * {@link ARKUI_ERROR_CODE_PARAM_INVALID} if the node, buffer or writeLength is null.
171 * this may be because the node is not in Navigation.
176 ArkUI_NodeHandle node, char* buffer, int32_t bufferSize, int32_t* writeLength);
179 * @brief Obtain the state of the NavDestination component where the node is located.
181 * @param node The node.
185 * {@link ARKUI_ERROR_CODE_PARAM_INVALID} if the node or state is null.
187 * this may be because the node is not in Navigation.
190 ArkUI_ErrorCode OH_ArkUI_GetNavDestinationState(ArkUI_NodeHandle node, ArkUI_NavDestinationState* state);
193 * @brief Obtain the index of the NavDestination component on the Navigation stack where the node is located.
195 * @param node The node.
199 * {@link ARKUI_ERROR_CODE_PARAM_INVALID} if the node or index is null.
201 * this may be because the node is not in Navigation.
204 ArkUI_ErrorCode OH_ArkUI_GetNavDestinationIndex(ArkUI_NodeHandle node, int32_t* index);
207 * @brief Obtain the parameters of the NavDestination component where the node is located.
209 * @param node The node.
211 * If a null pointer is returned, it may be because the node is empty or the parameters does not exist.
214 napi_value OH_ArkUI_GetNavDestinationParam(ArkUI_NodeHandle node);
217 * @brief Obtain the index of the page where the node resides in the Router page stack.
219 * @param node The node.
223 * {@link ARKUI_ERROR_CODE_PARAM_INVALID} if the node or index is null.
225 * this may be because the node is not in RouterPage.
228 ArkUI_ErrorCode OH_ArkUI_GetRouterPageIndex(ArkUI_NodeHandle node, int32_t* index);
231 * @brief Obtain the name of the page where the node is located.
233 * @param node The node.
243 * {@link ARKUI_ERROR_CODE_PARAM_INVALID} if the node, buffer or writeLength is null.
245 * this may be because the node is not in RouterPage.
250 ArkUI_NodeHandle node, char* buffer, int32_t bufferSize, int32_t* writeLength);
253 * @brief Obtain the path of the page where the node is located.
255 * @param node The node.
265 * {@link ARKUI_ERROR_CODE_PARAM_INVALID} if the node, buffer or writeLength is null.
267 * this may be because the node is not in RouterPage.
272 ArkUI_NodeHandle node, char* buffer, int32_t bufferSize, int32_t* writeLength);
274 * @brief Obtain the state of the page where the node is located.
276 * @param node The node.
280 * {@link ARKUI_ERROR_CODE_PARAM_INVALID} if the node or state is null.
282 * this may be because the node is not in RouterPage.
285 ArkUI_ErrorCode OH_ArkUI_GetRouterPageState(ArkUI_NodeHandle node, ArkUI_RouterPageState* state);
288 * @brief Obtain the ID of the page where the node is located.
290 * @param node The node.
299 * {@link ARKUI_ERROR_CODE_PARAM_INVALID} if the node, buffer or writeLength is null.
301 * this may be because the node is not in RouterPage.
306 ArkUI_NodeHandle node, char* buffer, int32_t bufferSize, int32_t* writeLength);