java.lang.Object
java.util.EventObject
java.awt.desktop.AppEvent
java.awt.desktop.UserSessionEvent
- All Implemented Interfaces:
- Serializable
Event sent when the user session has been changed. Some systems may provide a
 reason of a user session change.
- Since:
- 9
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic enumKinds of available reasons of user session change.
- 
Field SummaryFields declared in class java.util.EventObjectsource
- 
Constructor SummaryConstructorsConstructorDescriptionConstructs aUserSessionEvent.
- 
Method SummaryModifier and TypeMethodDescriptionGets a reason of the user session change.Methods declared in class java.util.EventObjectgetSource, toString
- 
Constructor Details- 
UserSessionEventConstructs aUserSessionEvent.- Parameters:
- reason- the reason of the user session change
- Throws:
- HeadlessException- if- GraphicsEnvironment.isHeadless()returns- true
- UnsupportedOperationException- if Desktop API is not supported on the current platform
- See Also:
 
 
- 
- 
Method Details- 
getReasonGets a reason of the user session change.- Returns:
- reason a reason
- See Also:
 
 
-