nl.tudelft.simulation.language.swing
Class ScreenManager

java.lang.Object
  extended bynl.tudelft.simulation.language.swing.ScreenManager

public class ScreenManager
extends java.lang.Object

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

(c) copyright 2004 Delft University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: General Public License (GPL) , no warranty

Version:
1.0 Mar 18, 2004
Author:
Stijn-Pieter van Houten

Constructor Summary
ScreenManager()
          Constructs a new ScreenManager.
 
Method Summary
 java.awt.Window getFullScreenWindow()
          Method getFullScreenWindow.
 void restoreScreen()
          Method restoreScreen.
 void setFullScreen(javax.swing.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(javax.swing.JFrame window)
Method setFullScreen. Enters full screen mode and changes the display mode.

Parameters:
window - The window to show full screen.

getFullScreenWindow

public java.awt.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-2004 Delft University of Technology, the Netherlands. All Rights Reserved.