bibliothek.gui.dock.station.screen
Interface ScreenDockFullscreenStrategy

All Known Implementing Classes:
DefaultScreenDockFullscreenStrategy

public interface ScreenDockFullscreenStrategy

This strategy is used to manage the fullscreen mode of ScreenDockWindows. This strategy defines what "fullscreen" means, and offers methods to switch a window between normal- and fullscreen-mode.

Author:
Benjamin

Method Summary
 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.
 

Method Detail

install

void install(ScreenDockStation station)
Informs this strategy that it will be used for station.

Parameters:
station - some station using this strategy

uninstall

void uninstall(ScreenDockStation station)
Informs this strategy that it will no longer be used for station.

Parameters:
station - some station that is no longer using this strategy

isFullscreen

boolean isFullscreen(ScreenDockWindow window)
Tells whether window is in fullscreen mode. If this strategy cannot handle window it returns false.

Parameters:
window - some window of a known station
Returns:
true if window is in fullscreen mode, false otherwise

setFullscreen

void setFullscreen(ScreenDockWindow window,
                   boolean fullscreen)
Changes the fullscreen mode of window, does nothing if this strategy cannot handle the type of window.

Parameters:
window - some window of a known station
fullscreen - the new state