gestalt.context
Class DisplayCapabilities

java.lang.Object
  extended by gestalt.context.DisplayCapabilities

public class DisplayCapabilities
extends java.lang.Object

is a structure of properties defining the window. some of those properties need to be set before the window is instantiated, others can be set at runtime.


Field Summary
 int antialiasinglevel
           
 Color backgroundcolor
           
 Vector2i canvaslocation
           
 boolean centered
           
 boolean cursor
           
 int device
           
 boolean fullscreen
           
 boolean headless
           
 int height
           
 Vector2i location
           
 java.lang.String name
           
 int renderer
           
 boolean switchresolution
           
 boolean synctovblank
           
 boolean undecorated
           
 int width
           
 
Constructor Summary
DisplayCapabilities()
           
DisplayCapabilities(DisplayCapabilities theDisplayCapabilities)
           
DisplayCapabilities(java.lang.String theName, int theWidth, int theHeight, Vector2i theLocation, Vector2i theCanvasLocation, boolean theUndecorated, boolean theFullscreen, boolean theCentered, Color theBackgroundcolor, int theAntialiasinglevel, boolean theCursor, boolean theHeadless, boolean theSwitchResolution, boolean theSyncToVBlank, int theDevice, int theRenderer)
           
 
Method Summary
static DisplayCapabilities getFromFile(java.io.InputStream theFilename)
           
static int getRendererFromString(java.lang.String renderer)
           
static Vector2i getScreenSize()
           
static void listDisplayDevices()
           
static void main(java.lang.String[] args)
           
 void set(DisplayCapabilities theDisplayCapabilities)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

public java.lang.String name

width

public int width

height

public int height

location

public Vector2i location

canvaslocation

public Vector2i canvaslocation

undecorated

public boolean undecorated

fullscreen

public boolean fullscreen

centered

public boolean centered

backgroundcolor

public Color backgroundcolor

antialiasinglevel

public int antialiasinglevel

cursor

public boolean cursor

headless

public boolean headless

switchresolution

public boolean switchresolution

synctovblank

public boolean synctovblank

device

public int device

renderer

public int renderer
Constructor Detail

DisplayCapabilities

public DisplayCapabilities()

DisplayCapabilities

public DisplayCapabilities(java.lang.String theName,
                           int theWidth,
                           int theHeight,
                           Vector2i theLocation,
                           Vector2i theCanvasLocation,
                           boolean theUndecorated,
                           boolean theFullscreen,
                           boolean theCentered,
                           Color theBackgroundcolor,
                           int theAntialiasinglevel,
                           boolean theCursor,
                           boolean theHeadless,
                           boolean theSwitchResolution,
                           boolean theSyncToVBlank,
                           int theDevice,
                           int theRenderer)

DisplayCapabilities

public DisplayCapabilities(DisplayCapabilities theDisplayCapabilities)
Method Detail

getFromFile

public static DisplayCapabilities getFromFile(java.io.InputStream theFilename)

set

public void set(DisplayCapabilities theDisplayCapabilities)

getRendererFromString

public static int getRendererFromString(java.lang.String renderer)

getScreenSize

public static Vector2i getScreenSize()

listDisplayDevices

public static void listDisplayDevices()

main

public static void main(java.lang.String[] args)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


processing library gestalt_p5 by Patrick Kochlik + Dennis Paul. (c) 2009