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 iff 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.Display
public 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.Object
Object.equals(Object)
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public java.lang.String toString()
DisplayMode
toString
in class java.lang.Object
Object.toString()
Copyright © 2002-2009 lwjgl.org. All Rights Reserved.