Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Faces
11g Release 2 (11.1.2.3.0)
E17488-04


oracle.adf.view.rich.event
Class SetPropertyListener

java.lang.Object
  extended by oracle.adf.view.rich.event.BasePolytypeListener
      extended by oracle.adf.view.rich.event.SetPropertyListener

All Implemented Interfaces:
java.util.EventListener, javax.faces.component.StateHolder, javax.faces.event.ActionListener, javax.faces.event.FacesListener, javax.faces.event.ValueChangeListener, CalendarActivityDurationChangeListener, CalendarActivityListener, CalendarDisplayChangeListener, CalendarListener, CarouselSpinListener, ContextInfoListener, DialogListener, LaunchPopupListener, PopupCanceledListener, PopupFetchListener, QueryListener, QueryOperationListener, RegionNavigationListener, ReturnPopupDataListener, ReturnPopupListener, org.apache.myfaces.trinidad.event.DisclosureListener, org.apache.myfaces.trinidad.event.FocusListener, org.apache.myfaces.trinidad.event.LaunchListener, org.apache.myfaces.trinidad.event.PollListener, org.apache.myfaces.trinidad.event.RangeChangeListener, org.apache.myfaces.trinidad.event.ReturnListener, org.apache.myfaces.trinidad.event.RowDisclosureListener, org.apache.myfaces.trinidad.event.SelectionListener, org.apache.myfaces.trinidad.event.SortListener

public class SetPropertyListener
extends BasePolytypeListener

Listener that supports setting a property. Implements the listener interface for a variety of events.


Nested Class Summary

 

Nested classes/interfaces inherited from class oracle.adf.view.rich.event.BasePolytypeListener
BasePolytypeListener.EventType

 

Constructor Summary
SetPropertyListener()
          The no-args constructor default type is BasePolytypeListener.EventType.ACTION.
SetPropertyListener(BasePolytypeListener.EventType eventType)
          Constructor requires an enumeration of BasePolytypeListener.EventType that defines what associated event this particular instance handles.
SetPropertyListener(java.lang.String eventClassName)
          Deprecated. use #SetPropertyListener(BasePolytypeListener.EventType eventType) instead

 

Method Summary
 java.lang.Object getFrom()
           
 javax.el.ValueExpression getValueExpression(java.lang.String name)
          Gets the "from" or "to" property as a value expression.
protected  void handleEvent(javax.faces.event.FacesEvent event)
          Invoked from the super class with the event matches the target BasePolytypeListener.EventType.
 void setFrom(java.lang.Object from)
           
 void setValueExpression(java.lang.String name, javax.el.ValueExpression binding)
          Sets the "from" or "to" property via a value expression.

 

Methods inherited from class oracle.adf.view.rich.event.BasePolytypeListener
addListener, getEventType, getFacesBean, isAppropriate, isTransient, process, processAction, processCalendar, processCalendarActivity, processCalendarActivityDurationChange, processCalendarDisplayChange, processCarouselSpin, processContextInfo, processDataReturn, processDialog, processDisclosure, processDisclosure, processFocus, processLaunch, processLaunch, processPoll, processPopupCanceled, processPopupFetch, processQuery, processQueryOperation, processRangeChange, processRegionNavigation, processReturn, processReturn, processSelection, processSort, processValueChange, restoreState, saveState, setEventType, setTransient

 

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

 

Constructor Detail

SetPropertyListener

public SetPropertyListener()
The no-args constructor default type is BasePolytypeListener.EventType.ACTION.

SetPropertyListener

public SetPropertyListener(java.lang.String eventClassName)
Deprecated. use #SetPropertyListener(BasePolytypeListener.EventType eventType) instead
Parameters:
eventClassName - the fully qualified name of the event to listen for

SetPropertyListener

public SetPropertyListener(BasePolytypeListener.EventType eventType)
Constructor requires an enumeration of BasePolytypeListener.EventType that defines what associated event this particular instance handles.
Parameters:
eventType - framework concrete event
Throws:
java.lang.IllegalArgumentException - eventType cannot be null

Method Detail

getValueExpression

public javax.el.ValueExpression getValueExpression(java.lang.String name)
Gets the "from" or "to" property as a value expression.
Parameters:
name - "from" or "to"
Throws:
java.lang.IllegalArgumentException - name is invalid for this state holder; supports 'from' or 'to'

setValueExpression

public void setValueExpression(java.lang.String name,
                               javax.el.ValueExpression binding)
Sets the "from" or "to" property via a value expression.
Parameters:
name - "from" or "to"
binding - Tag EL binding
Throws:
java.lang.IllegalArgumentException - name is invalid for this state holder; supports 'from' or 'to'

getFrom

public java.lang.Object getFrom()

setFrom

public void setFrom(java.lang.Object from)

handleEvent

protected void handleEvent(javax.faces.event.FacesEvent event)
Invoked from the super class with the event matches the target BasePolytypeListener.EventType. Delegates on to a common handler that assigns the "to" to the "from" value.
Specified by:
handleEvent in class BasePolytypeListener
Parameters:
event - target faces event
See Also:
BasePolytypeListener.isAppropriate(javax.faces.event.FacesEvent)

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Faces
11g Release 2 (11.1.2.3.0)
E17488-04


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