Package jexer.effect
Class WindowWipeOutEffect
- java.lang.Object
-
- jexer.effect.WindowTransitionEffect
-
- jexer.effect.WindowWipeOutEffect
-
- All Implemented Interfaces:
Effect
public class WindowWipeOutEffect extends WindowTransitionEffect
Make the window wipe out from a side.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindowWipeOutEffect.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 WindowWipeOutEffect(TWindow window, WindowWipeOutEffect.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
-
WindowWipeOutEffect
public WindowWipeOutEffect(TWindow window, WindowWipeOutEffect.Direction direction)
Public contructor.- Parameters:
window- the window to wipe outdirection- 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
-
-