public class DefaultBinder extends BinderImpl
Binder
API. BinderImpl.init(Component, Object)
first, then call
BinderImpl.addCommandBinding(Component, String, String, java.util.Map)
, BinderImpl.addPropertyLoadBindings(Component, String, String, String[], String[], java.util.Map, String, java.util.Map)
...etc to assign the binding.BinderImpl.loadComponent(Component, boolean)
to trigger first loading of the binding. ACCESS, CONVERTER, LOAD_EVENT, LOAD_REPLACEMENT, LOAD_TYPE, RENDERER, SAVE_EVENT, SAVE_REPLACEMENT, VALIDATOR, ZKBIND
ACTIVATOR, BINDCTX, BINDER, BINDING, BINDRENDERING, CHILDREN_ATTR, CHILDREN_BINDING_MODEL, CHILDREN_BINDING_MODEL_LISTENER, CHILDREN_BINDING_RENDERED_COMPONENTS, DEFAULT_QUEUE_NAME, DEFAULT_QUEUE_SCOPE, DEPENDS_ON_COMP, FORM_ID, IGNORE_REF_VALUE, IGNORE_TRACKER, INVALIDATE_REF_VALUE, LOAD_FORM_COMPONENT, LOAD_FORM_EXPRESSION, MODEL, NOTIFYS, ON_BIND_CLEAN, ON_BIND_INIT, PHASE_LISTENER_CLASS_KEY, RENDERER_INSTALLED, SAVE_BASE, SRCPATH, VALIDATES, VAR, VM
Constructor and Description |
---|
DefaultBinder()
new a binder with default event queue name and scope
|
DefaultBinder(java.lang.String qname,
java.lang.String qscope)
new a binder with event queue name and scope
|
Modifier and Type | Method and Description |
---|---|
void |
init(Component comp,
java.lang.Object vm,
java.util.Map<java.lang.String,java.lang.Object> initArgs)
Initializes the binder with a root component and viewModel object.
|
addChildrenInitBinding, addChildrenInitBinding, addChildrenLoadBindings, addChildrenLoadBindings, addCommandBinding, addFormAssociatedSaveBinding, addFormInitBinding, addFormLoadBindings, addFormSaveBindings, addGlobalCommandBinding, addPhaseListener, addPropertyInitBinding, addPropertyLoadBindings, addPropertySaveBindings, addReferenceBinding, addSaveFormFieldName, addSaveFormFieldName, checkInit, createParamCall, getBindingAnnotationInfoChecker, getBindingExecutionInfoCollector, getBindings, getConverter, getDynamicAttrs, getEvaluatorX, getEventQueue, getForm, getFormAssociatedSaveBindings, getLoadPromptBindings, getPhaseListener, getPhaseListeners, getQueueName, getQueueScope, getRenderer, getSaveFormFieldNames, getTemplateResolver, getTracker, getValidationMessages, getValidator, getView, getViewModel, hasValidator, init, isActivating, loadComponent, newCommandBinding, newInitChildrenBinding, newInitFormBinding, newInitPropertyBinding, newLoadChildrenBinding, newLoadFormBinding, newLoadPropertyBinding, newSaveFormBinding, newSavePropertyBinding, notifyChange, postCommand, removeBindings, removeBindings, removeBindings, removeSaveFormFieldNames, sendCommand, setDynamicAttrs, setPhaseListener, setTemplate, setValidationMessages, setViewModel, storeForm
public DefaultBinder()
public DefaultBinder(java.lang.String qname, java.lang.String qscope)
qname
- event queue nameqscope
- event queue scope, see EventQueues
public void init(Component comp, java.lang.Object vm, java.util.Map<java.lang.String,java.lang.Object> initArgs)
Binder
AnnotateBinder
and zk annotationinit
in interface Binder
init
in class BinderImpl
comp
- root component of bindervm
- viewModel objectinitArgs
- args key-value pairs for initial, nullableCopyright © 2005-2011 Potix Corporation. All Rights Reserved.