|
Oracle© Fusion Middleware Java API Reference for Oracle ADF Faces 11g Release 1 (11.1.1.7.0) E10684-08 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.adf.view.rich.event.ClientListenerSet
public class ClientListenerSet
A ClientListenerSet represents the group of client listeners and behaviors registered on a component.
| Constructor Summary | |
|---|---|
ClientListenerSet()Creates a ClientListenerSet. |
|
| Method Summary | |
|---|---|
void |
addBehavior(java.lang.String behavior)Adds a client behavior. |
void |
addBehavior(javax.el.ValueExpression behavior)Adds a client behavior defined by a deferred value expression, which will be evaluated later to return a String. |
void |
addCustomServerListener(java.lang.String type, javax.el.MethodExpression expr)Adds a server-side listener (specified by the MethodExpression) that should be executed when a custom client event is fired. |
void |
addFeatureDependency(java.lang.String featureName)Adds a dependency on a JavaScript library feature defined by the JavaScript library partitioning system. |
void |
addListener(java.lang.String type, java.lang.String functionName)Adds a client listener. |
java.lang.String |
encodeAsJson()Returns a JSON encoding of the listeners. |
java.lang.String |
encodeBehaviorsAsJson()Encodes the client behaviors as a JSON string array. |
java.lang.Iterable<java.lang.String> |
getFeatureDependencies()Returns an iterable collection containing the names of the JavaScript library features required by this ClientListenerSet. |
void |
invokeCustomEventListeners(javax.faces.context.FacesContext context, ClientEvent event)Invoke any custom event listeners with a custom client event. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClientListenerSet()
| Method Detail |
|---|
public void addListener(java.lang.String type,
java.lang.String functionName)
type - the type of client listenerfunctionName - the name of the Javascript function to callpublic void addBehavior(java.lang.String behavior)
public void addBehavior(javax.el.ValueExpression behavior)
public void addFeatureDependency(java.lang.String featureName)
featureName - name of a JavaScript library feature that is required by this ClientListenerSet.public java.lang.Iterable<java.lang.String> getFeatureDependencies()
public void addCustomServerListener(java.lang.String type,
javax.el.MethodExpression expr)
type - the type of the custom eventexpr - MethodExpression that must return void and take a single ClientEvent parameter
public void invokeCustomEventListeners(javax.faces.context.FacesContext context,
ClientEvent event)
public java.lang.String encodeAsJson()
public java.lang.String encodeBehaviorsAsJson()
|
Oracle© Fusion Middleware Java API Reference for Oracle ADF Faces 11g Release 1 (11.1.1.7.0) E10684-08 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||