|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.lwjgl.opengl.XRandR
public class XRandR
Utility for working with the xrandr commmand-line utility. Assumes xrandr v1.2 or higher.
Nested Class Summary | |
---|---|
static class |
XRandR.Screen
Encapsulates the configuration of a monitor. |
Constructor Summary | |
---|---|
XRandR()
|
Method Summary | |
---|---|
static XRandR.Screen[] |
getConfiguration()
|
static XRandR.Screen[] |
getResolutions(java.lang.String name)
|
static java.lang.String[] |
getScreenNames()
|
static void |
setConfiguration(XRandR.Screen... screens)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XRandR()
Method Detail |
---|
public static XRandR.Screen[] getConfiguration()
public static void setConfiguration(XRandR.Screen... screens)
screens
- The desired screen set, may not be null
java.lang.IllegalArgumentException
- if no screens are specifiedpublic static java.lang.String[] getScreenNames()
public static XRandR.Screen[] getResolutions(java.lang.String name)
name
-
null
if there is no such screen
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |