Package org.zkoss.bind.impl
Class AbstractAnnotatedMethodInvoker<T extends Annotation>
java.lang.Object
org.zkoss.bind.impl.AbstractAnnotatedMethodInvoker<T>
To help calling a ViewModel annotated method with binding arguments.
- Author:
- Ian Y.T Tsai(zanyking)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidfireNotifyChanges(Binder binder, Set<Property> changes) protected voidhandleNotifyChange(Binder binder, BindContext ctx, Object viewModel, Method m, ParamCall parCall, Set<Property> changes) booleanhasAnnotatedMethod(Binder binder) voidinvokeMethod(Binder binder, Map<String, Object> bindingArgs) voidinvokeMethod(Binder binder, Map<String, Object> bindingArgs, org.zkoss.zk.ui.event.Event triggeringEvent, boolean notifyChange) protected abstract booleanshouldLookupSuperclass(T annotation) Verify if the super classes need to be traced.
-
Constructor Details
-
AbstractAnnotatedMethodInvoker
-
-
Method Details
-
hasAnnotatedMethod
-
invokeMethod
-
invokeMethod
-
handleNotifyChange
-
fireNotifyChanges
-
shouldLookupSuperclass
Verify if the super classes need to be traced.- Parameters:
annotation-- Returns:
- true, if handler should trace super class, false otherwise.
-