Uses of Interface
org.zkoss.bind.BindContext
-
-
Uses of BindContext in org.zkoss.bind
Methods in org.zkoss.bind that return BindContext Modifier and Type Method Description BindContext
ValidationContext. getBindContext()
Methods in org.zkoss.bind with parameters of type BindContext Modifier and Type Method Description B
Converter. coerceToBean(U compAttr, C component, BindContext ctx)
Coerces a value to bean value to save to a beanU
Converter. coerceToUi(B beanProp, C component, BindContext ctx)
Coerces a value to another value to load to a componentvoid
PhaseListener. postPhase(Phase phase, BindContext ctx)
Callbacks after each phase.void
PhaseListener. prePhase(Phase phase, BindContext ctx)
Callbacks before each phase.void
FormStatus. 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.Object
FormatedDateConverter. coerceToBean(java.lang.Object val, Component comp, BindContext ctx)
Convert String to Date.java.lang.Object
FormatedNumberConverter. coerceToBean(java.lang.Object val, Component comp, BindContext ctx)
Convert String to Number.java.lang.Object
FormattedTimeConverter. coerceToBean(java.lang.Object val, Component comp, BindContext ctx)
Convert String to Date.java.lang.Object
ObjectBooleanConverter. coerceToBean(java.lang.Object val, Component comp, BindContext ctx)
Given an object value and return whether it is a "true" object.java.lang.Object
UriConverter. coerceToBean(java.lang.Object val, Component component, BindContext ctx)
java.lang.Object
FormatedDateConverter. coerceToUi(java.lang.Object val, Component comp, BindContext ctx)
Convert Date to String.java.lang.Object
FormatedNumberConverter. coerceToUi(java.lang.Object val, Component comp, BindContext ctx)
Convert Number to String.java.lang.Object
FormattedTimeConverter. coerceToUi(java.lang.Object val, Component comp, BindContext ctx)
Convert Date to String.java.lang.Object
ObjectBooleanConverter. coerceToUi(java.lang.Object val, Component comp, BindContext ctx)
Given a Boolean value and return associated "true" object if true; or "false" object if null or falsejava.lang.Object
UriConverter. coerceToUi(java.lang.Object val, 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.Object
AbstractListModelConverter. coerceToBean(java.lang.Object val, C comp, BindContext ctx)
Convert aListModel
to Set, Map, List, or ListModel (itself).java.lang.Object
AbstractSelectedIndexConverter. coerceToBean(java.lang.Object val, C comp, BindContext ctx)
java.lang.Object
ChildrenBindingConverter. coerceToBean(java.lang.Object val, Component component, BindContext ctx)
java.lang.Object
ComboboxSelectedItemConverter. coerceToBean(java.lang.Object val, Component comp, BindContext ctx)
java.lang.Object
DefaultJSONBindingParamConverter. coerceToBean(java.lang.Object val, Component component, BindContext ctx)
java.lang.Object
ErrorMessageConverter. coerceToBean(java.lang.Object val, Component component, BindContext ctx)
T
FormattedTemporalConverter. coerceToBean(java.lang.String compAttr, Component component, BindContext ctx)
Convert String to Temporal.java.lang.Object
ImageContentConverter. coerceToBean(java.lang.Object compAttr, Image imgComp, BindContext ctx)
java.lang.Object
ListboxSelectedItemConverter. coerceToBean(java.lang.Object val, Component comp, BindContext ctx)
java.lang.Object
ListboxSelectedItemsConverter. coerceToBean(java.lang.Object val, Component comp, BindContext ctx)
java.lang.Object
RadiogroupSelectedItemConverter. coerceToBean(java.lang.Object val, Component comp, BindContext ctx)
java.lang.Object
SelectboxSelectedItemConverter. coerceToBean(java.lang.Object val, Component comp, BindContext ctx)
java.lang.Object
TabboxSelectedTabConverter. coerceToBean(java.lang.Object val, Component comp, BindContext ctx)
java.lang.Object
TreeModelConverter. coerceToBean(java.lang.Object val, Component component, BindContext ctx)
java.lang.Object
TreeSelectedItemConverter. coerceToBean(java.lang.Object val, Component comp, BindContext ctx)
java.lang.Object
TreeSelectedItemsConverter. coerceToBean(java.lang.Object val, Component comp, BindContext ctx)
java.lang.Object
AbstractListModelConverter. 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.Object
AbstractSelectedIndexConverter. coerceToUi(java.lang.Object val, C comp, BindContext ctx)
java.lang.Object
ChildrenBindingConverter. coerceToUi(java.lang.Object val, Component component, BindContext ctx)
java.lang.Object
ComboboxSelectedItemConverter. coerceToUi(java.lang.Object val, Component comp, BindContext ctx)
java.lang.Object
DefaultJSONBindingParamConverter. coerceToUi(java.lang.Object val, Component component, BindContext ctx)
java.lang.Object
ErrorMessageConverter. coerceToUi(java.lang.Object val, Component component, BindContext ctx)
java.lang.String
FormattedTemporalConverter. coerceToUi(T beanProp, Component component, BindContext ctx)
Convert Temporal to String.java.lang.Object
ImageContentConverter. coerceToUi(java.lang.Object beanProp, Image imgComp, BindContext ctx)
java.lang.Object
ListboxSelectedItemConverter. coerceToUi(java.lang.Object val, Component comp, BindContext ctx)
java.lang.Object
ListboxSelectedItemsConverter. coerceToUi(java.lang.Object val, Component comp, BindContext ctx)
java.lang.Object
RadiogroupSelectedItemConverter. coerceToUi(java.lang.Object val, Component comp, BindContext ctx)
java.lang.Object
SelectboxSelectedItemConverter. coerceToUi(java.lang.Object val, Component comp, BindContext ctx)
java.lang.Object
TabboxSelectedTabConverter. coerceToUi(java.lang.Object val, Component comp, BindContext ctx)
java.lang.Object
TreeModelConverter. coerceToUi(java.lang.Object val, Component component, BindContext ctx)
java.lang.Object
TreeSelectedItemConverter. coerceToUi(java.lang.Object val, Component comp, BindContext ctx)
java.lang.Object
TreeSelectedItemsConverter. coerceToUi(java.lang.Object val, Component comp, BindContext ctx)
protected ListModel<?>
AbstractListModelConverter. handleWrappedModel(BindContext ctx, C comp, ListModel<?> model)
post processing the wrapped model. default return original oneprotected ListModel<?>
ListboxModelConverter. handleWrappedModel(BindContext ctx, Listbox comp, ListModel<?> model)
-
Uses of BindContext in org.zkoss.bind.impl
Classes in org.zkoss.bind.impl that implement BindContext Modifier and Type Class Description class
BindContextImpl
Implementation ofBindContext
.Methods in org.zkoss.bind.impl that return BindContext Modifier and Type Method Description BindContext
ParamCall. getBindContext()
BindContext
ValidationContextImpl. getBindContext()
static BindContext
BindContextUtil. newBindContext(Binder binder, Binding binding, boolean save, java.lang.String command, Component comp, Event event)
Methods in org.zkoss.bind.impl with parameters of type BindContext Modifier and Type Method Description protected boolean
BindingImpl. containsAttribute(BindContext ctx, java.lang.Object key)
protected ParamCall
BinderImpl. createParamCall(BindContext ctx)
protected void
BinderImpl. doExecute(Component comp, java.lang.String command, java.util.Map<java.lang.String,java.lang.Object> commandArgs, BindContext ctx, java.util.Set<Property> notifys)
protected void
BinderImpl. doLoadAfter(Component comp, java.lang.String command, BindContext ctx)
protected void
BinderImpl. doLoadBefore(Component comp, java.lang.String command, BindContext ctx)
protected void
AbstractBindingHandler. doPostPhase(Phase phase, BindContext ctx)
protected void
AbstractBindingHandler. doPrePhase(Phase phase, BindContext ctx)
protected void
BinderImpl. doSaveAfter(Component comp, java.lang.String command, Event evt, BindContext ctx, java.util.Set<Property> notifys)
protected void
BinderImpl. doSaveBefore(Component comp, java.lang.String command, Event evt, BindContext ctx, java.util.Set<Property> notifys)
protected boolean
BinderImpl. doValidate(Component comp, java.lang.String command, Event evt, BindContext ctx, java.util.Set<Property> notifys)
void
CommandBindingImpl. execute(BindContext ctx)
protected java.lang.Object
BindingImpl. getAttribute(BindContext ctx, java.lang.Object key)
Form
SaveFormBindingImpl. getFormBean(BindContext ctx)
protected static java.util.Set<Property>
AbstractBindingHandler. getNotifys(BindContext ctx)
java.lang.Class<?>
BindEvaluatorXImpl. getType(BindContext ctx, Component comp, ExpressionX expression)
Property
SaveFormBindingImpl. getValidate(BindContext ctx)
Property
SavePropertyBindingImpl. getValidate(BindContext ctx)
java.util.Set<Property>
SaveFormBindingImpl. getValidates(BindContext ctx)
java.lang.Object
BindEvaluatorXImpl. getValue(BindContext ctx, Component comp, ExpressionX expression)
ValueReference
BindEvaluatorXImpl. getValueReference(BindContext ctx, Component comp, ExpressionX expression)
protected void
AbstractAnnotatedMethodInvoker. handleNotifyChange(Binder binder, BindContext ctx, java.lang.Object viewModel, java.lang.reflect.Method m, ParamCall parCall, java.util.Set<Property> changes)
<T> Form
FormBindingImpl. initFormBean(java.lang.Object bean, java.lang.Class<java.lang.Object> class1, BindContext bindContext)
boolean
BindEvaluatorXImpl. isReadOnly(BindContext ctx, Component comp, ExpressionX expression)
void
IndirectBinding. load(BindContext ctx)
do nothing for this methodvoid
InitChildrenBindingImpl. load(BindContext ctx)
void
InitFormBindingImpl. load(BindContext ctx)
void
InitPropertyBindingImpl. load(BindContext ctx)
void
LoadChildrenBindingImpl. load(BindContext ctx)
void
LoadFormBindingImpl. load(BindContext ctx)
void
LoadPropertyBindingImpl. load(BindContext ctx)
void
ReferenceBindingImpl. load(BindContext ctx)
protected XelContext
BindEvaluatorXImpl. newXelContext(BindContext ctx, Component comp)
ExpressionX
BindEvaluatorXImpl. parseExpressionX(BindContext ctx, java.lang.String expression, java.lang.Class<?> expectedType)
void
ClientBinderPhaseListener. postPhase(Phase phase, BindContext ctx)
void
ClientBinderPhaseListener. prePhase(Phase phase, BindContext ctx)
void
SaveFormBindingImpl. save(BindContext ctx)
void
SavePropertyBindingImpl. save(BindContext ctx)
protected java.lang.Object
BindingImpl. setAttribute(BindContext ctx, java.lang.Object key, java.lang.Object value)
void
ParamCall. setBindContext(BindContext ctx)
static void
BindContextUtil. setCommandArgs(Binder binder, Component comp, BindContext ctx, java.util.Map<java.lang.String,java.lang.Object> args)
static void
BindContextUtil. setConverterArgs(Binder binder, Component comp, BindContext ctx, PropertyBinding binding)
static void
BindContextUtil. setValidatorArgs(Binder binder, Component comp, BindContext ctx, SaveFormBinding binding)
static void
BindContextUtil. setValidatorArgs(Binder binder, Component comp, BindContext ctx, SavePropertyBinding binding)
void
BindEvaluatorXImpl. setValue(BindContext ctx, Component comp, ExpressionX expression, java.lang.Object value)
Constructors in org.zkoss.bind.impl with parameters of type BindContext Constructor Description ChildrenBindingListDataListener(Component comp, BindContext ctx, Converter<?,ListModel<?>,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 void
AbstractCollectionProxy. submitToOrigin(BindContext ctx)
void
FormProxyObject. submitToOrigin(BindContext ctx)
Saves all of the changes of this form to the origin object.void
ListModelArrayProxy. submitToOrigin(BindContext ctx)
void
ListModelListProxy. submitToOrigin(BindContext ctx)
void
ListModelMapProxy. submitToOrigin(BindContext ctx)
void
ListModelSetProxy. submitToOrigin(BindContext ctx)
void
MapProxy. 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 void
CommandBinding. execute(BindContext ctx)
Call the command associated with this binding.java.lang.Class<?>
BindEvaluatorX. getType(BindContext ctx, Component comp, ExpressionX expression)
Returns the result type of the specified expression.Property
SaveBinding. getValidate(BindContext ctx)
ReturnsProperty
to be validated.java.util.Set<Property>
SaveFormBinding. getValidates(BindContext ctx)
ReturnsProperty
s to be validated, includes the member field of the formjava.lang.Object
BindEvaluatorX. getValue(BindContext ctx, Component comp, ExpressionX expression)
Sets the specified value to the property resolved from the specified expression.ValueReference
BindEvaluatorX. getValueReference(BindContext ctx, Component comp, ExpressionX expression)
Returns the result reference of the specified expression.boolean
BindEvaluatorX. isReadOnly(BindContext ctx, Component comp, ExpressionX expression)
Returns whether the specified expression a read only expression.void
LoadBinding. load(BindContext ctx)
Load data into the source attribute from the target property.ExpressionX
BindEvaluatorX. parseExpressionX(BindContext ctx, java.lang.String expression, java.lang.Class<?> expectedType)
Prepares the expressionX.void
SaveBinding. save(BindContext ctx)
Save data from the source attribute into the target property.void
BindEvaluatorX. setValue(BindContext ctx, Component comp, 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 BindContext
BindELContext. getBindContext()
Methods in org.zkoss.bind.xel.zel with parameters of type BindContext Modifier and Type Method Description static void
BindELContext. addDependsOnTrackings(java.lang.reflect.Method m, java.lang.String basepath, java.util.List<java.lang.String> srcpath, Binding binding, BindContext ctx)
static void
BindELContext. addNotifys(java.lang.Object base, java.lang.String prop, java.lang.Object value, BindContext ctx)
static void
BindELContext. addNotifys(java.lang.reflect.Method m, java.lang.Object base, java.lang.String prop, java.lang.Object value, BindContext ctx)
static void
BindELContext. 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 Property
BindELContext. prepareProperty(java.lang.Object base, java.lang.String prop, java.lang.Object value, BindContext ctx)
-
Uses of BindContext in org.zkoss.clientbind
Methods in org.zkoss.clientbind that return BindContext Modifier and Type Method Description protected BindContext
ClientBindComposer. prepareConverterContext(Component target, java.util.Map<java.lang.String,java.lang.Object> paramsFromClient)
Methods in org.zkoss.clientbind with parameters of type BindContext Modifier and Type Method Description java.lang.Object
GsonConverter. coerceToBean(java.lang.Object compAttr, Component component, BindContext ctx)
java.lang.Class<?>
ClientBinderResolver. getType(BindContext ctx, Component comp, ExpressionX expression)
Property
ClientSaveFormBindingImpl. getValidate(BindContext bindContext)
Property
ClientSavePropertyBindingImpl. getValidate(BindContext bindContext)
java.util.Set<Property>
ClientSaveFormBindingImpl. getValidates(BindContext ctx)
java.lang.Object
ClientBinderResolver. getValue(BindContext ctx, Component comp, ExpressionX expression)
ValueReference
ClientBinderResolver. getValueReference(BindContext ctx, Component comp, ExpressionX expression)
boolean
ClientBinderResolver. isReadOnly(BindContext ctx, Component comp, ExpressionX expression)
protected XelContext
ClientBinderResolver. newXelContext(BindContext ctx, Component comp)
ExpressionX
ClientBinderResolver. parseExpressionX(BindContext ctx, java.lang.String expression, java.lang.Class<?> expectedType)
void
ClientSaveFormBindingImpl. save(BindContext bindContext)
void
ClientSavePropertyBindingImpl. save(BindContext bindContext)
void
ClientBinderResolver. setValue(BindContext ctx, Component comp, ExpressionX expression, java.lang.Object value)
-
Uses of BindContext in org.zkoss.zkmax.bind
Methods in org.zkoss.zkmax.bind with parameters of type BindContext Modifier and Type Method Description java.lang.Object
GsonConverter. coerceToBean(java.lang.Object compAttr, Component component, BindContext ctx)
java.lang.Object
JacksonConverter. coerceToBean(java.lang.Object compAttr, Component component, BindContext ctx)
java.lang.Object
GsonConverter. coerceToUi(java.lang.Object beanProp, Component component, BindContext ctx)
java.lang.Object
JacksonConverter. coerceToUi(java.lang.Object beanProp, Component component, BindContext ctx)
-
Uses of BindContext in org.zkoss.zkmax.bind.impl
Methods in org.zkoss.zkmax.bind.impl with parameters of type BindContext Modifier and Type Method Description java.lang.Object
BiglistboxSelectedIndexConverter. coerceToBean(java.lang.Object val, Component comp, BindContext ctx)
java.lang.Object
BiglistboxSelectedObjectConverter. coerceToBean(java.lang.Object val, Component comp, BindContext ctx)
java.lang.Object
DropuploadNativeConverter. coerceToBean(java.lang.Object compAttr, Component component, BindContext ctx)
java.lang.Object
BiglistboxSelectedIndexConverter. coerceToUi(java.lang.Object val, Component comp, BindContext ctx)
java.lang.Object
BiglistboxSelectedObjectConverter. coerceToUi(java.lang.Object val, Component comp, BindContext ctx)
java.lang.Object
DropuploadNativeConverter. coerceToUi(java.lang.Object beanProp, Component component, BindContext ctx)
protected ListModel<?>
SearchboxModelConverter. handleWrappedModel(BindContext ctx, Searchbox comp, ListModel<?> model)
ExpressionX
BindEvaluatorXImplEx. parseExpressionX(BindContext ctx, java.lang.String expression, java.lang.Class<?> expectedType)
-
Uses of BindContext in org.zkoss.zuti.bind
Methods in org.zkoss.zuti.bind with parameters of type BindContext Modifier and Type Method Description void
ZutiPhaseListener. postPhase(Phase phase, BindContext ctx)
void
ZutiPhaseListener. prePhase(Phase phase, BindContext ctx)
-