Package jexer.effect
Class WindowWipeInEffect
- java.lang.Object
-
- jexer.effect.WindowTransitionEffect
-
- jexer.effect.WindowWipeInEffect
-
- All Implemented Interfaces:
Effect
public class WindowWipeInEffect extends WindowTransitionEffect
Make the window wipe in from a side.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindowWipeInEffect.DirectionDirection of wipe.-
Nested classes/interfaces inherited from class jexer.effect.WindowTransitionEffect
WindowTransitionEffect.DummyWindow
-
-
Field Summary
-
Fields inherited from class jexer.effect.WindowTransitionEffect
dummyWindow
-
-
Constructor Summary
Constructors Constructor Description WindowWipeInEffect(TWindow window, WindowWipeInEffect.Direction direction)Public contructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddrawEffect()The draw function called by the DummyScreen.booleanisCompleted()If true, the effect is completed and can be removed.voidupdate()Update the effect.
-
-
-
Constructor Detail
-
WindowWipeInEffect
public WindowWipeInEffect(TWindow window, WindowWipeInEffect.Direction direction)
Public contructor.- Parameters:
window- the window to wipe indirection- the direction of the wipe effect
-
-
Method Detail
-
update
public void update()
Update the effect.
-
isCompleted
public boolean isCompleted()
If true, the effect is completed and can be removed.- Returns:
- true if this effect is finished
-
drawEffect
protected void drawEffect()
The draw function called by the DummyScreen.- Overrides:
drawEffectin classWindowTransitionEffect
-
-