gnu.x11.extension
Class DPMS
java.lang.Object
gnu.x11.extension.Extension
gnu.x11.extension.DPMS
public class DPMS
- extends Extension
Display Power Management Signaling Extension. The specification can be
found here (protocol).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MINOR_OPCODE_STRINGS
public static final java.lang.String[] MINOR_OPCODE_STRINGS
CLIENT_MAJOR_VERSION
public static final int CLIENT_MAJOR_VERSION
- See Also:
- Constant Field Values
CLIENT_MINOR_VERSION
public static final int CLIENT_MINOR_VERSION
- See Also:
- Constant Field Values
server_major_version
public int server_major_version
server_minor_version
public int server_minor_version
ON
public static final int ON
- See Also:
- Constant Field Values
STAND_BY
public static final int STAND_BY
- See Also:
- Constant Field Values
SUSPEND
public static final int SUSPEND
- See Also:
- Constant Field Values
OFF
public static final int OFF
- See Also:
- Constant Field Values
LEVEL_STRINGS
public static final java.lang.String[] LEVEL_STRINGS
DPMS
public DPMS(Display display)
throws NotFoundException
- Throws:
NotFoundException
- See Also:
- DPMSQueryExtension
capable
public boolean capable()
- Determine whether or not the currently running server's devices are
capable of DPMS operations. There is a bug in all servers based on X
Consortium sample implementation up to R6.5 (including XFree86 4.0.1
or earlier): the sequence number of the reply is incorrect, causing a
"reply out of order" error.
- See Also:
- DPMSCapable
timeouts
public DPMS.TimeoutsInfo timeouts()
- See Also:
- DPMSGetTimeouts
set_timeouts
public void set_timeouts(int standby,
int suspend,
int off)
- See Also:
- DPMSSetTimeouts
enable
public void enable()
- See Also:
- DPMSEnable
disable
public void disable()
- See Also:
- DPMSDisable
force_level
public void force_level(int level)
- Parameters:
level
- valid:
ON
,
STAND_BY
,
SUSPEND
,
OFF
- See Also:
- DPMSForceLevel
info
public DPMS.Info info()
- See Also:
- DPMSInfo
more_string
public java.lang.String more_string()
- Description copied from class:
Extension
- Additional information such as client version and server version to
display in
toString()
.
- Overrides:
more_string
in class Extension