fullscreen
Class FullScreenTools

java.lang.Object
  extended by fullscreen.FullScreenTools

public class FullScreenTools
extends Object

A bunch of useful functions.

Author:
hansi

Constructor Summary
FullScreenTools()
           
 
Method Summary
static GraphicsDevice[] devices()
          Returns all screen devices in the system
static GraphicsDevice getScreenDevice(int screenNr)
          Finds a graphics device with a certain number.
static boolean isGL(PApplet dad)
          Checks whether an applet inherits from PGraphicsOpenGL
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FullScreenTools

public FullScreenTools()
Method Detail

getScreenDevice

public static GraphicsDevice getScreenDevice(int screenNr)
Finds a graphics device with a certain number. If that device doesn't exist the graphics device belonging to the first screen in the system will be returned.

Parameters:
screenNr - The number of the screen
Returns:
The graphics device

devices

public static GraphicsDevice[] devices()
Returns all screen devices in the system


isGL

public static boolean isGL(PApplet dad)
Checks whether an applet inherits from PGraphicsOpenGL

Parameters:
dad - The applet
Returns:
true, or false.


processing fullscreen api library by hansi, 2009.