Skip navigation links

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


oracle.adf.view.rich.event
Class RegionNavigationEvent

java.lang.Object
  extended by java.util.EventObject
      extended by javax.faces.event.FacesEvent
          extended by oracle.adf.view.rich.event.RegionNavigationEvent

All Implemented Interfaces:
java.io.Serializable

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
source

 

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

RegionNavigationEvent

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

Method Detail

getOldViewId

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

getNewViewId

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).

isAppropriateListener

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

processListener

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)
E10684-05


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