Uses of Interface
org.zkoss.bind.BindContext
-
Packages that use BindContext Package Description org.zkoss.bind org.zkoss.bind.converter org.zkoss.bind.converter.sys org.zkoss.bind.impl org.zkoss.bind.proxy org.zkoss.bind.sys org.zkoss.bind.xel.zel -
-
Uses of BindContext in org.zkoss.bind
Methods in org.zkoss.bind that return BindContext Modifier and Type Method Description BindContextValidationContext. getBindContext()Methods in org.zkoss.bind with parameters of type BindContext Modifier and Type Method Description BConverter. coerceToBean(U compAttr, C component, BindContext ctx)Coerces a value to bean value to save to a beanUConverter. coerceToUi(B beanProp, C component, BindContext ctx)Coerces a value to another value to load to a componentvoidPhaseListener. postPhase(Phase phase, BindContext ctx)Callbacks after each phase.voidPhaseListener. prePhase(Phase phase, BindContext ctx)Callbacks before each phase.voidFormStatus. submit(BindContext ctx)Submits the modified date to the origin object. -
Uses of BindContext in org.zkoss.bind.converter
Methods in org.zkoss.bind.converter with parameters of type BindContext Modifier and Type Method Description java.lang.ObjectFormatedDateConverter. coerceToBean(java.lang.Object val, org.zkoss.zk.ui.Component comp, BindContext ctx)Convert String to Date.java.lang.ObjectFormatedNumberConverter. coerceToBean(java.lang.Object val, org.zkoss.zk.ui.Component comp, BindContext ctx)Convert String to Number.java.lang.ObjectFormattedTimeConverter. coerceToBean(java.lang.Object val, org.zkoss.zk.ui.Component comp, BindContext ctx)Convert String to Date.java.lang.ObjectObjectBooleanConverter. coerceToBean(java.lang.Object val, org.zkoss.zk.ui.Component comp, BindContext ctx)Given an object value and return whether it is a "true" object.java.lang.ObjectUriConverter. coerceToBean(java.lang.Object val, org.zkoss.zk.ui.Component component, BindContext ctx)java.lang.ObjectFormatedDateConverter. coerceToUi(java.lang.Object val, org.zkoss.zk.ui.Component comp, BindContext ctx)Convert Date to String.java.lang.ObjectFormatedNumberConverter. coerceToUi(java.lang.Object val, org.zkoss.zk.ui.Component comp, BindContext ctx)Convert Number to String.java.lang.ObjectFormattedTimeConverter. coerceToUi(java.lang.Object val, org.zkoss.zk.ui.Component comp, BindContext ctx)Convert Date to String.java.lang.ObjectObjectBooleanConverter. coerceToUi(java.lang.Object val, org.zkoss.zk.ui.Component comp, BindContext ctx)Given a Boolean value and return associated "true" object if true; or "false" object if null or falsejava.lang.ObjectUriConverter. coerceToUi(java.lang.Object val, org.zkoss.zk.ui.Component component, BindContext ctx) -
Uses of BindContext in org.zkoss.bind.converter.sys
Methods in org.zkoss.bind.converter.sys with parameters of type BindContext Modifier and Type Method Description java.lang.ObjectAbstractListModelConverter. coerceToBean(java.lang.Object val, C comp, BindContext ctx)Convert aListModelto Set, Map, List, or ListModel (itself).java.lang.ObjectAbstractSelectedIndexConverter. coerceToBean(java.lang.Object val, C comp, BindContext ctx)java.lang.ObjectChildrenBindingConverter. coerceToBean(java.lang.Object val, org.zkoss.zk.ui.Component component, BindContext ctx)java.lang.ObjectComboboxSelectedItemConverter. coerceToBean(java.lang.Object val, org.zkoss.zk.ui.Component comp, BindContext ctx)java.lang.ObjectDefaultJSONBindingParamConverter. coerceToBean(java.lang.Object val, org.zkoss.zk.ui.Component component, BindContext ctx)java.lang.ObjectErrorMessageConverter. coerceToBean(java.lang.Object val, org.zkoss.zk.ui.Component component, BindContext ctx)TFormattedTemporalConverter. coerceToBean(java.lang.String compAttr, org.zkoss.zk.ui.Component component, BindContext ctx)Convert String to Temporal.java.lang.ObjectImageContentConverter. coerceToBean(java.lang.Object compAttr, org.zkoss.zul.Image imgComp, BindContext ctx)java.lang.ObjectListboxSelectedItemConverter. coerceToBean(java.lang.Object val, org.zkoss.zk.ui.Component comp, BindContext ctx)java.lang.ObjectListboxSelectedItemsConverter. coerceToBean(java.lang.Object val, org.zkoss.zk.ui.Component comp, BindContext ctx)java.lang.ObjectRadiogroupSelectedItemConverter. coerceToBean(java.lang.Object val, org.zkoss.zk.ui.Component comp, BindContext ctx)java.lang.ObjectSelectboxSelectedItemConverter. coerceToBean(java.lang.Object val, org.zkoss.zk.ui.Component comp, BindContext ctx)java.lang.ObjectTabboxSelectedTabConverter. coerceToBean(java.lang.Object val, org.zkoss.zk.ui.Component comp, BindContext ctx)java.lang.ObjectTreeModelConverter. coerceToBean(java.lang.Object val, org.zkoss.zk.ui.Component component, BindContext ctx)java.lang.ObjectTreeSelectedItemConverter. coerceToBean(java.lang.Object val, org.zkoss.zk.ui.Component comp, BindContext ctx)java.lang.ObjectTreeSelectedItemsConverter. coerceToBean(java.lang.Object val, org.zkoss.zk.ui.Component comp, BindContext ctx)java.lang.ObjectAbstractListModelConverter. coerceToUi(java.lang.Object val, C comp, BindContext ctx)Convert a Set, Map, List, Object[], Enum, or other kind of ListModel to associatedListModel.java.lang.ObjectAbstractSelectedIndexConverter. coerceToUi(java.lang.Object val, C comp, BindContext ctx)java.lang.ObjectChildrenBindingConverter. coerceToUi(java.lang.Object val, org.zkoss.zk.ui.Component component, BindContext ctx)java.lang.ObjectComboboxSelectedItemConverter. coerceToUi(java.lang.Object val, org.zkoss.zk.ui.Component comp, BindContext ctx)java.lang.ObjectDefaultJSONBindingParamConverter. coerceToUi(java.lang.Object val, org.zkoss.zk.ui.Component component, BindContext ctx)java.lang.ObjectErrorMessageConverter. coerceToUi(java.lang.Object val, org.zkoss.zk.ui.Component component, BindContext ctx)java.lang.StringFormattedTemporalConverter. coerceToUi(T beanProp, org.zkoss.zk.ui.Component component, BindContext ctx)Convert Temporal to String.java.lang.ObjectImageContentConverter. coerceToUi(java.lang.Object beanProp, org.zkoss.zul.Image imgComp, BindContext ctx)java.lang.ObjectListboxSelectedItemConverter. coerceToUi(java.lang.Object val, org.zkoss.zk.ui.Component comp, BindContext ctx)java.lang.ObjectListboxSelectedItemsConverter. coerceToUi(java.lang.Object val, org.zkoss.zk.ui.Component comp, BindContext ctx)java.lang.ObjectRadiogroupSelectedItemConverter. coerceToUi(java.lang.Object val, org.zkoss.zk.ui.Component comp, BindContext ctx)java.lang.ObjectSelectboxSelectedItemConverter. coerceToUi(java.lang.Object val, org.zkoss.zk.ui.Component comp, BindContext ctx)java.lang.ObjectTabboxSelectedTabConverter. coerceToUi(java.lang.Object val, org.zkoss.zk.ui.Component comp, BindContext ctx)java.lang.ObjectTreeModelConverter. coerceToUi(java.lang.Object val, org.zkoss.zk.ui.Component component, BindContext ctx)java.lang.ObjectTreeSelectedItemConverter. coerceToUi(java.lang.Object val, org.zkoss.zk.ui.Component comp, BindContext ctx)java.lang.ObjectTreeSelectedItemsConverter. coerceToUi(java.lang.Object val, org.zkoss.zk.ui.Component comp, BindContext ctx)protected org.zkoss.zul.ListModel<?>AbstractListModelConverter. handleWrappedModel(BindContext ctx, C comp, org.zkoss.zul.ListModel<?> model)post processing the wrapped model. default return original oneprotected org.zkoss.zul.ListModel<?>ListboxModelConverter. handleWrappedModel(BindContext ctx, org.zkoss.zul.Listbox comp, org.zkoss.zul.ListModel<?> model) -
Uses of BindContext in org.zkoss.bind.impl
Classes in org.zkoss.bind.impl that implement BindContext Modifier and Type Class Description classBindContextImplImplementation ofBindContext.Methods in org.zkoss.bind.impl that return BindContext Modifier and Type Method Description BindContextParamCall. getBindContext()BindContextValidationContextImpl. getBindContext()static BindContextBindContextUtil. newBindContext(Binder binder, Binding binding, boolean save, java.lang.String command, org.zkoss.zk.ui.Component comp, org.zkoss.zk.ui.event.Event event)Methods in org.zkoss.bind.impl with parameters of type BindContext Modifier and Type Method Description protected booleanBindingImpl. containsAttribute(BindContext ctx, java.lang.Object key)protected ParamCallBinderImpl. createParamCall(BindContext ctx)protected voidBinderImpl. doExecute(org.zkoss.zk.ui.Component comp, java.lang.String command, java.util.Map<java.lang.String,java.lang.Object> commandArgs, BindContext ctx, java.util.Set<Property> notifys)protected voidBinderImpl. doLoadAfter(org.zkoss.zk.ui.Component comp, java.lang.String command, BindContext ctx)protected voidBinderImpl. doLoadBefore(org.zkoss.zk.ui.Component comp, java.lang.String command, BindContext ctx)protected voidAbstractBindingHandler. doPostPhase(Phase phase, BindContext ctx)protected voidAbstractBindingHandler. doPrePhase(Phase phase, BindContext ctx)protected voidBinderImpl. doSaveAfter(org.zkoss.zk.ui.Component comp, java.lang.String command, org.zkoss.zk.ui.event.Event evt, BindContext ctx, java.util.Set<Property> notifys)protected voidBinderImpl. doSaveBefore(org.zkoss.zk.ui.Component comp, java.lang.String command, org.zkoss.zk.ui.event.Event evt, BindContext ctx, java.util.Set<Property> notifys)protected booleanBinderImpl. doValidate(org.zkoss.zk.ui.Component comp, java.lang.String command, org.zkoss.zk.ui.event.Event evt, BindContext ctx, java.util.Set<Property> notifys)voidCommandBindingImpl. execute(BindContext ctx)protected java.lang.ObjectBindingImpl. getAttribute(BindContext ctx, java.lang.Object key)FormSaveFormBindingImpl. getFormBean(BindContext ctx)protected static java.util.Set<Property>AbstractBindingHandler. getNotifys(BindContext ctx)java.lang.Class<?>BindEvaluatorXImpl. getType(BindContext ctx, org.zkoss.zk.ui.Component comp, org.zkoss.xel.ExpressionX expression)PropertySaveFormBindingImpl. getValidate(BindContext ctx)PropertySavePropertyBindingImpl. getValidate(BindContext ctx)java.util.Set<Property>SaveFormBindingImpl. getValidates(BindContext ctx)java.lang.ObjectBindEvaluatorXImpl. getValue(BindContext ctx, org.zkoss.zk.ui.Component comp, org.zkoss.xel.ExpressionX expression)org.zkoss.xel.ValueReferenceBindEvaluatorXImpl. getValueReference(BindContext ctx, org.zkoss.zk.ui.Component comp, org.zkoss.xel.ExpressionX expression)protected voidAbstractAnnotatedMethodInvoker. handleNotifyChange(Binder binder, BindContext ctx, java.lang.Object viewModel, java.lang.reflect.Method m, ParamCall parCall, java.util.Set<Property> changes)<T> FormFormBindingImpl. initFormBean(java.lang.Object bean, java.lang.Class<java.lang.Object> class1, BindContext bindContext)booleanBindEvaluatorXImpl. isReadOnly(BindContext ctx, org.zkoss.zk.ui.Component comp, org.zkoss.xel.ExpressionX expression)voidIndirectBinding. load(BindContext ctx)do nothing for this methodvoidInitChildrenBindingImpl. load(BindContext ctx)voidInitFormBindingImpl. load(BindContext ctx)voidInitPropertyBindingImpl. load(BindContext ctx)voidLoadChildrenBindingImpl. load(BindContext ctx)voidLoadFormBindingImpl. load(BindContext ctx)voidLoadPropertyBindingImpl. load(BindContext ctx)voidReferenceBindingImpl. load(BindContext ctx)protected org.zkoss.xel.XelContextBindEvaluatorXImpl. newXelContext(BindContext ctx, org.zkoss.zk.ui.Component comp)org.zkoss.xel.ExpressionXBindEvaluatorXImpl. parseExpressionX(BindContext ctx, java.lang.String expression, java.lang.Class<?> expectedType)voidClientBinderPhaseListener. postPhase(Phase phase, BindContext ctx)voidClientBinderPhaseListener. prePhase(Phase phase, BindContext ctx)voidSaveFormBindingImpl. save(BindContext ctx)voidSavePropertyBindingImpl. save(BindContext ctx)protected java.lang.ObjectBindingImpl. setAttribute(BindContext ctx, java.lang.Object key, java.lang.Object value)voidParamCall. setBindContext(BindContext ctx)static voidBindContextUtil. setCommandArgs(Binder binder, org.zkoss.zk.ui.Component comp, BindContext ctx, java.util.Map<java.lang.String,java.lang.Object> args)static voidBindContextUtil. setConverterArgs(Binder binder, org.zkoss.zk.ui.Component comp, BindContext ctx, PropertyBinding binding)static voidBindContextUtil. setValidatorArgs(Binder binder, org.zkoss.zk.ui.Component comp, BindContext ctx, SaveFormBinding binding)static voidBindContextUtil. setValidatorArgs(Binder binder, org.zkoss.zk.ui.Component comp, BindContext ctx, SavePropertyBinding binding)voidBindEvaluatorXImpl. setValue(BindContext ctx, org.zkoss.zk.ui.Component comp, org.zkoss.xel.ExpressionX expression, java.lang.Object value)Constructors in org.zkoss.bind.impl with parameters of type BindContext Constructor Description ChildrenBindingListDataListener(org.zkoss.zk.ui.Component comp, BindContext ctx, Converter<?,org.zkoss.zul.ListModel<?>,org.zkoss.zk.ui.Component> conv)ValidationContextImpl(java.lang.String command, Property property, java.util.Map<java.lang.String,Property[]> properties, BindContext ctx, boolean valid) -
Uses of BindContext in org.zkoss.bind.proxy
Methods in org.zkoss.bind.proxy with parameters of type BindContext Modifier and Type Method Description voidAbstractCollectionProxy. submitToOrigin(BindContext ctx)voidFormProxyObject. submitToOrigin(BindContext ctx)Saves all of the changes of this form to the origin object.voidListModelArrayProxy. submitToOrigin(BindContext ctx)voidListModelListProxy. submitToOrigin(BindContext ctx)voidListModelMapProxy. submitToOrigin(BindContext ctx)voidListModelSetProxy. submitToOrigin(BindContext ctx)voidMapProxy. submitToOrigin(BindContext ctx) -
Uses of BindContext in org.zkoss.bind.sys
Methods in org.zkoss.bind.sys with parameters of type BindContext Modifier and Type Method Description voidCommandBinding. execute(BindContext ctx)Call the command associated with this binding.java.lang.Class<?>BindEvaluatorX. getType(BindContext ctx, org.zkoss.zk.ui.Component comp, org.zkoss.xel.ExpressionX expression)Returns the result type of the specified expression.PropertySaveBinding. getValidate(BindContext ctx)ReturnsPropertyto be validated.java.util.Set<Property>SaveFormBinding. getValidates(BindContext ctx)ReturnsPropertys to be validated, includes the member field of the formjava.lang.ObjectBindEvaluatorX. getValue(BindContext ctx, org.zkoss.zk.ui.Component comp, org.zkoss.xel.ExpressionX expression)Sets the specified value to the property resolved from the specified expression.org.zkoss.xel.ValueReferenceBindEvaluatorX. getValueReference(BindContext ctx, org.zkoss.zk.ui.Component comp, org.zkoss.xel.ExpressionX expression)Returns the result reference of the specified expression.booleanBindEvaluatorX. isReadOnly(BindContext ctx, org.zkoss.zk.ui.Component comp, org.zkoss.xel.ExpressionX expression)Returns whether the specified expression a read only expression.voidLoadBinding. load(BindContext ctx)Load data into the source attribute from the target property.org.zkoss.xel.ExpressionXBindEvaluatorX. parseExpressionX(BindContext ctx, java.lang.String expression, java.lang.Class<?> expectedType)Prepares the expressionX.voidSaveBinding. save(BindContext ctx)Save data from the source attribute into the target property.voidBindEvaluatorX. setValue(BindContext ctx, org.zkoss.zk.ui.Component comp, org.zkoss.xel.ExpressionX expression, java.lang.Object value)Sets the specified value to the property resolved from the specified expression. -
Uses of BindContext in org.zkoss.bind.xel.zel
Methods in org.zkoss.bind.xel.zel that return BindContext Modifier and Type Method Description BindContextBindELContext. getBindContext()Methods in org.zkoss.bind.xel.zel with parameters of type BindContext Modifier and Type Method Description static voidBindELContext. addDependsOnTrackings(java.lang.reflect.Method m, java.lang.String basepath, java.util.List<java.lang.String> srcpath, Binding binding, BindContext ctx)static voidBindELContext. addNotifys(java.lang.Object base, java.lang.String prop, java.lang.Object value, BindContext ctx)static voidBindELContext. addNotifys(java.lang.reflect.Method m, java.lang.Object base, java.lang.String prop, java.lang.Object value, BindContext ctx)static voidBindELContext. addNotifys(java.util.Set<Property> props, BindContext ctx)static java.util.Set<Property>BindELContext. getNotifys(java.lang.reflect.Method m, java.lang.Object base, java.lang.String prop, java.lang.Object value, BindContext ctx)static java.util.Set<Property>BindELContext. getNotifys(BindContext ctx)static PropertyBindELContext. prepareProperty(java.lang.Object base, java.lang.String prop, java.lang.Object value, BindContext ctx)
-