com.googlecode.openbeans
Class EventHandler
java.lang.Object
com.googlecode.openbeans.EventHandler
- All Implemented Interfaces:
- InvocationHandler
public class EventHandler
- extends Object
- implements InvocationHandler
|
Method Summary |
static
|
create(Class<T> listenerInterface,
Object target,
String action)
|
static
|
create(Class<T> listenerInterface,
Object target,
String action,
String eventPropertyName)
|
static
|
create(Class<T> listenerInterface,
Object target,
String action,
String eventPropertyName,
String listenerMethodName)
|
String |
getAction()
|
String |
getEventPropertyName()
|
String |
getListenerMethodName()
|
Object |
getTarget()
|
Object |
invoke(Object proxy,
Method method,
Object[] arguments)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EventHandler
public EventHandler(Object target,
String action,
String eventPropertyName,
String listenerMethodName)
invoke
public Object invoke(Object proxy,
Method method,
Object[] arguments)
- Specified by:
invoke in interface InvocationHandler
getListenerMethodName
public String getListenerMethodName()
getEventPropertyName
public String getEventPropertyName()
getAction
public String getAction()
getTarget
public Object getTarget()
create
public static <T> T create(Class<T> listenerInterface,
Object target,
String action,
String eventPropertyName,
String listenerMethodName)
create
public static <T> T create(Class<T> listenerInterface,
Object target,
String action,
String eventPropertyName)
create
public static <T> T create(Class<T> listenerInterface,
Object target,
String action)
Copyright © 2013. All Rights Reserved.