Skip to content

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.

It fires on each real change of the text, whatever its source: typing, a setter, a bound signal or change(...).

ReturnsSignatureSummary
Post<N,V>create(N node, String previous, String text, V value, boolean valid) factoryCreates the event for a field, the previous text, the new text, the value read from it and whether it is valid.

Inherited from NodeFieldChangeEvent (4)

getValue · getText · isValid · getPrevious

Inherited from NodeEvent (1)

getNode

<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

Report a problem with this page