public class EventHandler extends Object implements InvocationHandler
Constructor and Description |
---|
EventHandler(Object target,
String action,
String eventPropertyName,
String listenerMethodName) |
Modifier and Type | Method and Description |
---|---|
static <T> T |
create(Class<T> listenerInterface,
Object target,
String action) |
static <T> T |
create(Class<T> listenerInterface,
Object target,
String action,
String eventPropertyName) |
static <T> T |
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) |
public Object invoke(Object proxy, Method method, Object[] arguments)
invoke
in interface InvocationHandler
public String getListenerMethodName()
public String getEventPropertyName()
public String getAction()
public Object getTarget()
public static <T> T create(Class<T> listenerInterface, Object target, String action, String eventPropertyName, String listenerMethodName)
public static <T> T create(Class<T> listenerInterface, Object target, String action, String eventPropertyName)
Copyright © 2015. All Rights Reserved.