## Uses of Interface
org.zkoss.stateless.ui.UiAgent

- Packages that use UiAgent
  Package | Description
  --- | ---
  org.zkoss.stateless.ui |

- - ### Uses of UiAgent in org.zkoss.stateless.ui

    Methods in org.zkoss.stateless.ui that return UiAgent
    Modifier and Type | Method | Description
    --- | --- | ---
    `<I extends IComponent> UiAgent` | UiAgent.`appendChild​(Locator locator, I newChild)` | Adds the specified child component as the last child to the current locator.
    `static UiAgent` | UiAgent.`getCurrent()` | Returns the current UiAgent if any.
    `<I extends IComponent> UiAgent` | UiAgent.`insertAdjacentComponent​(Locator locator, UiAgent.Position position, I newChild)` | Inserts a given newChild at a given `UiAgent.Position` relative to the locator component it is invoked upon.
    `<I extends IComponent> UiAgent` | UiAgent.`insertAfterBegin​(Locator locator, I newChild)` | Inserts a given newChild just inside the locator before its first child.
    `<I extends IComponent> UiAgent` | UiAgent.`insertAfterEnd​(Locator locator, I newChild)` | Inserts a given newChild after the locator itself.
    `<I extends IComponent> UiAgent` | UiAgent.`insertBefore​(Locator locator, I newChild, int childIndex)` | Inserts the given newChild just inside the locator, before its n-th child.
    `<I extends IComponent> UiAgent` | UiAgent.`insertBeforeBegin​(Locator locator, I newChild)` | Inserts a given newChild before the locator itself.
    `<I extends IComponent> UiAgent` | UiAgent.`insertBeforeEnd​(Locator locator, I newChild)` | Inserts a given newChild just inside the locator after its last child.
    `static UiAgent` | UiAgent.`of​(Execution execution)` | Returns a new UiAgent from the given execution, which is activated.
    `UiAgent` | UiAgent.`remove​(Locator locator)` | Removes the given locator component.
    `<I extends IComponent> UiAgent` | UiAgent.`replaceChild​(Locator locator, I newChild, int childIndex)` | Replaces the given newChild just inside the locator with its n-th child.
    `<I extends IComponent> UiAgent` | UiAgent.`replaceChildren​(Locator locator)` | Removes the existing children of the given locator component.
    `<I extends IComponent> UiAgent` | UiAgent.`replaceChildren​(Locator locator, I... children)` | Replaces the existing children of the given locator component with a specified new set of children `IComponent`s.
    `<I extends IComponent> UiAgent` | UiAgent.`replaceChildren​(Locator locator, java.util.List<I> children)` | Replaces the existing children of the given locator component with a specified new set of children `IComponent`s.
    `<I extends IComponent> UiAgent` | UiAgent.`replaceWith​(Locator locator, I newComp)` | Replaces the given locator component in the children list of its parent with a given new `IComponent`.
    `UiAgent` | UiAgent.`smartUpdate​(Locator locator, SmartUpdater updater)` | A special smart update to update all the new data in the given updater.

    Methods in org.zkoss.stateless.ui that return types with arguments of type UiAgent
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.util.concurrent.CompletableFuture<UiAgent>` | UiAgent.`ofAsync()` | Returns a new CompletableFuture that is asynchronously completed by retrieving a new `UiAgent` instance in a CompletableFuture.
    `java.util.concurrent.CompletableFuture<UiAgent>` | UiAgent.`runAsync​(CheckedConsumer<UiAgent> consumer)` | Runs the given callback that is asynchronously completed by retrieving a new `UiAgent` instance in a CompletableFuture.

    Methods in org.zkoss.stateless.ui with parameters of type UiAgent
    Modifier and Type | Method | Description
    --- | --- | ---
    `static void` | UiAgentCtrl.`deactivate​(UiAgent uiAgent)` | Deactivate the given UiAgent

    Method parameters in org.zkoss.stateless.ui with type arguments of type UiAgent
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.util.concurrent.CompletableFuture<UiAgent>` | UiAgent.`runAsync​(CheckedConsumer<UiAgent> consumer)` | Runs the given callback that is asynchronously completed by retrieving a new `UiAgent` instance in a CompletableFuture.