Skip to content

NodeWatchEvent

final class NodeWatchEvent<N extends Node>
Extends: NodeEvent<N>
Package: dev.joid.lib.ui.event.impl.node · Module: core · Source: NodeWatchEvent.java

The event of onWatch, which fires after a watch of a node applied its properties.

Node.watch applies its properties each time its signal changes, then fires Node.onWatch.

ReturnsSignatureSummary
NodeWatchEvent<N>create(N node, Object value, WatchProperty… properties) factoryCreates the event for a node, the value of the watched signal and the properties applied.

ReturnsSignatureSummary
ObjectgetValue()Returns the value of the watched signal after the change.
List<WatchProperty>getProperties()Returns the properties that the watch applied, as a read-only list.
Inherited from NodeEvent (1)

getNode

<N extends Node> NodeWatchEvent<N> create(N node, Object value, WatchProperty... properties) factory

Creates the event for a node, the value of the watched signal and the properties applied.

Object getValue()

Returns the value of the watched signal after the change.

List<WatchProperty> getProperties()

Returns the properties that the watch applied, as a read-only list.


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