Skip navigation links

Oracle© Fusion Middleware Java API Reference for Oracle ADF Faces
11g Release 1 (11.1.1.7.0)
E10684-08


oracle.adf.view.rich.event
Class ReturnPopupEvent

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

All Implemented Interfaces:
java.io.Serializable

public class ReturnPopupEvent
extends javax.faces.event.FacesEvent

ReturnPopupEvent is delivered after a user closes the popup dialog along with any data that may be required to update fields on the base page. For example, after user clicks the "OK" button on the "Search and Select dialog" to return to the inputListOfValues component any return data provided by ReturnPopupDataListener can be passed to the ReturnPopupEvent. This provides the developer a chance to process the returned data and update the LOV field (and other fields if necessary).

See Also:
Serialized Form

Field Summary

 

Fields inherited from class java.util.EventObject
source

 

Constructor Summary
ReturnPopupEvent(javax.faces.component.UIComponent source, java.lang.Object returnValue)
          Constuctor for ReturnPopupEvent.
ReturnPopupEvent(javax.faces.component.UIComponent source, java.lang.Object returnValue, java.util.Map returnParams)
          Constructor for ReturnPopupEvent

 

Method Summary
 boolean equals(java.lang.Object o)
           
 java.util.Map getReturnParameters()
           
 java.lang.Object getReturnValue()
          Return the value Object from this event.
 int hashCode()
           
 boolean isAppropriateListener(javax.faces.event.FacesListener listener)
           
 void processListener(javax.faces.event.FacesListener listener)
           
 java.lang.String toString()
           

 

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

 

Methods inherited from class java.util.EventObject
getSource

 

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

 

Constructor Detail

ReturnPopupEvent

public ReturnPopupEvent(javax.faces.component.UIComponent source,
                        java.lang.Object returnValue)
Constuctor for ReturnPopupEvent.
Parameters:
source - UIComponent the component instance.
returnValue - the returnValue can either be - a List&lt Object&gt of size 1, where Object belongs to list returned by the call to getItems() (or getRecentItems()) or,
- a RowKeySet, containing the rowKeys of the selected rows belonging to the getTableModel().getCollectionModel().
- or Object, which happens to be the single matched row, returned by call

ReturnPopupEvent

public ReturnPopupEvent(javax.faces.component.UIComponent source,
                        java.lang.Object returnValue,
                        java.util.Map returnParams)
Constructor for ReturnPopupEvent
Parameters:
source - UIComponent the component instance
returnValue - the returnValue can either be - a List&lt Object&gt of size 1, where Object belongs to list returned by the call to getItems() (or getRecentItems()) or,
- a RowKeySet, containing the rowKeys of the selected rows belonging to the getTableModel().getCollectionModel().
- or Object, which happens to be the single matched row, returned by call
returnParams - Map additonal param returned for returnPopupEvent.

Method Detail

getReturnValue

public java.lang.Object getReturnValue()
Return the value Object from this event.
Returns:
the return value from this event.

getReturnParameters

public java.util.Map getReturnParameters()
Returns:
return Parameters for this event.

processListener

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

isAppropriateListener

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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.util.EventObject

Skip navigation links

Oracle© Fusion Middleware Java API Reference for Oracle ADF Faces
11g Release 1 (11.1.1.7.0)
E10684-08


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