public final class DisplayMode extends Object
Display.
getAvailableDisplayModes() method.| Constructor and Description |
|---|
DisplayMode(int width,
int height)
Construct a display mode.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(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 iff this instance can be used for fullscreen modes
|
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(Object obj)
DisplayMode equalityequals in class ObjectObject.equals(Object)public int hashCode()
hashCode in class ObjectObject.hashCode()public String toString()
DisplayModetoString in class ObjectObject.toString()Copyright © 2002-2009 lwjgl.org. All Rights Reserved.