jjdh API

jjdh.opengl.initialization
Class FrameCreator

java.lang.Object
  extended by jjdh.opengl.initialization.FrameCreator

public class FrameCreator
extends Object


Field Summary
protected static GraphicsDevice defaultDevice
           
protected static GraphicsEnvironment environment
           
protected static Dimension STANDARD_DIMENSION
           
 
Constructor Summary
private FrameCreator()
          This is a Factory and should not be instantiated
 
Method Summary
protected static void createFrame(StandardSystemContext context, OpenGLProgram program)
           
protected static void createFrame(StandardSystemContext context, OpenGLProgram program, boolean fullscreenDesired, DisplayMode newMode)
           
protected static void createFrame(StandardSystemContext context, OpenGLProgram program, Dimension dimension)
           
static DisplayMode getDisplayMode()
           
static DisplayMode[] getDisplayModes()
           
protected static void setDisplayMode(DisplayMode newMode)
           
protected static void setFullScreenWindow(Window window)
           
static void shutdown()
           
static boolean supportsDisplayChange()
           
static boolean supportsFullscreen()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STANDARD_DIMENSION

protected static Dimension STANDARD_DIMENSION

environment

protected static final GraphicsEnvironment environment

defaultDevice

protected static final GraphicsDevice defaultDevice
Constructor Detail

FrameCreator

private FrameCreator()
This is a Factory and should not be instantiated

Method Detail

supportsFullscreen

public static boolean supportsFullscreen()

supportsDisplayChange

public static boolean supportsDisplayChange()

getDisplayModes

public static DisplayMode[] getDisplayModes()

getDisplayMode

public static DisplayMode getDisplayMode()

shutdown

public static void shutdown()

setFullScreenWindow

protected static void setFullScreenWindow(Window window)

setDisplayMode

protected static void setDisplayMode(DisplayMode newMode)

createFrame

protected static void createFrame(StandardSystemContext context,
                                  OpenGLProgram program)

createFrame

protected static void createFrame(StandardSystemContext context,
                                  OpenGLProgram program,
                                  Dimension dimension)

createFrame

protected static void createFrame(StandardSystemContext context,
                                  OpenGLProgram program,
                                  boolean fullscreenDesired,
                                  DisplayMode newMode)

jjdh API

Copyright © 2006 Jonas Jacobi and Dennis Heidsiek. All Rights Reserved.