Overview
A wipe-supporting container. This node class acts like any other JavaFX container, except it can only have once child, that can be changed using an assigned wipe effect.
This class is at the heart of the wipe library. A WipePanel can be plugged into the scene graph like any other container, except for two things: a Wipe subclass can be assigned to act as a transition effect, and an event function can be declared to run when the transition is over. To kick off a wipe transition, and change the WipePanel's contents, call the next() function,wiper = WipePanel {
content: [ node1 ]
wipe: FadeWipe { time: 1s }
action: function() { println("Done"); }
}
// ...
wiper.next(node2);
Variable Summary
| access | name | type | Can Read | Can Init | Can Write | Default Value | description |
|---|---|---|---|---|---|---|---|
| public | action | function():Void | ![]() | ![]() | ![]() |
Function to call when wipe is finished. |
|
| public | wipe | Wipe | ![]() | ![]() | ![]() |
Wipe effect to apply whenever next() is called. |
Inherited Variables
Function Summary
- public next(to: Node) : Void

