Serializable
public final class UserSessionEventextends AppEvent
UserSessionListener.userSessionActivated(UserSessionEvent)
UserSessionListener.userSessionDeactivated(UserSessionEvent)
static class
UserSessionEvent.Reason
source
UserSessionEvent(UserSessionEvent.Reason reason)
UserSessionEvent
getReason()
getSource, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public UserSessionEvent(UserSessionEvent.Reason reason)
reason
HeadlessException
GraphicsEnvironment.isHeadless()
true
UnsupportedOperationException
Desktop.isDesktopSupported()
public UserSessionEvent.Reason getReason()
UserSessionEvent.Reason.UNSPECIFIED
UserSessionEvent.Reason.CONSOLE
UserSessionEvent.Reason.REMOTE
UserSessionEvent.Reason.LOCK