java.lang.Object
java.util.EventObject
java.awt.desktop.AppEvent
java.awt.desktop.ScreenSleepEvent
- 所有已实现的接口:
-
Serializable
当连接到系统的显示器进入和退出省电睡眠时发送的事件。
- 自从:
- 9
- 参见:
-
Field Summary
Fields declared in class java.util.EventObject
source
-
Constructor Summary
-
Method Summary
Methods declared in class java.util.EventObject
getSource, toString
-
Constructor Details
-
ScreenSleepEvent
public ScreenSleepEvent()构造一个ScreenSleepEvent
。- 抛出:
-
HeadlessException
- 如果GraphicsEnvironment.isHeadless()
返回true
-
UnsupportedOperationException
- 如果当前平台不支持桌面API - 参见:
-