Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Faces
11g Release 1 (11.1.1)
Class RegionNavigationEvent

  extended by java.util.EventObject
      extended by javax.faces.event.FacesEvent
          extended by

All Implemented Interfaces:

public class RegionNavigationEvent
extends javax.faces.event.FacesEvent

A RegionNavigationEvent is generated when the fragment being displayed by a region is changed. The viewId of the old fragment, and the viewId of the new fragment is provided by this event. Sometimes, the old viewId and the new viewId might be the same (if the UIXRegion.refresh(javax.faces.context.FacesContext) method is called).

See Also:
Serialized Form

Field Summary


Fields inherited from class java.util.EventObject


Constructor Summary
RegionNavigationEvent(javax.faces.component.UIComponent component, java.lang.String oldViewId, java.lang.String newViewId)


Method Summary
 java.lang.String getNewViewId()
          Gets the viewId of the new fragment.
 java.lang.String getOldViewId()
          Gets the viewId of the old fragment.
 boolean isAppropriateListener(javax.faces.event.FacesListener facesListener)
 void processListener(javax.faces.event.FacesListener facesListener)


Methods inherited from class javax.faces.event.FacesEvent
getComponent, getPhaseId, queue, setPhaseId


Methods inherited from class java.util.EventObject
getSource, toString


Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait


Constructor Detail


public RegionNavigationEvent(javax.faces.component.UIComponent component,
                             java.lang.String oldViewId,
                             java.lang.String newViewId)

Method Detail


public java.lang.String getOldViewId()
Gets the viewId of the old fragment.


public java.lang.String getNewViewId()
Gets the viewId of the new fragment. If the region was simply refreshed, then the old and new viewIds will be the same (since the underlying fragment is still the same).


public boolean isAppropriateListener(javax.faces.event.FacesListener facesListener)
Specified by:
isAppropriateListener in class javax.faces.event.FacesEvent


public void processListener(javax.faces.event.FacesListener facesListener)
Specified by:
processListener in class javax.faces.event.FacesEvent

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Faces
11g Release 1 (11.1.1)

Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.