|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.zkoss.bind.impl.BindingImpl org.zkoss.bind.impl.ReferenceBindingImpl
public class ReferenceBindingImpl
Implementation of ReferenceBinding
.
Constructor Summary | |
---|---|
ReferenceBindingImpl(Binder binder,
Component comp,
java.lang.String attr,
java.lang.String expression)
|
Method Summary | |
---|---|
java.lang.String |
getPropertyString()
Returns the reference expression script of this binding. |
java.lang.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,
java.lang.Object val)
Sets the value to referenced object |
java.lang.String |
toString()
|
Methods inherited from class org.zkoss.bind.impl.BindingImpl |
---|
containsAttribute, getArgs, getAttribute, getBinder, getComponent, setAttribute |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.zkoss.bind.sys.Binding |
---|
getArgs, getBinder, getComponent |
Constructor Detail |
---|
public ReferenceBindingImpl(Binder binder, Component comp, java.lang.String attr, java.lang.String expression)
Method Detail |
---|
public java.lang.Object getValue(BindELContext ctx)
ReferenceBinding
getValue
in interface ReferenceBinding
ctx
- the context to evaluate the reference expression.
public void setValue(BindELContext ctx, java.lang.Object val)
ReferenceBinding
setValue
in interface ReferenceBinding
ctx
- the context to evaluate the reference expression.public void load(BindContext ctx)
LoadBinding
load
in interface LoadBinding
ctx
- the binding runtime contextpublic java.lang.String getPropertyString()
ReferenceBinding
getPropertyString
in interface ReferenceBinding
public void invalidateCache()
ReferenceBinding
invalidateCache
in interface ReferenceBinding
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |