public class DefaultPivotWindowDisplayHandler extends Object implements PivotWindowDisplayHandler
Constructor and Description |
---|
DefaultPivotWindowDisplayHandler(org.apache.pivot.wtk.Display display) |
Modifier and Type | Method and Description |
---|---|
void |
hide(String name,
org.apache.pivot.wtk.Window window)
Callback for hiding a window.
|
void |
show(String name,
org.apache.pivot.wtk.Window window)
Callback for displaying a window.
|
@Inject public DefaultPivotWindowDisplayHandler(@Nonnull org.apache.pivot.wtk.Display display)
public void show(@Nonnull String name, @Nonnull org.apache.pivot.wtk.Window window)
WindowDisplayHandler
show
in interface WindowDisplayHandler<org.apache.pivot.wtk.Window>
window
- the window to be displayedpublic void hide(@Nonnull String name, @Nonnull org.apache.pivot.wtk.Window window)
WindowDisplayHandler
hide
in interface WindowDisplayHandler<org.apache.pivot.wtk.Window>
window
- the window to hide