JavaFX: Bringing Rich Experiences To All the Screens Of Your Life

Profile: desktop, common

Overview

Fades between two nodes, at the same time as the existing node shrinks towards the center of the WipePanel and the new node expands in its place.

Inherited Variables

com.jfxia.wipe.Wipe

accessnametypeCan ReadCan InitCan WriteDefault Valuedescription
publictimeDuration

Duration of the wipe effect.

Inherited Functions

com.jfxia.wipe.Wipe

public abstract postWipe(wp: WipePanel, frm: Node, to: Node) : Void

Called after the wipe ends.

Called after the wipe ends. Any clean up should be done here, and the 'to' node should be hooked into the WipePanel as its only child. Important: this function is called even if the wipe was abandoned mid-way through, so do not assume the 'to' node is in its final state.

Parameters
wp
The containing panel
frm
The node showing at the start of the wipe
to
The node showing at the end of the wipe
 
public abstract preWipe(wp: WipePanel, frm: Node, to: Node) : Void

Called before the wipe begins.

Called before the wipe begins. If the wipe needs to perform any prep before running, or clean up from a previous run, this is where it should be done.

Parameters
wp
The containing panel
frm
The node showing at the start of the wipe
to
The node showing at the end of the wipe
 
public abstract wipe(wp: WipePanel, frm: Node, to: Node) : javafx.animation.Timeline

Creates a timeline object that performs the wipe.

Creates a timeline object that performs the wipe.

Parameters
wp
The containing panel
frm
The node showing at the start of the wipe
to
The node showing at the end of the wipe
Returns
Timeline