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

Profile: desktop, common

Overview

A 3D wipe which swings nodes on or off of the display, anchored by a given edge or corner.

Script Variable Summary

accessnametypeCan ReadCan InitCan WriteDefault Valuedescription
publicBOTTOMInteger

Wipe from/to the bottom edge.

publicBOTTOM_LEFTInteger

Wipe from/to the bottom left corner, outwards.

publicBOTTOM_RIGHTInteger

Wipe from/to the bottom right corner, outwards.

publicINInteger

New node swings in, hiding existing node.

publicLEFTInteger

Wipe from/to the left edge.

publicOUTInteger

Existing node swings away, revealing new node.

publicRIGHTInteger

Wipe from/to the right edge.

publicTOPInteger

Wipe from/to the top edge.

publicTOP_LEFTInteger

Wipe from/to the top left corner, outwards.

publicTOP_RIGHTInteger

Wipe from/to the top right corner, outwards.

Variable Summary

accessnametypeCan ReadCan InitCan WriteDefault Valuedescription
publicanchorInteger

Anchor of the wipe: which edge or a corner provides the 'hinge' (default: LEFT).

publicdirectionInteger

Direction of the wipe (default: IN).

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