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

public final Class Ping

extends BaseWindowEffect
Class Inheritance
Imports
javafx.animation.Interpolator, .KeyFrame, .KeyValue, .Timeline, javafx.geometry.Bounds, javafx.scene.Node, javafx.scene.layout.Pane, javafx.scene.shape.Circle, javafx.util.Duration, org.jabref.gui.walkthrough.utils.WalkthroughUtils, org.jspecify.annotations.NonNull

Field Summary

Modifier and TypeField and Description
public static final int
private Node
private Circle
private Timeline
private static final Duration
private Timeline
Inherited from org.jabref.gui.walkthrough.effects.BaseWindowEffect:
panesubscriptions

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
public void
detach()

Overrides org.jabref.gui.walkthrough.effects.BaseWindowEffect.detach.

The effect is no longer usable and permanently removed from the scene graph.

protected void
public void
protected void
updateLayout()

Implements abstract org.jabref.gui.walkthrough.effects.BaseWindowEffect.updateLayout.

Updates the layout of the effect.

Inherited from org.jabref.gui.walkthrough.effects.BaseWindowEffect:
cleanupListenerssetupListenerssetupPaneListeners

Field Detail

INDICATOR_OFFSETback to summary
public static final int INDICATOR_OFFSET
nodeback to summary
private Node node
pingback to summary
private Circle ping
pingAnimationback to summary
private Timeline pingAnimation
TRANSITION_DURATIONback to summary
private static final Duration TRANSITION_DURATION
transitionAnimationback to summary
private Timeline transitionAnimation

Constructor Detail

Pingback to summary
public Ping(@NonNull Pane pane)

Method Detail

attachback to summary
public void attach(@NonNull Node node)
detachback to summary
public void detach()

Overrides org.jabref.gui.walkthrough.effects.BaseWindowEffect.detach.

Doc from org.jabref.gui.walkthrough.effects.BaseWindowEffect.detach.

The effect is no longer usable and permanently removed from the scene graph. To use this effect again, you can ONLY create a new instance of BaseWindowEffect.

Annotations
@Override
hideEffectback to summary
protected void hideEffect()

Implements abstract org.jabref.gui.walkthrough.effects.BaseWindowEffect.hideEffect.

Doc from org.jabref.gui.walkthrough.effects.BaseWindowEffect.hideEffect.

Hides the effect. The WalkthroughEffect can still be shown again after this method is called by calling BaseWindowEffect#updateLayout(), either manually or due to a layout change in the pane or the target node.

Annotations
@Override
transitionToback to summary
public void transitionTo(@NonNull Node newNode)
updateLayoutback to summary
protected void updateLayout()

Implements abstract org.jabref.gui.walkthrough.effects.BaseWindowEffect.updateLayout.

Doc from org.jabref.gui.walkthrough.effects.BaseWindowEffect.updateLayout.

Updates the layout of the effect. This method is called whenever the pane or the target node (if any) changes its size or position.

Annotations
@Override