|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.zkoss.zkplus.databind.Binding
public class Binding
A Data Binding that associate component+attr to an bean expression.
Method Summary | |
---|---|
java.util.Set |
getAfterWhenEvents()
Get save-after event expression. |
java.util.Map |
getArgs()
Get generic arguments. |
java.lang.String |
getAttr()
Get component attribute name. |
DataBinder |
getBinder()
Gets the associated Data Binder of this Binding. |
Component |
getComponent()
Gets the associated Component of this Binding. |
TypeConverter |
getConverter()
Get the TypeConverter . |
java.lang.String |
getExpression()
Get bean expression, e.g. a.b.c. |
java.util.LinkedHashSet |
getLoadAfterEvents()
Get load-after event expression set. |
java.util.LinkedHashSet |
getLoadWhenEvents()
Get load-when event expression set. |
java.util.Set |
getSaveWhenEvents()
Get save-when event expression. |
boolean |
isLoadable()
Whether the binding is loadable. |
boolean |
isSavable()
Whether the binding is savable. |
void |
loadAttribute(Component comp)
load bean value into the attribute of the specified component. |
void |
loadAttribute(Component comp,
java.lang.Object bean)
load bean value into the attribute of the specified component. |
void |
saveAttribute(Component comp)
save into bean value from the attribute of the specified component. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public DataBinder getBinder()
public Component getComponent()
public java.lang.String getAttr()
public java.util.Map getArgs()
public java.lang.String getExpression()
public java.util.Set getSaveWhenEvents()
public java.util.Set getAfterWhenEvents()
public java.util.LinkedHashSet getLoadWhenEvents()
public java.util.LinkedHashSet getLoadAfterEvents()
public boolean isLoadable()
public boolean isSavable()
public TypeConverter getConverter()
TypeConverter
.
public void loadAttribute(Component comp)
comp
- the component.public void loadAttribute(Component comp, java.lang.Object bean)
comp
- the component.bean
- the bean value.public void saveAttribute(Component comp)
comp
- the component.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 |