org.apache.myfaces.trinidad.event
Class WindowLifecycleNavigateEvent
java.lang.Object
java.util.EventObject
org.apache.myfaces.trinidad.event.WindowEvent
org.apache.myfaces.trinidad.event.WindowLifecycleEvent
org.apache.myfaces.trinidad.event.WindowLifecycleNavigateEvent
- All Implemented Interfaces:
- Serializable
public final class WindowLifecycleNavigateEvent
- extends WindowLifecycleEvent
WindowLifecycleEvent delivered when the current window is being unloaded
in order to navigate to a new location
- See Also:
- Serialized Form
WindowLifecycleNavigateEvent
public WindowLifecycleNavigateEvent(Window source,
String destination)
getDestination
public String getDestination()
- Returns the URL to which the page is navigating.
The destination is not guaranteed to be normalized; it may
be absolute, page-relative, or server-relative. It is also
not guaranteed to be correct, as a browser
may be redirected to an alternate destination.
hashCode
public int hashCode()
- Overrides:
hashCode
in class WindowLifecycleEvent
equals
public boolean equals(Object o)
- Overrides:
equals
in class WindowLifecycleEvent
toString
public String toString()
- Overrides:
toString
in class WindowLifecycleEvent
Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.