NodeChildEvent
final class NodeChildEvent<N extends Node>
Extends: NodeEvent<N>
Package: dev.joid.lib.ui.event.impl.node · Module: core · Source: NodeChildEvent.java
The event of onChildAppend, with the child added to a node.
Description
Section titled “Description”Node.onChildAppend fires each time a child joins the node.
Learn more
Section titled “Learn more”Creation
Section titled “Creation”| Returns | Signature | Summary |
|---|---|---|
NodeChildEvent<N> | create(N node, Node child) factory | Creates the event for a node and its new child. |
Methods
Section titled “Methods”| Returns | Signature | Summary |
|---|---|---|
Node | getChild() | Returns the child that joined the node. |
Creation details
Section titled “Creation details”create
Section titled “create”<N extends Node> NodeChildEvent<N> create(N node, Node child) factory
Creates the event for a node and its new child.
Method details
Section titled “Method details”getChild
Section titled “getChild”Node getChild()
Returns the child that joined the node.
fluent returns the instance, typed for chaining · factory creates an instance · signal also accepts a value that follows signals, as a signal, an expression or a lambda (When does JOID compute this value again?) · hook called by JOID, override it · abstract you implement it · default interface method with a body · static called on the class · protected visible to subclasses
