Skip to content

NodeScrollEvent.Post

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

The event of onScroll, onScrollToEnd and onScrollEndReached, which fires once a node scrolled.

Node.onScroll fires when the target offset changes, Node.onScrollToEnd when a scroll heads for the end of the content, and Node.onScrollEndReached when the content arrives there.

ReturnsSignatureSummary
Post<N>create(N node, Axis axis, double previous, double offset) factoryCreates the event for a node, the axis, the previous offset and the new one.

Inherited from NodeScrollEvent (3)

getAxis · getOffset · getPrevious

Inherited from NodeEvent (1)

getNode

<N extends Node> Post<N> create(N node, Axis axis, double previous, double offset) factory

Creates the event for a node, the axis, the previous offset and the new one.


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