|
Oracle Fusion Middleware Java API Reference for Oracle ADF Faces 12c Release 1 (12.1.2.0.0) E23185-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.adf.view.rich.event.BasePolytypeListener
oracle.adf.view.rich.event.SetPropertyListener
public class SetPropertyListener
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(String eventClassName)Deprecated. use #SetPropertyListener(BasePolytypeListener.EventType eventType) instead |
|
| Method Summary | |
|---|---|
Object |
getFrom() |
javax.el.ValueExpression |
getValueExpression(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(Object from) |
void |
setValueExpression(String name, javax.el.ValueExpression binding)Sets the "from" or "to" property via a value expression. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SetPropertyListener()
BasePolytypeListener.EventType.ACTION.public SetPropertyListener(String eventClassName)
eventClassName - the fully qualified name of the event to listen forpublic SetPropertyListener(BasePolytypeListener.EventType eventType)
BasePolytypeListener.EventType that defines what associated event this particular instance handles.
eventType - framework concrete eventIllegalArgumentException - eventType cannot be null| Method Detail |
|---|
public javax.el.ValueExpression getValueExpression(String name)
name - "from" or "to"IllegalArgumentException - name is invalid for this state holder; supports 'from' or 'to'
public void setValueExpression(String name,
javax.el.ValueExpression binding)
name - "from" or "to"binding - Tag EL bindingIllegalArgumentException - name is invalid for this state holder; supports 'from' or 'to'public Object getFrom()
public void setFrom(Object from)
protected void handleEvent(javax.faces.event.FacesEvent event)
BasePolytypeListener.EventType. Delegates on to a common handler that assigns the "to" to the "from" value.handleEvent in class BasePolytypeListenerevent - target faces eventBasePolytypeListener.isAppropriate(javax.faces.event.FacesEvent)
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Faces 12c Release 1 (12.1.2.0.0) E23185-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright © 2013 Oracle Corporation. All Rights Reserved.