| 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
|
| 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 |
|---|---|
Object |
FormatedNumberConverter.coerceToBean(Object val,
org.zkoss.zk.ui.Component comp,
BindContext ctx)
Convert String to Number.
|
Object |
FormattedTimeConverter.coerceToBean(Object val,
org.zkoss.zk.ui.Component comp,
BindContext ctx)
Convert String to Date.
|
Object |
UriConverter.coerceToBean(Object val,
org.zkoss.zk.ui.Component component,
BindContext ctx) |
Object |
ObjectBooleanConverter.coerceToBean(Object val,
org.zkoss.zk.ui.Component comp,
BindContext ctx)
Given an object value and return whether it is a "true" object.
|
Object |
FormatedDateConverter.coerceToBean(Object val,
org.zkoss.zk.ui.Component comp,
BindContext ctx)
Convert String to Date.
|
Object |
FormatedNumberConverter.coerceToUi(Object val,
org.zkoss.zk.ui.Component comp,
BindContext ctx)
Convert Number to String.
|
Object |
FormattedTimeConverter.coerceToUi(Object val,
org.zkoss.zk.ui.Component comp,
BindContext ctx)
Convert Date to String.
|
Object |
UriConverter.coerceToUi(Object val,
org.zkoss.zk.ui.Component component,
BindContext ctx) |
Object |
ObjectBooleanConverter.coerceToUi(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 false
|
Object |
FormatedDateConverter.coerceToUi(Object val,
org.zkoss.zk.ui.Component comp,
BindContext ctx)
Convert Date to String.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
AbstractSelectedIndexConverter.coerceToBean(Object val,
C comp,
BindContext ctx) |
Object |
AbstractListModelConverter.coerceToBean(Object val,
C comp,
BindContext ctx)
Convert a
ListModel to Set, Map, List, or ListModel (itself). |
Object |
TreeModelConverter.coerceToBean(Object val,
org.zkoss.zk.ui.Component component,
BindContext ctx) |
Object |
ListboxSelectedItemsConverter.coerceToBean(Object val,
org.zkoss.zk.ui.Component comp,
BindContext ctx) |
Object |
TabboxSelectedTabConverter.coerceToBean(Object val,
org.zkoss.zk.ui.Component comp,
BindContext ctx) |
Object |
RadiogroupSelectedItemConverter.coerceToBean(Object val,
org.zkoss.zk.ui.Component comp,
BindContext ctx) |
Object |
TreeSelectedItemConverter.coerceToBean(Object val,
org.zkoss.zk.ui.Component comp,
BindContext ctx) |
Object |
TreeSelectedItemsConverter.coerceToBean(Object val,
org.zkoss.zk.ui.Component comp,
BindContext ctx) |
Object |
SelectboxSelectedItemConverter.coerceToBean(Object val,
org.zkoss.zk.ui.Component comp,
BindContext ctx) |
Object |
ListboxSelectedItemConverter.coerceToBean(Object val,
org.zkoss.zk.ui.Component comp,
BindContext ctx) |
Object |
ChildrenBindingConverter.coerceToBean(Object val,
org.zkoss.zk.ui.Component component,
BindContext ctx) |
Object |
ErrorMessageConverter.coerceToBean(Object val,
org.zkoss.zk.ui.Component component,
BindContext ctx) |
Object |
ComboboxSelectedItemConverter.coerceToBean(Object val,
org.zkoss.zk.ui.Component comp,
BindContext ctx) |
Object |
DefaultJSONBindingParamConverter.coerceToBean(Object val,
org.zkoss.zk.ui.Component component,
BindContext ctx) |
Object |
ImageContentConverter.coerceToBean(Object compAttr,
org.zkoss.zul.Image imgComp,
BindContext ctx) |
T |
FormattedTemporalConverter.coerceToBean(String compAttr,
org.zkoss.zk.ui.Component component,
BindContext ctx)
Convert String to Temporal.
|
Object |
AbstractSelectedIndexConverter.coerceToUi(Object val,
C comp,
BindContext ctx) |
Object |
AbstractListModelConverter.coerceToUi(Object val,
C comp,
BindContext ctx)
Convert a Set, Map, List, Object[], Enum, or other kind of ListModel to associated
ListModel. |
Object |
TreeModelConverter.coerceToUi(Object val,
org.zkoss.zk.ui.Component component,
BindContext ctx) |
Object |
ListboxSelectedItemsConverter.coerceToUi(Object val,
org.zkoss.zk.ui.Component comp,
BindContext ctx) |
Object |
TabboxSelectedTabConverter.coerceToUi(Object val,
org.zkoss.zk.ui.Component comp,
BindContext ctx) |
Object |
RadiogroupSelectedItemConverter.coerceToUi(Object val,
org.zkoss.zk.ui.Component comp,
BindContext ctx) |
Object |
TreeSelectedItemConverter.coerceToUi(Object val,
org.zkoss.zk.ui.Component comp,
BindContext ctx) |
Object |
TreeSelectedItemsConverter.coerceToUi(Object val,
org.zkoss.zk.ui.Component comp,
BindContext ctx) |
Object |
SelectboxSelectedItemConverter.coerceToUi(Object val,
org.zkoss.zk.ui.Component comp,
BindContext ctx) |
Object |
ListboxSelectedItemConverter.coerceToUi(Object val,
org.zkoss.zk.ui.Component comp,
BindContext ctx) |
Object |
ChildrenBindingConverter.coerceToUi(Object val,
org.zkoss.zk.ui.Component component,
BindContext ctx) |
Object |
ErrorMessageConverter.coerceToUi(Object val,
org.zkoss.zk.ui.Component component,
BindContext ctx) |
Object |
ComboboxSelectedItemConverter.coerceToUi(Object val,
org.zkoss.zk.ui.Component comp,
BindContext ctx) |
Object |
DefaultJSONBindingParamConverter.coerceToUi(Object val,
org.zkoss.zk.ui.Component component,
BindContext ctx) |
Object |
ImageContentConverter.coerceToUi(Object beanProp,
org.zkoss.zul.Image imgComp,
BindContext ctx) |
String |
FormattedTemporalConverter.coerceToUi(T beanProp,
org.zkoss.zk.ui.Component component,
BindContext ctx)
Convert Temporal to String.
|
protected org.zkoss.zul.ListModel<?> |
AbstractListModelConverter.handleWrappedModel(BindContext ctx,
C comp,
org.zkoss.zul.ListModel<?> model)
post processing the wrapped model.
|
protected org.zkoss.zul.ListModel<?> |
ListboxModelConverter.handleWrappedModel(BindContext ctx,
org.zkoss.zul.Listbox comp,
org.zkoss.zul.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,
String command,
org.zkoss.zk.ui.Component comp,
org.zkoss.zk.ui.event.Event event) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
BindingImpl.containsAttribute(BindContext ctx,
Object key) |
protected ParamCall |
BinderImpl.createParamCall(BindContext ctx) |
protected void |
BinderImpl.doExecute(org.zkoss.zk.ui.Component comp,
String command,
Map<String,Object> commandArgs,
BindContext ctx,
Set<Property> notifys) |
protected void |
BinderImpl.doLoadAfter(org.zkoss.zk.ui.Component comp,
String command,
BindContext ctx) |
protected void |
BinderImpl.doLoadBefore(org.zkoss.zk.ui.Component comp,
String command,
BindContext ctx) |
protected void |
AbstractBindingHandler.doPostPhase(Phase phase,
BindContext ctx) |
protected void |
AbstractBindingHandler.doPrePhase(Phase phase,
BindContext ctx) |
protected void |
BinderImpl.doSaveAfter(org.zkoss.zk.ui.Component comp,
String command,
org.zkoss.zk.ui.event.Event evt,
BindContext ctx,
Set<Property> notifys) |
protected void |
BinderImpl.doSaveBefore(org.zkoss.zk.ui.Component comp,
String command,
org.zkoss.zk.ui.event.Event evt,
BindContext ctx,
Set<Property> notifys) |
protected boolean |
BinderImpl.doValidate(org.zkoss.zk.ui.Component comp,
String command,
org.zkoss.zk.ui.event.Event evt,
BindContext ctx,
Set<Property> notifys) |
void |
CommandBindingImpl.execute(BindContext ctx) |
protected Object |
BindingImpl.getAttribute(BindContext ctx,
Object key) |
Form |
SaveFormBindingImpl.getFormBean(BindContext ctx) |
protected static Set<Property> |
AbstractBindingHandler.getNotifys(BindContext ctx) |
Class<?> |
BindEvaluatorXImpl.getType(BindContext ctx,
org.zkoss.zk.ui.Component comp,
org.zkoss.xel.ExpressionX expression) |
Property |
SavePropertyBindingImpl.getValidate(BindContext ctx) |
Property |
SaveFormBindingImpl.getValidate(BindContext ctx) |
Set<Property> |
SaveFormBindingImpl.getValidates(BindContext ctx) |
Object |
BindEvaluatorXImpl.getValue(BindContext ctx,
org.zkoss.zk.ui.Component comp,
org.zkoss.xel.ExpressionX expression) |
org.zkoss.xel.ValueReference |
BindEvaluatorXImpl.getValueReference(BindContext ctx,
org.zkoss.zk.ui.Component comp,
org.zkoss.xel.ExpressionX expression) |
<T> Form |
FormBindingImpl.initFormBean(Object bean,
Class<Object> class1,
BindContext bindContext) |
boolean |
BindEvaluatorXImpl.isReadOnly(BindContext ctx,
org.zkoss.zk.ui.Component comp,
org.zkoss.xel.ExpressionX expression) |
void |
LoadChildrenBindingImpl.load(BindContext ctx) |
void |
ReferenceBindingImpl.load(BindContext ctx) |
void |
InitFormBindingImpl.load(BindContext ctx) |
void |
InitChildrenBindingImpl.load(BindContext ctx) |
void |
IndirectBinding.load(BindContext ctx)
do nothing for this method
|
void |
LoadFormBindingImpl.load(BindContext ctx) |
void |
InitPropertyBindingImpl.load(BindContext ctx) |
void |
LoadPropertyBindingImpl.load(BindContext ctx) |
protected org.zkoss.xel.XelContext |
BindEvaluatorXImpl.newXelContext(BindContext ctx,
org.zkoss.zk.ui.Component comp) |
org.zkoss.xel.ExpressionX |
BindEvaluatorXImpl.parseExpressionX(BindContext ctx,
String expression,
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 Object |
BindingImpl.setAttribute(BindContext ctx,
Object key,
Object value) |
void |
ParamCall.setBindContext(BindContext ctx) |
static void |
BindContextUtil.setCommandArgs(Binder binder,
org.zkoss.zk.ui.Component comp,
BindContext ctx,
Map<String,Object> args) |
static void |
BindContextUtil.setConverterArgs(Binder binder,
org.zkoss.zk.ui.Component comp,
BindContext ctx,
PropertyBinding binding) |
static void |
BindContextUtil.setValidatorArgs(Binder binder,
org.zkoss.zk.ui.Component comp,
BindContext ctx,
SaveFormBinding binding) |
static void |
BindContextUtil.setValidatorArgs(Binder binder,
org.zkoss.zk.ui.Component comp,
BindContext ctx,
SavePropertyBinding binding) |
void |
BindEvaluatorXImpl.setValue(BindContext ctx,
org.zkoss.zk.ui.Component comp,
org.zkoss.xel.ExpressionX expression,
Object value) |
| Constructor and Description |
|---|
ChildrenBindingListDataListener(org.zkoss.zk.ui.Component comp,
BindContext ctx,
Converter<?,org.zkoss.zul.ListModel<?>,org.zkoss.zk.ui.Component> conv) |
ValidationContextImpl(String command,
Property property,
Map<String,Property[]> properties,
BindContext ctx,
boolean valid) |
| Modifier and Type | Method and Description |
|---|---|
void |
FormProxyObject.submitToOrigin(BindContext ctx)
Saves all of the changes of this form to the origin object.
|
void |
AbstractCollectionProxy.submitToOrigin(BindContext ctx) |
void |
MapProxy.submitToOrigin(BindContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
void |
CommandBinding.execute(BindContext ctx)
Call the command associated with this binding.
|
Class<?> |
BindEvaluatorX.getType(BindContext ctx,
org.zkoss.zk.ui.Component comp,
org.zkoss.xel.ExpressionX expression)
Returns the result type of the specified expression.
|
Property |
SaveBinding.getValidate(BindContext ctx)
Returns
Property to be validated. |
Set<Property> |
SaveFormBinding.getValidates(BindContext ctx)
Returns
Propertys to be validated, includes the member field of the form |
Object |
BindEvaluatorX.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.ValueReference |
BindEvaluatorX.getValueReference(BindContext ctx,
org.zkoss.zk.ui.Component comp,
org.zkoss.xel.ExpressionX expression)
Returns the result reference of the specified expression.
|
boolean |
BindEvaluatorX.isReadOnly(BindContext ctx,
org.zkoss.zk.ui.Component comp,
org.zkoss.xel.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.
|
org.zkoss.xel.ExpressionX |
BindEvaluatorX.parseExpressionX(BindContext ctx,
String expression,
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,
org.zkoss.zk.ui.Component comp,
org.zkoss.xel.ExpressionX expression,
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(Method m,
String basepath,
List<String> srcpath,
Binding binding,
BindContext ctx) |
static void |
BindELContext.addNotifys(Method m,
Object base,
String prop,
Object value,
BindContext ctx) |
static void |
BindELContext.addNotifys(Object base,
String prop,
Object value,
BindContext ctx) |
static void |
BindELContext.addNotifys(Set<Property> props,
BindContext ctx) |
static Set<Property> |
BindELContext.getNotifys(BindContext ctx) |
static Set<Property> |
BindELContext.getNotifys(Method m,
Object base,
String prop,
Object value,
BindContext ctx) |
static Property |
BindELContext.prepareProperty(Object base,
String prop,
Object value,
BindContext ctx) |
Copyright © 2020. All rights reserved.