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.
Description
Section titled “Description”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.
Learn more
Section titled “Learn more”Creation
Section titled “Creation”| Returns | Signature | Summary |
|---|---|---|
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. |
Methods
Section titled “Methods”Inherited from NodeScrollEvent (3)
Creation details
Section titled “Creation details”create
Section titled “create”<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
