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

Profile: desktop, common

Overview

A split screen wipe in which one node is gradually revealed in place over another. Effectively the wipe is an expanding rectangular viewport, that can start from either an edge of the screen or a corner.

Script Variable Summary

accessnametypeCan ReadCan InitCan WriteDefault Valuedescription
publicBOTTOM_LEFTInteger

Wipe from the bottom left corner, outwards.

publicBOTTOM_RIGHTInteger

Wipe from the bottom right corner, outwards.

publicBOTTOM_TO_TOPInteger

Wipe from bottom to top (horizontal blinds).

publicCUSTOMInteger

Not supported, yet.

publicLEFT_TO_RIGHTInteger

Wipe from left to right (vertical blinds).

publicRIGHT_TO_LEFTInteger

Wipe from right to left (vertical blinds).

publicTOP_LEFTInteger

Wipe from the top left corner, outwards.

publicTOP_RIGHTInteger

Wipe from the top right corner, outwards.

publicTOP_TO_BOTTOMInteger

Wipe from top to bottom (horizontal blinds).

Variable Summary

accessnametypeCan ReadCan InitCan WriteDefault Valuedescription
publicdirectionInteger

Direction of the wipe (default: LEFT_TO_RIGHT).

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