public interface ScreenDockFullscreenStrategy
ScreenDockWindow
s. This
strategy defines what "fullscreen" means, and offers methods to switch a window between
normal- and fullscreen-mode.Modifier and Type | Method and Description |
---|---|
void |
install(ScreenDockStation station)
Informs this strategy that it will be used for
station . |
boolean |
isFullscreen(ScreenDockWindow window)
Tells whether
window is in fullscreen mode. |
void |
setFullscreen(ScreenDockWindow window,
boolean fullscreen)
Changes the fullscreen mode of
window , does nothing if this strategy cannot handle the
type of window . |
void |
uninstall(ScreenDockStation station)
Informs this strategy that it will no longer be used for
station . |
void install(ScreenDockStation station)
station
.station
- some station using this strategyvoid uninstall(ScreenDockStation station)
station
.station
- some station that is no longer using this strategyboolean isFullscreen(ScreenDockWindow window)
window
is in fullscreen mode. If this strategy cannot handle
window
it returns false
.window
- some window of a known stationtrue
if window
is in fullscreen mode, false
otherwisevoid setFullscreen(ScreenDockWindow window, boolean fullscreen)
window
, does nothing if this strategy cannot handle the
type of window
.window
- some window of a known stationfullscreen
- the new state