public class ReferenceBindingImpl extends BindingImpl implements ReferenceBinding
ReferenceBinding.| Constructor and Description |
|---|
ReferenceBindingImpl(Binder binder,
org.zkoss.zk.ui.Component comp,
String attr,
String expression) |
| Modifier and Type | Method and Description |
|---|---|
String |
getPropertyString()
Returns the reference expression script of this binding.
|
Object |
getValue(BindELContext ctx)
Returns the referenced value.
|
void |
invalidateCache()
Invalidate cached value of this reference.
|
void |
load(BindContext ctx)
Load data into the source attribute from the target property.
|
void |
setValue(BindELContext ctx,
Object val)
Sets the value to referenced object
|
String |
toString() |
containsAttribute, getArgs, getAttribute, getBinder, getComponent, setAttributeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetArgs, getBinder, getComponentpublic Object getValue(BindELContext ctx)
ReferenceBindinggetValue in interface ReferenceBindingctx - the context to evaluate the reference expression.public void setValue(BindELContext ctx, Object val)
ReferenceBindingsetValue in interface ReferenceBindingctx - the context to evaluate the reference expression.public void load(BindContext ctx)
LoadBindingload in interface LoadBindingctx - the binding runtime contextpublic String getPropertyString()
ReferenceBindinggetPropertyString in interface ReferenceBindingpublic void invalidateCache()
ReferenceBindinginvalidateCache in interface ReferenceBindingCopyright © 2020. All rights reserved.