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

- Packages that use Locator
  Package | Description
  --- | ---
  org.zkoss.stateless.action.data |
  org.zkoss.stateless.state |
  org.zkoss.stateless.ui |

- - ### Uses of Locator in org.zkoss.stateless.action.data

    Methods in org.zkoss.stateless.action.data that return Locator
    Modifier and Type | Method | Description
    --- | --- | ---
    `Locator` | DropData.`getDragged()` | Returns the component locator being dragged and drop to `Self`.
    `Locator` | OpenData.`getReference()` | Returns the reference that causes `Self` to be opened.

  - ### Uses of Locator in org.zkoss.stateless.state

    Constructors in org.zkoss.stateless.state with parameters of type Locator
    Constructor | Description
    --- | ---
    `DeferredRedraw​(Locator locator, java.util.Collection<? extends IListitemBase> items)` |

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

    Classes in org.zkoss.stateless.ui that implement Locator
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `Self` | A target to locate a location at client for `IComponent`

    Methods in org.zkoss.stateless.ui that return Locator
    Modifier and Type | Method | Description
    --- | --- | ---
    `Locator` | Locator.`child​(int nth)` | Returns the first locator that is the nth child of the locator.
    `Locator` | Self.`child​(int nth)` |
    `Locator` | Locator.`closest​(java.lang.Class<? extends IComponent> iClass)` | Traverses the locator and its parents until it finds a widget that matches the provided selector iClass.
    `Locator` | Self.`closest​(java.lang.Class<? extends IComponent> selector)` |
    `Locator` | Locator.`find​(java.lang.Class<? extends IComponent> selector)` | Returns the first locator that is a descendant of the locator on which it is invoked that matches the specified class.
    `Locator` | Self.`find​(java.lang.Class<? extends IComponent> selector)` |
    `Locator` | Locator.`findChild​(java.lang.Class<? extends IComponent> selector)` | Returns the first locator that is a direct child of the locator on which it is invoked that matches the specified class.
    `Locator` | Self.`findChild​(java.lang.Class<? extends IComponent> selector)` |
    `Locator` | Locator.`firstChild()` | Returns the first child of the locator on which it is invoked that matches the specified class.
    `Locator` | Self.`firstChild()` |
    `Locator` | Locator.`lastChild()` | Returns the last child of the locator on which it is invoked that matches the specified class.
    `Locator` | Self.`lastChild()` |
    `Locator` | Locator.`nextSibling()` | Returns the next sibling of the locator on which it is invoked that matches the specified class.
    `Locator` | Self.`nextSibling()` |
    `static <I extends IComponent> Locator` | Locator.`of​(I iComponent)` | Returns a locator to the given `IComponent`.
    `static <T extends Component> Locator` | Locator.`of​(java.lang.String uuid)` | Returns a locator to the given uuid.
    `static <T extends Component> Locator` | Locator.`of​(T component)` | Returns a locator to the given `Component`.
    `static <T extends Component> Locator` | Locator.`ofId​(java.lang.String id)` | Returns a locator to the given id of `IComponent`.
    `Locator` | Locator.`previousSibling()` | Returns the previous sibling of the locator on which it is invoked that matches the specified class.
    `Locator` | Self.`previousSibling()` |

    Methods in org.zkoss.stateless.ui with parameters of type Locator
    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.
    `<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 <I extends IComponent> java.util.Collection<JavaScriptValue>` | UiAgentCtrl.`redraw​(Locator locator, java.util.Collection<I> children)` | An utilities to create an array of JavaScript objects (`JavaScriptValue`) that can be used to mount the specified widget at the clients.
    `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.
    `static <I extends IComponent> void` | UiAgentCtrl.`smartUpdate​(Locator locator, java.lang.String attr, boolean value)` | A special smart update to update a value in boolean.
    `static <I extends IComponent> void` | UiAgentCtrl.`smartUpdate​(Locator locator, java.lang.String attr, byte value)` | A special smart update to update a value in byte.
    `static <I extends IComponent> void` | UiAgentCtrl.`smartUpdate​(Locator locator, java.lang.String attr, char value)` | A special smart update to update a value in char.
    `static <I extends IComponent> void` | UiAgentCtrl.`smartUpdate​(Locator locator, java.lang.String attr, double value)` | A special smart update to update a value in double.
    `static <I extends IComponent> void` | UiAgentCtrl.`smartUpdate​(Locator locator, java.lang.String attr, float value)` | A special smart update to update a value in float.
    `static <I extends IComponent> void` | UiAgentCtrl.`smartUpdate​(Locator locator, java.lang.String attr, int value)` | A special smart update to update a value in int.
    `static <I extends IComponent> void` | UiAgentCtrl.`smartUpdate​(Locator locator, java.lang.String attr, long value)` | A special smart update to update a value in long.
    `static <I extends IComponent> void` | UiAgentCtrl.`smartUpdate​(Locator locator, java.lang.String attr, java.lang.Object value)` | A special smart update to update a value in Object.
    `static <I extends IComponent> void` | UiAgentCtrl.`smartUpdate​(Locator locator, java.lang.String attr, java.lang.Object value, boolean append)` | A special smart update to update a value in Object.