NodeFieldChangeEvent.Post
final class NodeFieldChangeEvent.Post<N extends Node, V>
Extends: NodeFieldChangeEvent<N,V>
Package: dev.joid.lib.ui.event.impl.node · Module: core · Source: NodeFieldChangeEvent.java
The event of onChange on a field, which fires once its text changed.
Description
Section titled “Description”It fires on each real change of the text, whatever its source: typing, a setter, a bound signal or change(...).
Learn more
Section titled “Learn more”Creation
Section titled “Creation”| Returns | Signature | Summary |
|---|---|---|
Post<N,V> | create(N node, String previous, String text, V value, boolean valid) factory | Creates the event for a field, the previous text, the new text, the value read from it and whether it is valid. |
Methods
Section titled “Methods”Inherited from NodeFieldChangeEvent (4)
getValue · getText · isValid · getPrevious
Creation details
Section titled “Creation details”create
Section titled “create”<N extends Node, V> Post<N,V> create(N node, String previous, String text, V value, boolean valid) factory
Creates the event for a field, the previous text, the new text, the value read from it and whether it is valid.
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
