public interface BinderCtrl
Binder
that is used for implementation or tools. Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ACTIVATOR |
static java.lang.String |
BINDCTX |
static java.lang.String |
BINDER |
static java.lang.String |
BINDING |
static java.lang.String |
BINDRENDERING |
static java.lang.String |
CHILDREN_ATTR |
static java.lang.String |
CHILDREN_BINDING_MODEL |
static java.lang.String |
CHILDREN_BINDING_MODEL_LISTENER |
static java.lang.String |
CHILDREN_BINDING_RENDERED_COMPONENTS |
static java.lang.String |
CLIENT_INFO |
static java.lang.String |
DEFAULT_QUEUE_NAME
Default queue name of a binder to share the bean notification and global commands
|
static java.lang.String |
DEFAULT_QUEUE_SCOPE
Default queue scope of a binder to share the bean notification and global commands
|
static java.lang.String |
DEPENDS_ON_COMP |
static java.lang.String |
FORM_ID |
static java.lang.String |
IGNORE_REF_VALUE |
static java.lang.String |
IGNORE_TRACKER |
static java.lang.String |
INVALIDATE_REF_VALUE |
static java.lang.String |
IS_TEMPLATE_MODEL_ENABLED_ATTR |
static java.lang.String |
LOAD_FORM_COMPONENT |
static java.lang.String |
LOAD_FORM_EXPRESSION |
static java.lang.String |
MATCHMEDIAVALUE_PREFIX |
static java.lang.String |
MODEL |
static java.lang.String |
NOTIFYS |
static java.lang.String |
ON_BIND_CLEAN |
static java.lang.String |
ON_BIND_INIT |
static java.lang.String |
PHASE_LISTENER_CLASS_KEY
PhaseListener key
|
static java.lang.String |
REMOVE_BINDINGS |
static java.lang.String |
RENDERER_INSTALLED |
static java.lang.String |
SAVE_BASE |
static java.lang.String |
SRCPATH |
static java.lang.String |
VALIDATES |
static java.lang.String |
VAR |
static java.lang.String |
VM |
Modifier and Type | Method and Description |
---|---|
void |
addFormAssociatedSaveBinding(Component associatedComp,
java.lang.String formId,
SaveBinding saveBinding,
java.lang.String fieldName)
Add a association between formId and a associated save binding(save binding inside a form), the form has to exist in the parent components
|
void |
addPhaseListener(PhaseListener listener)
Add the
PhaseListener |
void |
addSaveFormFieldName(Form form,
java.util.Set<java.lang.String> fieldNames)
Adds all field names for saving with the given Form.
|
void |
addSaveFormFieldName(Form form,
java.lang.String fieldName)
Adds a field name for saving with the given Form.
|
BindingAnnotationInfoChecker |
getBindingAnnotationInfoChecker()
get binding annotation info checker
|
BindingExecutionInfoCollector |
getBindingExecutionInfoCollector()
get binding execution info collector
|
Form |
getForm(Component comp,
java.lang.String id)
Get the form of the component
|
java.util.Set<SaveBinding> |
getFormAssociatedSaveBindings(Component formComp)
Get associated save bindings of a form in a component
|
java.util.List<Binding> |
getLoadPromptBindings(Component comp,
java.lang.String attr)
get all load prompt binding of the component and attribute
|
java.util.Map<java.lang.String,java.lang.reflect.Method> |
getMatchMediaValue()
Returns an unmodifiable Map containing all the MatchMedia annotation values of this binder.
|
PhaseListener |
getPhaseListener()
Deprecated.
As of release ZK 8.0.0, please use
getPhaseListeners() instead. |
java.util.List<PhaseListener> |
getPhaseListeners()
get the first
PhaseListener |
java.lang.String |
getQueueName()
Returns the queue name of this binder
|
java.lang.String |
getQueueScope()
Returns the queue scope of this binder
|
java.util.Set<java.lang.String> |
getSaveFormFieldNames(Form self)
Returns all field names for saving with the given Form.
|
TemplateResolver |
getTemplateResolver(Component comp,
java.lang.String attr)
get the template resolver that sets by
Binder.setTemplate(Component, String, String, java.util.Map) |
Tracker |
getTracker()
Returns associated dependency tracker of this binder.
|
ValidationMessages |
getValidationMessages()
Get the
ValidationMessages |
boolean |
hasValidator(Component comp,
java.lang.String attr)
is there a validator on the attribute of component
|
boolean |
isActivating()
check if binder is in activating state
|
java.util.Set<java.lang.String> |
removeSaveFormFieldNames(Form self)
Remove all field names for saving with the given Form.
|
void |
setPhaseListener(PhaseListener listener)
Deprecated.
As of release ZK 8.0.0, please use
addPhaseListener(PhaseListener) instead. |
void |
setValidationMessages(ValidationMessages messages)
Set the
ValidationMessages |
void |
storeForm(Component comp,
java.lang.String id,
Form form)
Store the form in the component with id
|
static final java.lang.String DEFAULT_QUEUE_NAME
static final java.lang.String DEFAULT_QUEUE_SCOPE
static final java.lang.String PHASE_LISTENER_CLASS_KEY
static final java.lang.String BINDING
static final java.lang.String BINDER
static final java.lang.String BINDCTX
static final java.lang.String VAR
static final java.lang.String VM
static final java.lang.String NOTIFYS
static final java.lang.String VALIDATES
static final java.lang.String SRCPATH
static final java.lang.String DEPENDS_ON_COMP
static final java.lang.String RENDERER_INSTALLED
static final java.lang.String REMOVE_BINDINGS
static final java.lang.String IS_TEMPLATE_MODEL_ENABLED_ATTR
static final java.lang.String LOAD_FORM_EXPRESSION
static final java.lang.String LOAD_FORM_COMPONENT
static final java.lang.String IGNORE_TRACKER
static final java.lang.String IGNORE_REF_VALUE
static final java.lang.String INVALIDATE_REF_VALUE
static final java.lang.String SAVE_BASE
static final java.lang.String ON_BIND_INIT
static final java.lang.String ON_BIND_CLEAN
static final java.lang.String MODEL
static final java.lang.String FORM_ID
static final java.lang.String CHILDREN_ATTR
static final java.lang.String ACTIVATOR
static final java.lang.String BINDRENDERING
static final java.lang.String CHILDREN_BINDING_RENDERED_COMPONENTS
static final java.lang.String CHILDREN_BINDING_MODEL
static final java.lang.String CHILDREN_BINDING_MODEL_LISTENER
static final java.lang.String CLIENT_INFO
static final java.lang.String MATCHMEDIAVALUE_PREFIX
void addFormAssociatedSaveBinding(Component associatedComp, java.lang.String formId, SaveBinding saveBinding, java.lang.String fieldName)
associatedComp
- associated component inside a form bindingformId
- the form idsaveBinding
- the nested save binding in side a form bindingfieldName
- the associated form fieldName for the associated save bindingjava.util.Set<SaveBinding> getFormAssociatedSaveBindings(Component formComp)
formComp
- the component that contains the formvoid storeForm(Component comp, java.lang.String id, Form form)
comp
- the component to store the formid
- the form idform
- the form instanceForm getForm(Component comp, java.lang.String id)
comp
- the component has the formid
- the form idTracker getTracker()
ValidationMessages getValidationMessages()
ValidationMessages
setValidationMessages(ValidationMessages)
void setValidationMessages(ValidationMessages messages)
ValidationMessages
messages
- the ValidationMessages
boolean hasValidator(Component comp, java.lang.String attr)
comp
- the component to checkattr
- the attribute to checkTemplateResolver getTemplateResolver(Component comp, java.lang.String attr)
Binder.setTemplate(Component, String, String, java.util.Map)
comp
- the component has resolversattr
- the attribute to get the resolverjava.util.List<Binding> getLoadPromptBindings(Component comp, java.lang.String attr)
comp
- the component is relative to the bindingsattr
- the attribute is relative to the bindingsPhaseListener getPhaseListener()
getPhaseListeners()
instead.PhaseListener
PhaseListener
java.util.List<PhaseListener> getPhaseListeners()
PhaseListener
PhaseListener
void setPhaseListener(PhaseListener listener)
addPhaseListener(PhaseListener)
instead.PhaseListener
listener
- the PhaseListener
void addPhaseListener(PhaseListener listener)
PhaseListener
listener
- boolean isActivating()
BindingExecutionInfoCollector getBindingExecutionInfoCollector()
BindingAnnotationInfoChecker getBindingAnnotationInfoChecker()
java.lang.String getQueueName()
java.lang.String getQueueScope()
void addSaveFormFieldName(Form form, java.lang.String fieldName)
fieldName
- field name to be saved into.void addSaveFormFieldName(Form form, java.util.Set<java.lang.String> fieldNames)
fieldNames
- field name to be saved into.java.util.Set<java.lang.String> getSaveFormFieldNames(Form self)
java.util.Set<java.lang.String> removeSaveFormFieldNames(Form self)
java.util.Map<java.lang.String,java.lang.reflect.Method> getMatchMediaValue()
Copyright © 2005-2018 Potix Corporation. All Rights Reserved.