public final class DisplayMode
extends java.lang.Object
Display.
getAvailableDisplayModes() method.| Constructor and Description |
|---|
DisplayMode(int width,
int height)
Construct a display mode.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Tests for
DisplayMode equality |
int |
getBitsPerPixel() |
int |
getFrequency() |
int |
getHeight() |
int |
getWidth() |
int |
hashCode()
Retrieves the hashcode for this object
|
boolean |
isFullscreenCapable()
True if this instance can be used for fullscreen modes
|
java.lang.String |
toString()
Retrieves a String representation of this
DisplayMode |
public DisplayMode(int width,
int height)
width - The Display width.height - The Display height.Displaypublic boolean isFullscreenCapable()
public int getWidth()
public int getHeight()
public int getBitsPerPixel()
public int getFrequency()
public boolean equals(java.lang.Object obj)
DisplayMode equalityequals in class java.lang.ObjectObject.equals(Object)public int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()public java.lang.String toString()
DisplayModetoString in class java.lang.ObjectObject.toString()Copyright © 2002-2009 lwjgl.org. All Rights Reserved.