nl.tudelft.simulation.language.swing
Class ScreenManager

java.lang.Object
  extended by nl.tudelft.simulation.language.swing.ScreenManager

public class ScreenManager
extends Object

The ScreenManager class manages initializing and displaying full screen graphics mode.

(c) copyright 2002-2005 Delft University of Technology , the Netherlands.

See for project information www.simulation.tudelft.nl/language
License of use: Lesser General Public License (LGPL) , no warranty

Version:
$Revision: 1.1 $ $Date: 2007/01/06 13:25:54 $
Author:
Stijn-Pieter van Houten

Constructor Summary
ScreenManager()
          Constructs a new ScreenManager.
 
Method Summary
 Window getFullScreenWindow()
          Method getFullScreenWindow.
 void restoreScreen()
          Method restoreScreen.
 void setFullScreen(JFrame window)
          Method setFullScreen.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScreenManager

public ScreenManager()
Constructs a new ScreenManager.

Method Detail

setFullScreen

public void setFullScreen(JFrame window)
Method setFullScreen. Enters full screen mode and changes the display mode.

Parameters:
window - The window to show full screen.

getFullScreenWindow

public Window getFullScreenWindow()
Method getFullScreenWindow.

Returns:
Returns the window currently used in full screen mode.

restoreScreen

public void restoreScreen()
Method restoreScreen. Restores the screen's display mode.



Copyright © 2002-2011 Delft University of Technology, the Netherlands. All Rights Reserved.