public class WindowLifecycleEvent extends WindowEvent
cause
 indicates the cause ot the state change.  The state diagram for theWindow LifecycleStates
 is
 
                      +-----------load---------------+
                      |                              |       ---expire---
                      V      /---unload----\         |      /            \
  ---open--->OPEN-----               ----->UNLOADED--              -->CLOSED
                      |      \--navigate---/         ^      \            /
                      |                              |       ---close----
                      +---------closing--------------+
  
 The new LifecycleStates can be retrieved by calling getLifecycleState on the
 source Window or by calling the getNewLifecycleState convenience function
 on the WindowLifecycleEventWindow, 
Window.LifecycleState, 
Serialized Form| Modifier and Type | Class and Description | 
|---|---|
| static class  | WindowLifecycleEvent.CauseWhat caused the delivery of the WindowLifecycleEvent. | 
source| Constructor and Description | 
|---|
| WindowLifecycleEvent(Window source,
                    WindowLifecycleEvent.Cause cause)Creates a WindowOpenEvent event for the specified Window and cause. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object o) | 
| WindowLifecycleEvent.Cause | getCause() | 
| Window.LifecycleState | getNewLifecycleState()Returns the new LifecycleState that the Window has moved to. | 
| int | hashCode() | 
| protected boolean | subclassEquals(WindowLifecycleEvent e)Called by subclass  equalsimplementation to check the WindowEvent
 portion of equivalence. | 
| String | toString() | 
getSource, subclassEqualspublic WindowLifecycleEvent(Window source, WindowLifecycleEvent.Cause cause)
public WindowLifecycleEvent.Cause getCause()
public final Window.LifecycleState getNewLifecycleState()
public String toString()
toString in class EventObjectprotected final boolean subclassEquals(WindowLifecycleEvent e)
equals implementation to check the WindowEvent
 portion of equivalence.e - Non-null WindowEvent to compare for equalitytrue if the the WindowEvent satisfies the WindowEvent portion
 of equivalence.Copyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.