Package | Description |
---|---|
org.zkoss.bind |
ZK Bind Library
|
org.zkoss.bind.converter |
Converter for ZK Bind
|
org.zkoss.bind.converter.sys |
System Converter for ZK Bind
|
org.zkoss.bind.impl |
Core Implementation for ZK Bind
|
org.zkoss.bind.proxy |
Dynamic Proxy for Form Binding
|
org.zkoss.bind.sys |
System level classes for ZK Bind
|
org.zkoss.bind.xel.zel |
ZEL of XEL for ZK Bind
|
org.zkoss.zkmax.bind | |
org.zkoss.zkmax.bind.impl | |
org.zkoss.zuti.bind |
Modifier and Type | Method and Description |
---|---|
BindContext |
ValidationContext.getBindContext() |
Modifier and Type | Method and Description |
---|---|
B |
Converter.coerceToBean(U compAttr,
C component,
BindContext ctx)
Coerces a value to bean value to save to a bean
|
U |
Converter.coerceToUi(B beanProp,
C component,
BindContext ctx)
Coerces a value to another value to load to a component
|
void |
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.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
UriConverter.coerceToBean(java.lang.Object val,
Component component,
BindContext ctx) |
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 |
FormattedTimeConverter.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 |
FormatedDateConverter.coerceToBean(java.lang.Object val,
Component comp,
BindContext ctx)
Convert String to Date.
|
java.lang.Object |
UriConverter.coerceToUi(java.lang.Object val,
Component component,
BindContext ctx) |
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 false
|
java.lang.Object |
FormattedTimeConverter.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 |
FormatedDateConverter.coerceToUi(java.lang.Object val,
Component comp,
BindContext ctx)
Convert Date to String.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
AbstractSelectedIndexConverter.coerceToBean(java.lang.Object val,
C comp,
BindContext ctx) |
java.lang.Object |
AbstractListModelConverter.coerceToBean(java.lang.Object val,
C comp,
BindContext ctx)
Convert a
ListModel to Set, Map, List, or ListModel (itself). |
java.lang.Object |
TreeSelectedItemsConverter.coerceToBean(java.lang.Object val,
Component comp,
BindContext ctx) |
java.lang.Object |
TreeSelectedItemConverter.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 |
TabboxSelectedTabConverter.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 |
RadiogroupSelectedItemConverter.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 |
ListboxSelectedItemConverter.coerceToBean(java.lang.Object val,
Component comp,
BindContext ctx) |
java.lang.Object |
ErrorMessageConverter.coerceToBean(java.lang.Object val,
Component component,
BindContext ctx) |
java.lang.Object |
DefaultJSONBindingParamConverter.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 |
ChildrenBindingConverter.coerceToBean(java.lang.Object val,
Component component,
BindContext ctx) |
java.lang.Object |
ImageContentConverter.coerceToBean(java.lang.Object compAttr,
Image imgComp,
BindContext ctx) |
java.lang.Object |
AbstractSelectedIndexConverter.coerceToUi(java.lang.Object val,
C 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 associated
ListModel . |
java.lang.Object |
TreeSelectedItemsConverter.coerceToUi(java.lang.Object val,
Component comp,
BindContext ctx) |
java.lang.Object |
TreeSelectedItemConverter.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 |
TabboxSelectedTabConverter.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 |
RadiogroupSelectedItemConverter.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 |
ListboxSelectedItemConverter.coerceToUi(java.lang.Object val,
Component comp,
BindContext ctx) |
java.lang.Object |
ErrorMessageConverter.coerceToUi(java.lang.Object val,
Component component,
BindContext ctx) |
java.lang.Object |
DefaultJSONBindingParamConverter.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 |
ChildrenBindingConverter.coerceToUi(java.lang.Object val,
Component component,
BindContext ctx) |
java.lang.Object |
ImageContentConverter.coerceToUi(java.lang.Object beanProp,
Image imgComp,
BindContext ctx) |
protected ListModel<?> |
AbstractListModelConverter.handleWrappedModel(BindContext ctx,
C comp,
ListModel<?> model)
post processing the wrapped model. default return original one
|
protected ListModel<?> |
ListboxModelConverter.handleWrappedModel(BindContext ctx,
Listbox comp,
ListModel<?> model) |
Modifier and Type | Class and Description |
---|---|
class |
BindContextImpl
Implementation of
BindContext . |
Modifier and Type | Method and Description |
---|---|
BindContext |
ValidationContextImpl.getBindContext() |
BindContext |
ParamCall.getBindContext() |
static BindContext |
BindContextUtil.newBindContext(Binder binder,
Binding binding,
boolean save,
java.lang.String command,
Component comp,
Event event) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
BindingImpl.containsAttribute(BindContext ctx,
java.lang.Object key) |
protected ParamCall |
BinderImpl.createParamCall(BindContext ctx) |
protected void |
AbstractBindingHandler.doPostPhase(Phase phase,
BindContext ctx) |
protected void |
AbstractBindingHandler.doPrePhase(Phase phase,
BindContext ctx) |
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 |
SavePropertyBindingImpl.getValidate(BindContext ctx) |
Property |
SaveFormBindingImpl.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) |
boolean |
BindEvaluatorXImpl.isReadOnly(BindContext ctx,
Component comp,
ExpressionX expression) |
void |
ReferenceBindingImpl.load(BindContext ctx) |
void |
LoadPropertyBindingImpl.load(BindContext ctx) |
void |
LoadFormBindingImpl.load(BindContext ctx) |
void |
LoadChildrenBindingImpl.load(BindContext ctx) |
void |
InitPropertyBindingImpl.load(BindContext ctx) |
void |
InitFormBindingImpl.load(BindContext ctx) |
void |
InitChildrenBindingImpl.load(BindContext ctx) |
void |
IndirectBinding.load(BindContext ctx)
do nothing for this method
|
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 |
SavePropertyBindingImpl.save(BindContext ctx) |
void |
SaveFormBindingImpl.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) |
Constructor and 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) |
Modifier and Type | Method and Description |
---|---|
void |
MapProxy.submitToOrigin(BindContext ctx) |
void |
FormProxyObject.submitToOrigin(BindContext ctx)
Saves all of the changes of this form to the origin object.
|
void |
AbstractCollectionProxy.submitToOrigin(BindContext ctx) |
Modifier and Type | Method and 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)
Returns
Property to be validated. |
java.util.Set<Property> |
SaveFormBinding.getValidates(BindContext ctx)
Returns
Property s to be validated, includes the member field of the form |
java.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.
|
Modifier and Type | Method and Description |
---|---|
BindContext |
BindELContext.getBindContext() |
Modifier and Type | Method and 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.reflect.Method m,
java.lang.Object base,
java.lang.String prop,
java.lang.Object value,
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.util.Set<Property> props,
BindContext ctx) |
static java.util.Set<Property> |
BindELContext.getNotifys(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 Property |
BindELContext.prepareProperty(java.lang.Object base,
java.lang.String prop,
java.lang.Object value,
BindContext ctx) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
JacksonConverter.coerceToBean(java.lang.Object compAttr,
Component component,
BindContext ctx) |
java.lang.Object |
GsonConverter.coerceToBean(java.lang.Object compAttr,
Component component,
BindContext ctx) |
java.lang.Object |
JacksonConverter.coerceToUi(java.lang.Object beanProp,
Component component,
BindContext ctx) |
java.lang.Object |
GsonConverter.coerceToUi(java.lang.Object beanProp,
Component component,
BindContext ctx) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
BiglistboxSelectedObjectConverter.coerceToBean(java.lang.Object val,
Component comp,
BindContext ctx) |
java.lang.Object |
BiglistboxSelectedIndexConverter.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 |
BiglistboxSelectedObjectConverter.coerceToUi(java.lang.Object val,
Component comp,
BindContext ctx) |
java.lang.Object |
BiglistboxSelectedIndexConverter.coerceToUi(java.lang.Object val,
Component comp,
BindContext ctx) |
java.lang.Object |
DropuploadNativeConverter.coerceToUi(java.lang.Object beanProp,
Component component,
BindContext ctx) |
ExpressionX |
BindEvaluatorXImplEx.parseExpressionX(BindContext ctx,
java.lang.String expression,
java.lang.Class<?> expectedType) |
Modifier and Type | Method and Description |
---|---|
void |
ZutiPhaseListener.postPhase(Phase phase,
BindContext ctx) |
void |
ZutiPhaseListener.prePhase(Phase phase,
BindContext ctx) |
Copyright © 2005-2011 Potix Corporation. All Rights Reserved.