Verified Owner
Top Fields Constructors Methods
org.jabref.gui.walkthrough.utils

public Class WalkthroughScroller

extends Object
Class Inheritance
Imports
java.util.ArrayList, .List, javafx.geometry.Bounds, javafx.scene.Node, .Parent, javafx.scene.control.ListView, .ScrollPane, .TableView, .TreeView, org.jabref.gui.util.ScrollUtils, com.tobiasdiez.easybind.EasyBind, com.tobiasdiez.easybind.Subscription, org.jspecify.annotations.NonNull, org.slf4j.Logger, .LoggerFactory

Field Summary

Modifier and TypeField and Description
private final WalkthroughUtils.DebouncedInvalidationListener
private static final Logger
private final List<com.tobiasdiez.easybind.Subscription>
subscriptions

Mutable list of all Subscription of parent bounds and node position

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
private int
findItemIndex(Node targetNode, Node container, int itemCount, double fixedCellSize)

private List<Node>
private boolean
private void
private void
private void
private void
scrollNodeIntoView(@NonNull Node targetNode, @NonNull List<Node> scrollableParents)

private void
scrollNodeIntoViewForParent(@NonNull Node targetNode, @NonNull Node scrollableParent)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

debouncedScrollerback to summary
private final WalkthroughUtils.DebouncedInvalidationListener debouncedScroller
LOGGERback to summary
private static final Logger LOGGER
subscriptionsback to summary
private final List<com.tobiasdiez.easybind.Subscription> subscriptions

Mutable list of all Subscription of parent bounds and node position

Constructor Detail

WalkthroughScrollerback to summary
public WalkthroughScroller(@NonNull Node node)

Method Detail

cleanupback to summary
public void cleanup()
findItemIndexback to summary
private int findItemIndex(Node targetNode, Node container, int itemCount, double fixedCellSize)
findScrollableParentsback to summary
private List<Node> findScrollableParents(@NonNull Node node)
isScrollableback to summary
private boolean isScrollable(@NonNull Node node)
scrollIntoListViewback to summary
private void scrollIntoListView(@NonNull Node targetNode, @NonNull ListView<?> listView)
scrollIntoTableViewback to summary
private void scrollIntoTableView(@NonNull Node targetNode, @NonNull TableView<?> tableView)
scrollIntoTreeViewback to summary
private void scrollIntoTreeView(@NonNull Node targetNode, @NonNull TreeView<?> treeView)
scrollNodeIntoViewback to summary
private void scrollNodeIntoView(@NonNull Node targetNode, @NonNull List<Node> scrollableParents)
scrollNodeIntoViewForParentback to summary
private void scrollNodeIntoViewForParent(@NonNull Node targetNode, @NonNull Node scrollableParent)