Uses of Interface
org.zkoss.stateless.ui.Locator
Packages that use Locator
Package
Description
-
Uses of Locator in org.zkoss.stateless.action.data
Methods in org.zkoss.stateless.action.data that return LocatorModifier and TypeMethodDescriptionDropData.getDragged()Returns the component locator being dragged and drop toSelf.OpenData.getReference()Returns the reference that causesSelfto be opened. -
Uses of Locator in org.zkoss.stateless.state
Constructors in org.zkoss.stateless.state with parameters of type LocatorModifierConstructorDescriptionDeferredRedraw(Locator locator, Collection<? extends IListitemBase> items) -
Uses of Locator in org.zkoss.stateless.ui
Classes in org.zkoss.stateless.ui that implement LocatorModifier and TypeClassDescriptionfinal classA target to locate a location at client forIComponentMethods in org.zkoss.stateless.ui that return LocatorModifier and TypeMethodDescriptionLocator.child(int nth) Returns the first locator that is the nth child of the locator.Self.child(int nth) Locator.closest(Class<? extends IComponent> iClass) Traverses the locator and its parents until it finds a widget that matches the provided selector iClass.Self.closest(Class<? extends IComponent> selector) Locator.find(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.Self.find(Class<? extends IComponent> selector) Locator.findChild(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.Self.findChild(Class<? extends IComponent> selector) Locator.firstChild()Returns the first child of the locator on which it is invoked that matches the specified class.Self.firstChild()Locator.lastChild()Returns the last child of the locator on which it is invoked that matches the specified class.Self.lastChild()Locator.nextSibling()Returns the next sibling of the locator on which it is invoked that matches the specified class.Self.nextSibling()static <I extends IComponent>
LocatorLocator.of(I iComponent) Returns a locator to the givenIComponent.static <T extends org.zkoss.zk.ui.Component>
LocatorReturns a locator to the given uuid.static <T extends org.zkoss.zk.ui.Component>
LocatorLocator.of(T component) Returns a locator to the givenComponent.static <T extends org.zkoss.zk.ui.Component>
LocatorReturns a locator to the given id ofIComponent.Locator.previousSibling()Returns the previous sibling of the locator on which it is invoked that matches the specified class.Self.previousSibling()Methods in org.zkoss.stateless.ui with parameters of type LocatorModifier and TypeMethodDescription<I extends IComponent>
UiAgentUiAgent.appendChild(Locator locator, I newChild) Adds the specified child component as the last child to the current locator.<I extends IComponent>
UiAgentUiAgent.insertAdjacentComponent(Locator locator, UiAgent.Position position, I newChild) Inserts a given newChild at a givenUiAgent.Positionrelative to the locator component it is invoked upon.<I extends IComponent>
UiAgentUiAgent.insertAfterBegin(Locator locator, I newChild) Inserts a given newChild just inside the locator before its first child.<I extends IComponent>
UiAgentUiAgent.insertAfterEnd(Locator locator, I newChild) Inserts a given newChild after the locator itself.<I extends IComponent>
UiAgentUiAgent.insertBefore(Locator locator, I newChild, int childIndex) Inserts the given newChild just inside the locator, before its n-th child.<I extends IComponent>
UiAgentUiAgent.insertBeforeBegin(Locator locator, I newChild) Inserts a given newChild before the locator itself.<I extends IComponent>
UiAgentUiAgent.insertBeforeEnd(Locator locator, I newChild) Inserts a given newChild just inside the locator after its last child.static <I extends IComponent>
Collection<org.zkoss.json.JavaScriptValue>UiAgentCtrl.redraw(Locator locator, 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.Removes the given locator component.<I extends IComponent>
UiAgentUiAgent.replaceChild(Locator locator, I newChild, int childIndex) Replaces the given newChild just inside the locator with its n-th child.<I extends IComponent>
UiAgentUiAgent.replaceChildren(Locator locator) Removes the existing children of the given locator component.<I extends IComponent>
UiAgentUiAgent.replaceChildren(Locator locator, I... children) Replaces the existing children of the given locator component with a specified new set of childrenIComponents.<I extends IComponent>
UiAgentUiAgent.replaceChildren(Locator locator, List<I> children) Replaces the existing children of the given locator component with a specified new set of childrenIComponents.<I extends IComponent>
UiAgentUiAgent.replaceWith(Locator locator, I newComp) Replaces the given locator component in the children list of its parent with a given newIComponent.UiAgent.smartUpdate(Locator locator, SmartUpdater updater) A special smart update to update all the new data in the given updater.static <I extends IComponent>
voidUiAgentCtrl.smartUpdate(Locator locator, String attr, boolean value) A special smart update to update a value in boolean.static <I extends IComponent>
voidUiAgentCtrl.smartUpdate(Locator locator, String attr, byte value) A special smart update to update a value in byte.static <I extends IComponent>
voidUiAgentCtrl.smartUpdate(Locator locator, String attr, char value) A special smart update to update a value in char.static <I extends IComponent>
voidUiAgentCtrl.smartUpdate(Locator locator, String attr, double value) A special smart update to update a value in double.static <I extends IComponent>
voidUiAgentCtrl.smartUpdate(Locator locator, String attr, float value) A special smart update to update a value in float.static <I extends IComponent>
voidUiAgentCtrl.smartUpdate(Locator locator, String attr, int value) A special smart update to update a value in int.static <I extends IComponent>
voidUiAgentCtrl.smartUpdate(Locator locator, String attr, long value) A special smart update to update a value in long.static <I extends IComponent>
voidUiAgentCtrl.smartUpdate(Locator locator, String attr, Object value) A special smart update to update a value in Object.static <I extends IComponent>
voidUiAgentCtrl.smartUpdate(Locator locator, String attr, Object value, boolean append) A special smart update to update a value in Object.