Uses of Class
com.ultikits.ultitools.abstracts.gui.declarative.core.Element
Packages that use Element
Package
Description
Core types for the widget, element and render-node trees.
The rendering engine and GUI base classes: build, diff, schedule.
The bundled widget library.
-
Uses of Element in com.ultikits.ultitools.abstracts.gui.declarative.core
Subclasses of Element in com.ultikits.ultitools.abstracts.gui.declarative.coreModifier and TypeClassDescriptionclassComponentElement is the base Element class for Elements that hold a child Widget.classRenderObjectElement is the Element that corresponds to a RenderNode.classThe Element corresponding to a StatefulWidget.classThe Element corresponding to a StatelessWidget.Fields in com.ultikits.ultitools.abstracts.gui.declarative.core declared as ElementModifier and TypeFieldDescriptionprivate @Nullable ElementComponentElement._childprivate @Nullable ElementElement._parentprivate @Nullable ElementBuildContext.Builder.parentElementprivate final @Nullable ElementBuildContext.parentElementFields in com.ultikits.ultitools.abstracts.gui.declarative.core with type parameters of type ElementMethods in com.ultikits.ultitools.abstracts.gui.declarative.core that return ElementModifier and TypeMethodDescriptionprivate @NotNull ElementElement.createAndMountChild(@NotNull Widget newWidget) Creates the Element fornewWidgetand mounts it under this Element -- the single creation path for every child, whether it is new, a replacement, or part of a layout element's first mount.@NotNull ElementStatefulWidget.createElement()@NotNull ElementStatelessWidget.createElement()abstract @NotNull ElementWidget.createElement()Creates the Element corresponding to this Widget.@Nullable ElementElement.getParent()Gets the parent Element.@Nullable ElementBuildContext.getParentElement()Gets the parent Element.protected @Nullable ElementElement.updateChild(@Nullable Widget newWidget, @Nullable Element oldChild) Updates a single child Element.Methods in com.ultikits.ultitools.abstracts.gui.declarative.core that return types with arguments of type ElementModifier and TypeMethodDescriptionComponentElement.getChildren()Element.getChildren()Gets the list of child Elements.Methods in com.ultikits.ultitools.abstracts.gui.declarative.core with parameters of type ElementModifier and TypeMethodDescriptionprotected voidAdds a child Element.booleanChecks whether this Widget can update the given Element.@NotNull BuildContextCreates a child Context for this Context.private static booleanElement.containsIdentity(@NotNull List<Element> elements, @NotNull Element target) static intComputes an Element's depth by walking itsgetParent()chain -- an iterative loop, not recursion, so computing the depth itself can never contribute to the stack exhaustion this guard exists to prevent.voidElement.markChildNeedsBuild(@NotNull Element child) Marks a child Element as needing a rebuild.voidvoidMounts this Element into the tree.voidvoidBuildContext.Builder.parentElement(@Nullable Element parentElement) protected @Nullable ElementElement.updateChild(@Nullable Widget newWidget, @Nullable Element oldChild) Updates a single child Element.Method parameters in com.ultikits.ultitools.abstracts.gui.declarative.core with type arguments of type ElementModifier and TypeMethodDescriptionprivate static booleanElement.containsIdentity(@NotNull List<Element> elements, @NotNull Element target) protected voidElement.updateChildren(@NotNull List<Element> ownedChildren, @NotNull List<Widget> newWidgets) Reconciles the caller's owned child Elements against a list of new Widgets, pairing bySlotKeywhere a Widget declares one and falling back to positional (index) pairing where it does not -- so a caller that never supplies a key sees exactly the same index-based behaviour this method replaces. -
Uses of Element in com.ultikits.ultitools.abstracts.gui.declarative.engine
Fields in com.ultikits.ultitools.abstracts.gui.declarative.engine declared as ElementMethods in com.ultikits.ultitools.abstracts.gui.declarative.engine with parameters of type ElementModifier and TypeMethodDescriptionprivate @NotNull List<RenderNode> GuiRenderer.collectRenderNodes(@NotNull Element element) Collects every RenderNode (post-order traversal).private voidGuiRenderer.collectRenderNodesRecursive(@NotNull Element element, @NotNull List<RenderNode> nodes) private voidGuiRenderer.rebuildElement(@NotNull Element element) Recursively rebuilds the Element tree. -
Uses of Element in com.ultikits.ultitools.abstracts.gui.declarative.widgets
Subclasses of Element in com.ultikits.ultitools.abstracts.gui.declarative.widgetsModifier and TypeClassDescriptionclassThe Element counterpart of Container.classThe Element counterpart of GridView.classThe RenderObjectElement counterpart of ItemDisplay.classThe RenderObjectElement counterpart of TextButton.Fields in com.ultikits.ultitools.abstracts.gui.declarative.widgets with type parameters of type ElementMethods in com.ultikits.ultitools.abstracts.gui.declarative.widgets that return ElementModifier and TypeMethodDescription@NotNull ElementContainer.createElement()@NotNull ElementGridView.createElement()Methods in com.ultikits.ultitools.abstracts.gui.declarative.widgets that return types with arguments of type ElementMethods in com.ultikits.ultitools.abstracts.gui.declarative.widgets with parameters of type ElementModifier and TypeMethodDescriptionprivate static voidGridViewElement.collectRenderNodeLeaves(@NotNull Element element, @NotNull List<RenderNode> out) voidvoidprivate static voidGridViewElement.rebuildSubtree(@NotNull Element element) Rebuildselement's complete dirty subtree inGuiRenderer.rebuildElement's order: rebuild the node if it is dirty, then descend into its children as they are after that rebuild.