|
Oracle Fusion Middleware Java API Reference for Oracle ADF Faces 11g Release 2 (11.1.2.2.0) E17488-03 |
|||||||||
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(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 java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SetPropertyListener()
BasePolytypeListener.EventType.ACTION
.public SetPropertyListener(java.lang.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 eventjava.lang.IllegalArgumentException
- eventType cannot be nullMethod Detail |
---|
public javax.el.ValueExpression getValueExpression(java.lang.String name)
name
- "from" or "to"java.lang.IllegalArgumentException
- name is invalid for this state holder; supports 'from' or 'to'public void setValueExpression(java.lang.String name, javax.el.ValueExpression binding)
name
- "from" or "to"binding
- Tag EL bindingjava.lang.IllegalArgumentException
- name is invalid for this state holder; supports 'from' or 'to'public java.lang.Object getFrom()
public void setFrom(java.lang.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 BasePolytypeListener
event
- target faces eventBasePolytypeListener.isAppropriate(javax.faces.event.FacesEvent)
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Faces 11g Release 2 (11.1.2.2.0) E17488-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |