|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.lwjgl.opengl.DisplayMode
public final class DisplayMode
This class encapsulates the properties for a given display mode.
This class is not instantiable, and is aquired from the Display.
getAvailableDisplayModes() method.
| Constructor Summary | |
|---|---|
DisplayMode(int width,
int height)
Construct a display mode. |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DisplayMode(int width,
int height)
width - The Display width.height - The Display height.Display| Method Detail |
|---|
public boolean isFullscreenCapable()
public int getWidth()
public int getHeight()
public int getBitsPerPixel()
public int getFrequency()
public boolean equals(java.lang.Object obj)
DisplayMode equality
equals in class java.lang.ObjectObject.equals(Object)public int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()public java.lang.String toString()
DisplayMode
toString in class java.lang.ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||