|
EchoPoint API - 3.0.0b5 App Webcontainer |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnextapp.echo.webcontainer.AbstractComponentSynchronizePeer.EventPeer
echopoint.internal.DefaultEventPeer
public class DefaultEventPeer
A default event peer implementation since they all have the same implementation.
| Constructor Summary | |
|---|---|
DefaultEventPeer(String eventType,
String listenerPropertyName)
Create a new event peer for the specified event type and listener. |
|
DefaultEventPeer(String eventType,
String listenerPropertyName,
Class eventDataClass)
Create a new event peer for the specified event type and listener and with the specified data class. |
|
| Method Summary | |
|---|---|
boolean |
hasListeners(nextapp.echo.app.util.Context context,
nextapp.echo.app.Component component)
|
| Methods inherited from class nextapp.echo.webcontainer.AbstractComponentSynchronizePeer.EventPeer |
|---|
getEventDataClass, getEventType, getListenerPropertyName, processEvent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultEventPeer(String eventType,
String listenerPropertyName)
eventType - The name of the event, as serialized to the clientlistenerPropertyName - The name of the event property in the
Component, i.e., the property name of the
PropertyChangeEvent fired when listeners are added/removed
public DefaultEventPeer(String eventType,
String listenerPropertyName,
Class eventDataClass)
eventType - The name of the event, as serialized to the clientlistenerPropertyName - The name of the event property in the
Component, i.e., the property name of the
PropertyChangeEvent fired when listeners are added/removedeventDataClass - The Class type of the event data that will be
received from the client (used to determine serialization peer to
use for processing)| Method Detail |
|---|
public boolean hasListeners(nextapp.echo.app.util.Context context,
nextapp.echo.app.Component component)
hasListeners in class AbstractComponentSynchronizePeer.EventPeer
|
EchoPoint API - 3.0.0b5 App Webcontainer |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||